Function at 0x413fb0
Capabilities:
Check for time delay via gettickcount
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d76a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea esi, [eax*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, esi
shl edi, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, edi
xor esi, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
mov ecx, dword [ebp - 0x68]
xor edi, edi
cmp word [ecx], si
je 0x414027
lea ecx, [ecx]
inc edi
cmp word [ecx + edi*2], si
jne 0x414020
cmp edi, dword [ebx + 8]
jbe 0x41405f
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4d50
mov esi, eax
mov eax, dword [ebx]
add esp, 4
push eax
call fcn.004a4d8a
mov ecx, dword [ebp - 0x68]
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 8], edi
xor esi, esi
mov eax, dword [ebx]
lea edx, [edi + edi + 2]
push edx
push ecx
push eax
mov dword [ebx + 4], edi
call fcn.005a9de0
mov eax, dword [ebp - 0x60]
mov ecx, eax
and ecx, 0xf
add esp, 0xc
shr eax, 4
cmp ecx, 0xa
jae 0x414088
add ecx, 0x30
jmp 0x41408b
add ecx, 0x37
mov word [ebp - 0x34], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x4140a1
add ecx, 0x30
jmp 0x4140a4
add ecx, 0x37
mov word [ebp - 0x32], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x4140ba
add ecx, 0x30
jmp 0x4140bd
add ecx, 0x37
mov word [ebp - 0x30], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x4140d3
add ecx, 0x30
jmp 0x4140d6
add ecx, 0x37
mov word [ebp - 0x2e], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x4140ec
add ecx, 0x30
jmp 0x4140ef
add ecx, 0x37
mov word [ebp - 0x2c], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x414105
add ecx, 0x30
jmp 0x414108
add ecx, 0x37
mov word [ebp - 0x2a], cx
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x41411e
add ecx, 0x30
jmp 0x414121
add ecx, 0x37
and eax, 0xf
mov word [ebp - 0x28], cx
cmp eax, 0xa
jae 0x414132
add eax, 0x30
jmp 0x414135
add eax, 0x37
mov word [ebp - 0x26], ax
xor eax, eax
mov word [ebp - 0x24], ax
cmp dword [ebp - 0x58], esi
je 0x4141cb
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
jne 0x4141b3
mov ecx, eax
shr ecx, 1
lea edi, [ecx + eax + 0x10]
and edi, 0xfffffff0
dec edi
cmp edi, eax
jb 0x41446b
cmp edi, 0x40000000
jae 0x41446b
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4d50
mov ecx, dword [ebx]
mov esi, eax
mov eax, dword [ebx + 4]
inc eax
add esp, 4
add eax, eax
push eax
push ecx
push esi
call fcn.005a9de0
mov eax, dword [ebx]
add esp, 0xc
push eax
call fcn.004a4d8a
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 8], edi
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, 0x2e
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [ebx + 4], eax
xor edi, edi
cmp word [ebp - 0x34], si
je 0x4141db
inc edi
cmp word [ebp + edi*2 - 0x34], si
jne 0x4141d3
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
cmp edi, ecx
jbe 0x414253
lea ecx, [eax + edi]
mov edx, ecx
shr edx, 1
lea esi, [edx + ecx + 0x10]
and esi, 0xfffffff0
dec esi
cmp esi, eax
jb 0x414480
cmp esi, 0x40000000
jae 0x414480
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4d50
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [ebx + 4]
inc eax
add esp, 4
add eax, eax
push eax
push edx
push ecx
mov dword [ebp - 0x5c], ecx
call fcn.005a9de0
mov eax, dword [ebx]
add esp, 0xc
push eax
call fcn.004a4d8a
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov dword [ebx + 8], esi
mov dword [ebx], ecx
xor esi, esi
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
lea eax, [eax + edx*2]
lea ecx, [edi + edi + 2]
push ecx
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.005a9de0
add dword [ebx + 4], edi
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
jne 0x414280
mov eax, 1
add dword [ebp - 0x60], eax
cmp dword [ebp - 0x58], esi
je 0x414332
lea esp, [esp]
inc esi
cmp word [esi*2 + str..tmp], 0
jne 0x414290
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, eax
cmp esi, ecx
jbe 0x414312
lea ecx, [eax + esi]
mov edx, ecx
shr edx, 1
lea edi, [edx + ecx + 0x10]
and edi, 0xfffffff0
dec edi
cmp edi, eax
jb 0x414495
cmp edi, 0x40000000
jae 0x414495
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4d50
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [ebx + 4]
inc eax
add esp, 4
add eax, eax
push eax
push ecx
push edx
mov dword [ebp - 0x5c], edx
call fcn.005a9de0
mov eax, dword [ebx]
add esp, 0xc
push eax
call fcn.004a4d8a
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov dword [ebx], ecx
mov dword [ebx + 8], edi
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
lea ecx, [esi + esi + 2]
push ecx
lea eax, [eax + edx*2]
push str..tmp
push eax
call fcn.005a9de0
add dword [ebx + 4], esi
add esp, 0xc
xor esi, esi
mov edi, dword [ebx]
push 8
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x28], 0
mov dword [ebp - 0x24], esi
call fcn.004a4d50
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 3
add esp, 4
mov word [eax], dx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.00412710
mov byte [ebp - 0x51], al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
push eax
call fcn.004a4d8a
add esp, 4
cmp byte [ebp - 0x51], 0
je 0x4143ac
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x414433
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebx]
cmp ecx, esi
je 0x4143d4
push 1
push 0x40000000
mov edi, 1
mov esi, ecx
call fcn.0040f720
test al, al
jne 0x4144aa
xor esi, esi
jmp 0x414421
cmp byte [0x6470a0], 0
jne 0x414411
lea ecx, [ebp - 0x74]
push ecx
mov ebx, eax
call fcn.0040f640
mov eax, dword [eax]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x74]
push edx
mov esi, eax
call fcn.004a4d8a
add esp, 4
test esi, esi
jne 0x4144aa
mov ebx, dword [ebp - 0x50]
jmp 0x414421
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4144aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x414433
cmp eax, 0xb7
jne 0x414443
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp eax, 0x64
jb 0x414013
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], esi
mov word [eax], cx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret
push 0x62ce6c
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x13329ad
call fcn.005afc95
push 0x62ce6c
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x13329ad
call fcn.005afc95
push 0x62ce6c
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0x13329ad
call fcn.005afc95
mov al, 1
jmp 0x41444f