Function at 0x403990
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x44500c]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
push edi
mov byte [esp + 0xc], 0
push dword [esp + 0xc]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x10], 0
push dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xcc]
call fcn.0040a4b0
mov ecx, eax
call fcn.004083d0
mov dword [esp + 0x18], eax
mov ecx, 0x44587c
lea eax, [esp + 0x28]
push eax
call fcn.00409280
mov ecx, 0x44587c
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.004092b0
push ecx
push edx
lea ecx, [esp + 0x50]
push dword [eax]
call fcn.0040a390
mov byte [esp + 8], 0
lea ecx, [esp + 0xd0]
push dword [esp + 8]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.0040a470
mov ecx, eax
call fcn.004083d0
mov edi, eax
mov ecx, 0x44587c
lea eax, [esp + 0x20]
push eax
call fcn.00409280
mov ecx, 0x44587c
mov edx, dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.004092b0
push ecx
push edx
lea ecx, [esp + 0x38]
push dword [eax]
call fcn.0040a390
mov byte [esp + 8], 0
lea ecx, [esp + 0xe0]
push dword [esp + 8]
mov byte [esp + 0x14], 0
mov esi, eax
push dword [esp + 0x14]
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
call fcn.0040a290
mov ecx, eax
call fcn.00408570
push eax
lea edx, [ebp + 8]
lea ecx, [esp + 0xac]
call fcn.0040a300
add esp, 4
lea ecx, [esp + 0x90]
mov edx, eax
push esi
call fcn.0040a450
add esp, 4
lea ecx, [esp + 0x78]
mov edx, eax
push edi
call fcn.0040a360
add esp, 4
push dword [esp + 0x14]
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.0040a450
add esp, 4
lea ecx, [esp + 0x120]
mov edx, eax
push dword [esp + 0x18]
call fcn.0040a360
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00409500
lea ecx, [esp + 0x78]
call fcn.00409500
lea ecx, [esp + 0x90]
call fcn.00409500
lea ecx, [esp + 0xa8]
call fcn.00409500
lea ecx, [esp + 0x30]
call fcn.00409500
lea ecx, [esp + 0x48]
call fcn.00409500
lea eax, [esp + 0x24]
mov ecx, 0x44587c
push eax
call fcn.00409280
mov ecx, 0x44587c
mov edx, dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.004092b0
push ecx
push edx
lea ecx, [esp + 0x38]
push dword [eax]
call fcn.0040a390
mov byte [esp + 0x18], 0
lea ecx, [esp + 0xe0]
push dword [esp + 0x18]
mov byte [esp + 0x18], 0
mov esi, eax
push dword [esp + 0x18]
mov byte [esp + 0x10], 0
push dword [esp + 0x10]
call fcn.0040a290
mov ecx, eax
call fcn.00408570
push eax
lea edx, [ebp + 8]
lea ecx, [esp + 0x4c]
call fcn.0040a300
add esp, 4
lea ecx, [esp + 0x108]
mov edx, eax
push esi
call fcn.0040a450
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00409500
lea ecx, [esp + 0x30]
call fcn.00409500
push ecx
lea ecx, [esp + 0x13c]
call fcn.00403cf0
push ecx
lea ecx, [esp + 0x13c]
call fcn.00409210
lea ecx, [esp + 0x108]
call fcn.00409380
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
push ecx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x144]
call fcn.004091b0
push 0x100
call fcn.00439b7b
add esp, 4
lea ecx, [esp + 0x138]
mov esi, eax
call fcn.004091d0
test al, al
je 0x403c74
mov edi, dword [esp + 0x1c]
nop dword [eax]
call fcn.0040a4f0
push 8
push 4
push esi
push edi
call eax
cmp eax, 0xffffffff
je 0x403c5e
test eax, eax
jle 0x403c74
push 0
push 4
push esi
lea ecx, [esp + 0x144]
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 0x403c30
lea ecx, [esp + 0x108]
call fcn.00409380
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [esp + 0x138]
call fcn.00409180
lea ecx, [esp + 0x138]
call fcn.00403cd0
lea ecx, [esp + 0x108]
call fcn.00409500
lea ecx, [esp + 0x120]
call fcn.00409500
lea ecx, [ebp + 8]
call fcn.00409500
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret