Function at 0x40b9a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f90
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x44e008]
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 dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], 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 ecx, eax
mov dword [ebp - 0x28], 0
xor ecx, edi
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x2c]
mov edx, ecx
shr edx, 4
mov byte [ebp - 0x18], 0
mov eax, dword [edi]
mov dword [edi + 4], 0
mov byte [eax], 0
mov eax, ecx
and eax, 0xf
mov ecx, edx
cmp eax, 0xa
sbb bl, bl
and ecx, 0xf
and bl, 0xf9
shr edx, 4
add bl, 0x37
add bl, al
cmp ecx, 0xa
mov byte [ebp - 0x20], bl
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
add cl, 0x37
and al, 0xf9
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
add cl, 0x37
and al, 0xf9
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
xor esi, esi
and al, 0xf9
add al, 0x37
add al, dl
mov byte [ebp - 0x19], al
test bl, bl
je 0x40bad8
nop word [eax + eax]
inc esi
cmp byte [ebp + esi - 0x20], 0
jne 0x40bad0
push esi
mov ecx, edi
call fcn.00408c00
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x20]
add ecx, dword [edi]
mov al, byte [edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea edx, [edx + 1]
test al, al
jne 0x40bae8
add dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp - 0x30]
add eax, 2
mov ecx, 1
cmove eax, ecx
xor esi, esi
add dword [ebp - 0x24], eax
cmp word [ebx], si
je 0x40bb20
inc esi
cmp word [ebx + esi*2], 0
jne 0x40bb18
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043424b
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
lea esi, [esi*2 + 2]
mov dword [ebp - 0x3c], eax
push esi
push ebx
push eax
call fcn.00437af0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push dword [edi]
call fcn.00409350
lea ecx, [ebp - 0x80]
call fcn.0040ae10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
mov edi, dword [ebp - 0x3c]
push 0
push edi
call fcn.0040c050
mov byte [ebp - 4], 0
mov bl, al
push dword [ebp - 0x58]
call fcn.004340fc
add esp, 4
test bl, bl
je 0x40bba4
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40bbf1
cmp byte [0x44f341], 0
jne 0x40bbd2
mov edx, edi
lea ecx, [ebp - 0x48]
call fcn.00409550
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x48]
mov esi, eax
call fcn.004340fc
add esp, 4
test esi, esi
jmp 0x40bbdd
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bc31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x40bbf1
cmp eax, 0xb7
jne 0x40bc15
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.004340fc
mov eax, dword [ebp - 0x28]
add esp, 4
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x64
jae 0x40bc1e
mov ecx, dword [ebp - 0x24]
jmp 0x40ba02
push edi
call fcn.004340fc
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], 0
mov eax, dword [eax]
mov byte [eax], 0
xor al, al
jmp 0x40bc3c
push edi
call fcn.004340fc
add esp, 4
mov al, 1
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.004340eb
mov esp, ebp
pop ebp
ret 8