Function at 0x4309a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46426a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [0x4a6948], 0
jne 0x430c9b
lea eax, [ebp - 0x30]
push eax
call fcn.0042e4c0
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0
push 0x468d44
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00404660
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00401700
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x468764
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00404660
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 3
push 0x4a6954
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00404570
add esp, 0xc
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404940
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00401700
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00430fa0
add esp, 8
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00401700
cmp dword [ebp + 8], 0
je 0x430af8
push 0x4a6930
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4a6930
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 6
push 0x20
call fcn.004554b0
add esp, 4
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x44], 0
je 0x430b3b
mov ecx, dword [ebp - 0x44]
call fcn.004307f0
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
jmp 0x430b45
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
mov dword [0x4a6948], ecx
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.00418920
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x28]
push edx
push 0x1021
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x4a6948]
mov edx, dword [ecx]
mov ecx, dword [0x4a6948]
call dword [edx + 0x20]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x430be9
mov eax, dword [0x4a6948]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
je 0x430bd5
push 1
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
call dword [eax + 4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
jmp 0x430bdf
mov dword [ebp - 0xcc], 0
mov dword [0x4a6948], 0
cmp dword [0x4a694c], 0
jne 0x430c21
push 0
push 0
push 0
push 0
push 0x468e24
call fcn.0045a2f0
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [0x4a694c], edx
mov ecx, dword [0x4a694c]
call fcn.00431e30
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], 0x46d664
lea ecx, [ebp - 0x18]
call fcn.00401700
jmp 0x430c74
mov dword [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x430c8c
push 0x4a6930
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401700
xor eax, eax
cmp dword [0x4a6948], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret