Function at 0x4052c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x138
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call fcn.004047a0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0x3627c863
lea esi, [ebp - 0x129]
mov ebx, 0x1c4fe0d5
jmp 0x405320
mov dword [ebp - 0x134], 0x563a37cc
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x134]
cmp eax, 0xa3fde1d7
jg 0x405340
cmp eax, 0x82259493
jne 0x405320
jmp 0x405311
cmp eax, 0xbe769e73
jg 0x405370
cmp eax, 0xa3fde1d8
jne 0x405320
cmp dword [ebp - 0x130], 0
sete byte [ebp - 0xd]
mov dword [ebp - 0x134], 0xdaa34e9c
jmp 0x405320
cmp eax, 0xcca6e1de
jg 0x405383
cmp eax, 0xbe769e74
jne 0x405320
jmp 0x4055ab
cmp eax, 0xdaa34e9b
jg 0x40539d
cmp eax, 0xcca6e1df
jne 0x405320
mov dword [ebp - 0x134], 0xa3fde1d8
jmp 0x405320
cmp eax, 0xf89107de
jg 0x4053cb
cmp eax, 0xdaa34e9c
jne 0x405320
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x82259493
jne 0x4053c0
mov eax, 0xbe769e74
mov dword [ebp - 0x134], eax
jmp 0x405320
cmp eax, 0x3627c862
jg 0x4054a9
cmp eax, 0xf89107df
jne 0x405320
mov dword [esp], esi
mov dword [esp + 8], 0x105
mov dword [esp + 4], 0
call fcn.00403c80
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00403c80
mov dword [esp], esi
mov dword [esp + 4], 0x105
call fcn.004049b0
mov dword [esp], esi
call fcn.004047a0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00404250
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov edi, 0xa41cd2ae
add edx, edi
sub edx, ecx
add edx, 0x5be32d52
add ecx, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00404250
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esp, 8
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], 0x563a37cc
jmp 0x405320
cmp eax, 0x59466d55
je 0x405582
cmp eax, 0x563a37cc
jne 0x405591
mov dword [esp], esi
mov dword [esp + 8], 0x105
mov dword [esp + 4], 0
call fcn.00403c80
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00403c80
mov dword [esp], esi
mov dword [esp + 4], 0x105
call fcn.004049b0
mov dword [esp], esi
call fcn.004047a0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00404250
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, ebx
sub edx, ecx
add edx, 0xe3b01f2b
add ecx, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00404250
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esp, 8
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], 0x59466d55
jmp 0x405320
mov dword [ebp - 0x134], 0x3627c863
jmp 0x405320
cmp eax, 0x3627c863
jne 0x405320
mov dword [ebp - 0x134], 0xa3fde1d8
jmp 0x405320
add esp, 0x138
pop esi
pop edi
pop ebx
pop ebp
ret