Function at 0x40b8f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440988
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44e130]
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 dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], 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 bl, byte [ebp + 0xc]
mov esi, dword [ebp - 0x38]
mov edx, eax
xor edx, edi
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], 0
mov eax, dword [esi]
mov dword [esi + 4], 0
mov byte [eax], 0
test bl, bl
je 0x40ba63
mov ecx, edx
mov eax, edx
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40b98c
add ecx, 0x30
jmp 0x40b98f
add ecx, 0x37
mov byte [ebp - 0x20], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40b9a4
add ecx, 0x30
jmp 0x40b9a7
add ecx, 0x37
mov byte [ebp - 0x1f], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40b9bc
add ecx, 0x30
jmp 0x40b9bf
add ecx, 0x37
mov byte [ebp - 0x1e], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40b9d4
add ecx, 0x30
jmp 0x40b9d7
add ecx, 0x37
mov byte [ebp - 0x1d], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40b9ec
add ecx, 0x30
jmp 0x40b9ef
add ecx, 0x37
mov byte [ebp - 0x1c], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40ba04
add ecx, 0x30
jmp 0x40ba07
add ecx, 0x37
mov byte [ebp - 0x1b], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x40ba1c
add ecx, 0x30
jmp 0x40ba1f
add ecx, 0x37
and eax, 0xf
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
jae 0x40ba2f
add eax, 0x30
jmp 0x40ba32
add eax, 0x37
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], 0
test edi, edi
je 0x40ba44
mov ecx, esi
call fcn.00409330
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00409210
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
mov ecx, 1
cmove eax, ecx
add dword [ebp - 0x24], eax
mov bl, 1
test edi, edi
je 0x40ba75
push str..tmp
mov ecx, esi
call fcn.00409210
push dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
call fcn.00408f10
push dword [esi]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00409290
push dword [ebp - 0x30]
call fcn.0040c620
test al, al
je 0x40baaa
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40bb14
test edi, edi
je 0x40babe
push 0
push dword [ebp - 0x30]
mov ecx, edi
call fcn.0040d1a0
test al, al
jmp 0x40bb00
cmp byte [0x451730], 0
jne 0x40baf3
push dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push eax
call fcn.00409f00
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x4c]
mov esi, eax
call fcn.00435199
add esp, 4
test esi, esi
jne 0x40bb55
mov esi, dword [ebp - 0x38]
jmp 0x40bb02
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bb55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x40bb14
cmp eax, 0xb7
jne 0x40bb3a
push dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00435199
mov ecx, dword [ebp - 0x34]
inc ecx
add esp, 4
mov dword [ebp - 0x34], ecx
cmp ecx, 0x64
jae 0x40bb45
mov edx, dword [ebp - 0x24]
jmp 0x40b964
push dword [ebp - 0x30]
call fcn.00435199
add esp, 4
mov eax, dword [esi]
mov dword [esi + 4], 0
mov byte [eax], 0
xor al, al
jmp 0x40bb62
push dword [ebp - 0x30]
call fcn.00435199
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.004344b1
mov esp, ebp
pop ebp
ret 0x10