Function at 0x40bb40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4455a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x452094]
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 ebx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
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]
mov edx, eax
xor edx, edi
xor edi, edi
mov dword [ebp - 0x24], edx
cmp byte [ebp + 0xc], 0
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov byte [eax], 0
je 0x40bc95
mov ecx, edx
mov esi, dword [ebp - 0x34]
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
mov byte [ebp - 0x18], 0
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
and al, 0xf9
add al, 0x37
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 esi, esi
je 0x40bc74
mov ecx, ebx
call fcn.00409580
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004093f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
mov ecx, 1
cmove eax, ecx
add dword [ebp - 0x24], eax
jmp 0x40bc98
mov esi, dword [ebp - 0x34]
mov byte [ebp + 0xc], 1
test esi, esi
je 0x40bcac
push str..tmp
mov ecx, ebx
call fcn.004093f0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.00409090
push dword [ebx]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00409470
push dword [ebp - 0x30]
call fcn.0040c850
test al, al
je 0x40bce1
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40bd46
test esi, esi
je 0x40bcf5
push 0
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0040d330
test al, al
jmp 0x40bd32
cmp byte [0x454e50], 0
jne 0x40bd25
push dword [ebp - 0x30]
lea eax, [ebp - 0x44]
push eax
call fcn.0040a1b0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x44]
mov esi, eax
call fcn.00437535
add esp, 4
test esi, esi
jmp 0x40bd32
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bd81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x40bd46
cmp eax, 0xb7
jne 0x40bd66
push dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00437535
inc edi
add esp, 4
cmp edi, 0x64
jae 0x40bd71
mov edx, dword [ebp - 0x24]
jmp 0x40bba3
push dword [ebp - 0x30]
call fcn.00437535
add esp, 4
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov byte [eax], 0
xor al, al
jmp 0x40bd8e
push dword [ebp - 0x30]
call fcn.00437535
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.00437305
mov esp, ebp
pop ebp
ret 0x10