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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edi, [eax*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor esi, edi
shl esi, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
xor ebp, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
push eax
mov edi, ebx
call fcn.0040e940
mov ecx, ebp
mov eax, ebp
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x411fbb
add ecx, 0x30
jmp 0x411fbe
add ecx, 0x37
mov dl, cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov byte [esp + 0x24], dl
cmp ecx, 0xa
jae 0x411fd6
add ecx, 0x30
jmp 0x411fd9
add ecx, 0x37
mov byte [esp + 0x25], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x411fef
add ecx, 0x30
jmp 0x411ff2
add ecx, 0x37
mov byte [esp + 0x26], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x412008
add ecx, 0x30
jmp 0x41200b
add ecx, 0x37
mov byte [esp + 0x27], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x412021
add ecx, 0x30
jmp 0x412024
add ecx, 0x37
mov byte [esp + 0x28], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x41203a
add ecx, 0x30
jmp 0x41203d
add ecx, 0x37
mov byte [esp + 0x29], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x412053
add ecx, 0x30
jmp 0x412056
add ecx, 0x37
and eax, 0xf
mov byte [esp + 0x2a], cl
cmp eax, 0xa
jae 0x412067
add eax, 0x30
jmp 0x41206a
add eax, 0x37
xor esi, esi
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
test dl, dl
je 0x412088
lea esp, [esp]
inc esi
cmp byte [esp + esi + 0x24], 0
jne 0x412080
mov edi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, edi
cmp esi, ecx
jbe 0x412108
lea eax, [edi + esi]
mov edx, eax
shr edx, 1
lea ebp, [edx + eax + 0x10]
and ebp, 0xfffffff0
dec ebp
cmp ebp, edi
jb 0x4121ef
cmp ebp, 0x40000000
jae 0x4121ef
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004259f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4121da
lea eax, [edi + edi + 2]
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi]
push eax
push ecx
push ebx
call fcn.00429520
mov edx, dword [edi]
add esp, 0xc
push edx
call fcn.004259b6
mov dword [edi], ebx
mov dword [edi + 8], ebp
mov ebp, dword [esp + 0x14]
add esp, 4
mov ebx, edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea ecx, [ecx + eax*2]
xor eax, eax
test esi, esi
je 0x412124
movzx edx, byte [esp + eax + 0x24]
mov word [ecx + eax*2], dx
inc eax
cmp eax, esi
jb 0x412116
xor eax, eax
mov word [ecx + esi*2], ax
add dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
jne 0x41213d
mov eax, 1
add ebp, eax
mov eax, dword [ebx]
push eax
mov dword [esp + 0x14], ebp
call fcn.004134a0
test al, al
je 0x41215c
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4121ae
cmp byte [0x4395bd], 0
mov eax, dword [ebx]
jne 0x41218f
push eax
lea esi, [esp + 0x1c]
call fcn.0040ef80
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x18]
push ecx
mov esi, eax
call fcn.004259b6
add esp, 4
test esi, esi
jmp 0x41219a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x412206
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x4121ae
cmp eax, 0xb7
jne 0x4121c0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x64
jb 0x411f97
mov ecx, dword [ebx]
xor edx, edx
mov dword [ebx + 4], 0
mov word [ecx], dx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
push 0x433900
lea edx, [esp + 0x40]
xor al, al
push edx
mov byte [esp + 0x44], al
call fcn.0042a55f
push 0x4338cc
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x13329ad
call fcn.0042a55f
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 8