Function at 0x403990
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
mov eax, dword [0x44700c]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xfc]
call fcn.0040ada0
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0x114]
call fcn.0040a090
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xf0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0040ade0
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0xd4]
call fcn.0040a090
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xf0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0040ae20
mov ecx, eax
call fcn.004091c0
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.0040ae60
test al, al
je 0x403aa1
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xf0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0040ae70
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0xd4]
call fcn.0040a000
lea ecx, [esp + 0xd0]
call fcn.0040a040
lea ecx, [esp + 0x110]
call fcn.0040a040
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xf0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0040b0d0
mov ecx, eax
call fcn.004091c0
mov dword [esp + 0x20], eax
mov ecx, 0x44787c
lea eax, [esp + 0x30]
push eax
call fcn.00409dc0
mov ecx, 0x44787c
mov edx, dword [eax]
lea eax, [esp + 0x34]
push eax
call fcn.00409df0
push ecx
push edx
lea ecx, [esp + 0x58]
push dword [eax]
call fcn.0040afb0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.0040b090
mov ecx, eax
call fcn.004091c0
mov edi, eax
mov ecx, 0x44787c
lea eax, [esp + 0x28]
push eax
call fcn.00409dc0
mov ecx, 0x44787c
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.00409df0
push ecx
push edx
lea ecx, [esp + 0x40]
push dword [eax]
call fcn.0040afb0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xb0]
push dword [esp + 0x10]
mov byte [esp + 0x1c], 0
mov esi, eax
push dword [esp + 0x1c]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0040aeb0
mov ecx, eax
call fcn.00409060
push eax
lea edx, [ebp + 8]
lea ecx, [esp + 0x9c]
call fcn.0040af20
add esp, 4
lea ecx, [esp + 0x80]
mov edx, eax
push esi
call fcn.0040b070
add esp, 4
lea ecx, [esp + 0x68]
mov edx, eax
push edi
call fcn.0040af80
add esp, 4
push dword [esp + 0x1c]
mov edx, eax
lea ecx, [esp + 0x114]
call fcn.0040b070
add esp, 4
lea ecx, [esp + 0x140]
mov edx, eax
push dword [esp + 0x20]
call fcn.0040af80
add esp, 4
lea ecx, [esp + 0x110]
call fcn.0040a040
lea ecx, [esp + 0x68]
call fcn.0040a040
lea ecx, [esp + 0x80]
call fcn.0040a040
lea ecx, [esp + 0x98]
call fcn.0040a040
lea ecx, [esp + 0x38]
call fcn.0040a040
lea ecx, [esp + 0x50]
call fcn.0040a040
lea eax, [esp + 0x2c]
mov ecx, 0x44787c
push eax
call fcn.00409dc0
mov ecx, 0x44787c
mov edx, dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.00409df0
push ecx
push edx
lea ecx, [esp + 0x40]
push dword [eax]
call fcn.0040afb0
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xb0]
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
mov esi, eax
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040aeb0
mov ecx, eax
call fcn.00409060
push eax
lea edx, [ebp + 8]
lea ecx, [esp + 0x54]
call fcn.0040af20
add esp, 4
lea ecx, [esp + 0x128]
mov edx, eax
push esi
call fcn.0040b070
add esp, 4
lea ecx, [esp + 0x50]
call fcn.0040a040
lea ecx, [esp + 0x38]
call fcn.0040a040
push ecx
lea ecx, [esp + 0x15c]
call fcn.00403f40
push ecx
lea ecx, [esp + 0x15c]
call fcn.00409d50
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040b110
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0x114]
call fcn.0040a090
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xd4]
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040b150
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0xf4]
call fcn.0040a090
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040b190
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0xf4]
call fcn.00409ff0
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040b1d0
mov ecx, eax
call fcn.004091c0
lea edx, [esp + 0xf0]
mov ecx, eax
call fcn.0040b210
test al, al
je 0x403e1d
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xd0]
push dword [esp + 0x20]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
call fcn.0040b220
mov ecx, eax
call fcn.004091c0
push eax
lea ecx, [esp + 0x114]
call fcn.0040a000
lea ecx, [esp + 0xf0]
call fcn.0040a040
lea ecx, [esp + 0x110]
call fcn.0040a040
lea ecx, [esp + 0x128]
call fcn.00409ec0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
push ecx
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x164]
call fcn.00409cf0
push pe_nt_image_headers32
call fcn.0043bd2b
add esp, 4
lea ecx, [esp + 0x158]
mov esi, eax
call fcn.00409d10
test al, al
je 0x403ec4
mov edi, dword [esp + 0x24]
call fcn.0040b260
push 8
push 4
push esi
push edi
call eax
cmp eax, 0xffffffff
je 0x403eae
test eax, eax
jle 0x403ec4
push 0
push 4
push esi
lea ecx, [esp + 0x164]
mov byte [esi + eax], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
jmp 0x403e80
lea ecx, [esp + 0x128]
call fcn.00409ec0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [esp + 0x158]
call fcn.00409cc0
lea ecx, [esp + 0x158]
call fcn.00403f20
lea ecx, [esp + 0x128]
call fcn.0040a040
lea ecx, [esp + 0x140]
call fcn.0040a040
lea ecx, [ebp + 8]
call fcn.0040a040
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.0043ba89
mov esp, ebp
pop ebp
ret