Function at 0x410c84
Capabilities:
Check for time delay via gettickcount
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x7f
pop ecx
xor eax, eax
mov byte [ebp - 0x210], 0
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [0x42a1ec]
push ebx
lea eax, [ebp - 0x210]
push eax
call edi
push 0x42a3b0
lea eax, [ebp - 0x210]
push eax
call dword [0x42a1f0]
cmp byte [ebp + 0xc], 0
je 0x410da4
mov edi, dword [0x42a214]
push ebx
call edi
mov esi, eax
add esi, ebx
mov al, byte [esi]
cmp al, 0x5c
je 0x410cf7
cmp al, 0x2f
jne 0x410cf8
jmp 0x410cf7
cmp al, 0x2f
je 0x410cfe
cmp esi, ebx
jbe 0x410cfe
dec esi
mov al, byte [esi]
cmp al, 0x5c
jne 0x410cef
inc esi
push 0x42a440
push esi
call fcn.00413761
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x410d1e
inc ebx
push ebx
call edi
cmp eax, 5
jl 0x410d1e
push ebx
jmp 0x410d1f
push esi
lea eax, [ebp - 0x210]
push eax
call dword [0x42a1f0]
lea eax, [ebp - 0x210]
push eax
call edi
lea esi, [ebp + eax - 0x210]
lea eax, [esi - 1]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x410d4b
cmp cl, 0x2f
jne 0x410d50
mov esi, eax
mov byte [esi], 0
mov edi, dword [0x42a1ec]
call dword [0x42a20c]
push eax
call fcn.00421d78
pop ecx
call fcn.00421d82
push 2
cdq
pop ecx
idiv ecx
test edx, edx
jg 0x410de9
cmp byte [0x44f780], 0
jne 0x410dd3
cmp byte [0x44f781], 0
je 0x410de9
mov eax, dword [0x44f790]
mov dword [ebp + 8], eax
mov eax, dword [0x44f788]
mov dword [ebp - 8], 0x44f77c
mov dword [ebp - 4], eax
mov byte [ebp + 0xf], 0
jmp 0x410e28
mov esi, dword [0x42a214]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp + eax - 0x210]
push eax
call fcn.004079cf
pop ecx
lea eax, [ebp - 0x210]
push eax
call esi
lea esi, [ebp + eax - 0x210]
jmp 0x410d56
mov eax, dword [0x44f78c]
mov dword [ebp + 8], eax
mov eax, dword [0x44f784]
mov dword [ebp - 8], 0x44f778
jmp 0x410d98
cmp byte [0x44f768], 0
je 0x410e00
mov eax, dword [0x44f76c]
mov dword [ebp - 8], 0x44f760
jmp 0x410e19
cmp byte [0x44f769], 0
je 0x410f44
mov eax, dword [0x44f770]
mov dword [ebp - 8], 0x44f764
mov dword [ebp - 4], eax
mov eax, dword [0x44f774]
mov dword [ebp + 8], eax
mov byte [ebp + 0xf], 1
cmp dword [ebp - 4], 0
je 0x410f44
mov eax, dword [ebp - 8]
inc dword [eax]
cmp byte [ebp + 0xf], 0
je 0x410e78
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 3]
add eax, ecx
movzx ecx, byte [esi - 1]
add eax, ecx
push 6
cdq
pop ecx
idiv ecx
dec edx
je 0x410e71
dec edx
je 0x410e6a
dec edx
je 0x410e63
push 0x42a40c
jmp 0x410e7d
push 0x42a5e8
jmp 0x410e7d
push 0x42a5e0
jmp 0x410e7d
push 0x42a5d8
jmp 0x410e7d
push 0x42a3f0
push esi
call edi
and dword [ebp - 0xc], 0
mov esi, 0x80
cmp byte [0x448064], 0
jne 0x410ec1
lea eax, [ebp - 0x210]
push eax
call fcn.00413a97
test eax, eax
pop ecx
je 0x410ec1
cmp byte [ebp + 0xf], 0
je 0x410f3f
lea eax, [ebp - 0x210]
push eax
call fcn.0041382b
cmp eax, 0x61a80
pop ecx
jae 0x410f3f
and dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [0x42a10c]
push 0
push esi
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [0x42a1d8]
mov edi, eax
cmp edi, 0xffffffff
je 0x410f2b
push 2
push 0
push 0
push edi
call dword [0x42a1d0]
test ebx, ebx
jbe 0x410f2b
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, ebx
add eax, dword [ebp - 4]
push eax
push edi
call dword [0x42a1d4]
test eax, eax
je 0x410f2b
sub ebx, dword [ebp - 0x10]
jne 0x410f09
push edi
call dword [0x42a1e0]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 5
jl 0x410e89
mov eax, dword [ebp - 8]
dec dword [eax]
pop edi
pop esi
pop ebx
leave
ret