Function at 0x439800
Capabilities:
Check if file exists
Create directory
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x473eaf
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe0]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00439370
push 0x48da64
push eax
lea ecx, [esp + 0x88]
xor esi, esi
push ecx
mov dword [esp + 0xec], esi
call fcn.00406e00
add esp, 0x14
mov ebx, 0x10
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x54], ebx
jb 0x43988c
mov edx, dword [esp + 0x40]
push edx
call fcn.004533ae
add esp, 4
push esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x439905
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
push str.Creating_directory
push ecx
call fcn.00406d30
add esp, 0xc
push eax
push 0x48da7c
push 0x14d
push 0x48da98
push esi
mov byte [esp + 0xec], 3
call fcn.00434cf0
mov ecx, eax
call fcn.00434dd0
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x38], ebx
jb 0x439905
mov edx, dword [esp + 0x24]
push edx
call fcn.004533ae
add esp, 4
push 2
push esi
push 0x48dafc
lea ecx, [esp + 0x84]
call fcn.00405c10
mov esi, eax
cmp esi, 0xffffffff
je 0x4399c0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ebx, [ebx]
inc esi
push esi
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
call fcn.00406900
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd8], 4
cmp dword [esp + 0x70], ebx
jae 0x43995b
lea eax, [esp + 0x5c]
push 0
push eax
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebx
jae 0x439976
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4399fe
test bl, al
je 0x4399fe
push 2
push esi
push 0x48dbcc
lea ecx, [esp + 0x84]
call fcn.00405c10
mov esi, eax
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x70], ebx
jb 0x4399b7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004533ae
add esp, 4
cmp esi, 0xffffffff
jne 0x439930
cmp dword [esp + 0x8c], ebx
jb 0x4399d6
mov eax, dword [esp + 0x78]
push eax
call fcn.004533ae
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0045407e
add esp, 0xc8
ret
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x439b74
push 0
lea edx, [esp + 0xb4]
push edi
push edx
call fcn.00435430
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd8], 5
cmp dword [esp + 0x70], ebx
jae 0x439a3f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x28]
push str.createDirectory__s_
push eax
call fcn.00437960
add esp, 0xc
mov byte [esp + 0xd8], 6
cmp dword [esi + 0x14], ebx
jb 0x439a61
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x439a68
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x9c]
push 0x48db14
push ecx
call fcn.00437960
add esp, 0x10
mov byte [esp + 0xd8], 7
cmp dword [eax + 0x14], ebx
jb 0x439a90
mov esi, dword [eax]
jmp 0x439a92
mov esi, eax
call fcn.00434cf0
mov edi, eax
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439ab4
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.004042b0
lea edx, [esp + 0x40]
push edx
push str.FileUtils::createDirectory
push 0x155
push 0x48db68
push 3
mov ecx, edi
mov byte [esp + 0xec], 8
call fcn.00434dd0
cmp dword [esp + 0x54], ebx
jb 0x439b00
mov eax, dword [esp + 0x40]
push eax
call fcn.004533ae
add esp, 4
cmp dword [esp + 0xa8], ebx
jb 0x439b19
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004533ae
add esp, 4
xor esi, esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], esi
mov byte [esp + 0x94], 0
cmp dword [esp + 0x38], ebx
jb 0x439b44
mov edx, dword [esp + 0x24]
push edx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
mov byte [esp + 0xd8], 4
cmp dword [esp + 0xc4], ebx
jb 0x439b7b
mov eax, dword [esp + 0xb0]
push eax
call fcn.004533ae
add esp, 4
jmp 0x439b7b
mov ebp, 0xf
xor esi, esi
push 0x22
push str.FileUtils:createDirectory___failed
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.004042b0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0xe0], 9
call fcn.00437440
add esp, 8
mov byte [esp + 0xd8], 0xa
cmp dword [eax + 0x14], ebx
jb 0x439bc4
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00453b7a
push 0x498d24
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::runtime_error.0
call fcn.00453ce8
int3