Function at 0x46e970
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5057d9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00417420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00417420
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed40
add esp, 8
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041e3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00416630
push 0x51c34e
lea eax, [ebp - 0x1c]
push eax
call fcn.00422270
movzx ecx, al
test ecx, ecx
je 0x46ea4c
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x46ed21
push 0x5771e4
lea ecx, [ebp - 0x1c]
call fcn.00422350
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041e3d0
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00415d40
push eax
call fcn.0046dc30
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x46eafa
push 0
lea ecx, [ebp - 0x18]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x46eaad
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x46eaab
push 0x51cef4
lea ecx, [ebp - 0x1c]
call fcn.0041d470
jmp 0x46eaf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
push 0x51c34f
lea ecx, [ebp - 0x1c]
call fcn.004199b0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x46ed21
jmp 0x46eb0f
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x46eb0f
push 0x51cef8
lea ecx, [ebp - 0x1c]
call fcn.0041d470
push 0x51c357
lea ecx, [ebp - 0x14]
call fcn.0041ad50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
push 0x51cefc
lea ecx, [ebp - 0x14]
call fcn.0041d470
push 0x51cf00
lea ecx, [ebp - 0x14]
call fcn.0041d470
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00415d40
push eax
call fcn.0046dc30
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x46eb80
push 0
lea ecx, [ebp - 0x14]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x46eb80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00416630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x46ed21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret