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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4796bd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c6180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
shl edi, 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor ebx, edi
shl ebx, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
mov edx, eax
xor edx, ebx
mov dword [esi + 4], 0
mov ebx, dword [ebp - 0x38]
xor edi, edi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x28], edx
mov byte [ecx], 0
mov dword [ebp - 0x24], edi
je 0x416e05
mov ecx, edx
mov byte [ebp - 0x18], 0
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
add cl, 0x37
and al, 0xf9
add al, cl
mov ecx, edx
mov byte [ebp - 0x20], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
add cl, 0x37
and al, 0xf9
add al, cl
mov ecx, edx
mov byte [ebp - 0x1f], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov ecx, edx
mov byte [ebp - 0x1e], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov ecx, edx
mov byte [ebp - 0x1d], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov ecx, edx
mov byte [ebp - 0x1c], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov ecx, edx
mov byte [ebp - 0x1b], al
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
cmp edx, 0xa
mov byte [ebp - 0x1a], al
sbb al, al
and al, 0xf9
add al, 0x37
add al, dl
mov byte [ebp - 0x19], al
test ebx, ebx
je 0x416de6
mov ecx, esi
call fcn.00414740
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00414550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
mov ecx, 1
cmove eax, ecx
add dword [ebp - 0x28], eax
test ebx, ebx
je 0x416e15
push str..tmp
mov ecx, esi
call fcn.00414550
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
call fcn.00414200
push dword [esi]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004145d0
push dword [ebp - 0x34]
call fcn.004179c0
test al, al
je 0x416e4a
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x416eb4
test ebx, ebx
je 0x416e5e
push 0
push dword [ebp - 0x34]
mov ecx, ebx
call fcn.00418460
test al, al
jmp 0x416ea0
cmp byte [0x4c9a14], 0
jne 0x416e93
push dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push eax
call fcn.00415360
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x48]
mov edi, eax
call fcn.0045ba8c
add esp, 4
test edi, edi
jne 0x416efe
mov edi, dword [ebp - 0x24]
jmp 0x416ea2
push 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x416efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x416eb4
cmp eax, 0xb7
jne 0x416ee3
push dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0045ba8c
inc edi
add esp, 4
mov dword [ebp - 0x24], edi
cmp edi, 0x64
jae 0x416eee
mov eax, dword [esi]
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], 0
mov byte [eax], 0
jmp 0x416d2d
push dword [ebp - 0x34]
call fcn.0045ba8c
add esp, 4
mov eax, dword [esi]
mov dword [esi + 4], 0
mov byte [eax], 0
xor al, al
jmp 0x416f0b
push dword [ebp - 0x34]
call fcn.0045ba8c
mov al, 1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b84f
mov esp, ebp
pop ebp
ret 0x10