Function at 0x43a5e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5428fc
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x607070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0xd1], 0
test ebx, ebx
je 0x43a62e
cmp word [ebx], 0
jne 0x43a640
cmp dword [esi + 0x4c], 8
lea ebx, [esi + 0x38]
mov byte [ebp - 0xd1], 1
jb 0x43a640
mov ebx, dword [ebx]
lea ecx, [esi + 0x50]
call fcn.004d9de0
cmp dword [esi + 0x64], 8
jb 0x43a653
mov edx, dword [esi + 0x50]
jmp 0x43a656
lea edx, [esi + 0x50]
xor eax, eax
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
cmp word [edx], ax
jne 0x43a67c
xor ecx, ecx
jmp 0x43a69a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xf4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a687
sub ecx, dword [ebp - 0xf4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xec]
call fcn.00433660
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
test al, al
mov eax, dword [ebp - 0xd8]
sete byte [ebp - 0xd2]
cmp eax, 8
jb 0x43a6ee
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.004341f0
cmp byte [ebp - 0xd2], 0
je 0x43a74e
cmp dword [esi + 0x64], 8
jb 0x43a702
mov eax, dword [esi + 0x50]
jmp 0x43a705
lea eax, [esi + 0x50]
push eax
lea ecx, [ebp - 0xec]
call fcn.004333d0
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
push 0
cmovae eax, dword [ebp - 0xec]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x43a74e
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.004341f0
cmp byte [ebp - 0xd1], 0
jne 0x43a793
push ebx
lea ecx, [ebp - 0xec]
call fcn.004333d0
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
mov dword [ebp - 0xf0], 1
cmovae eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
mov byte [ebp - 0xd1], 1
test eax, eax
je 0x43a79a
mov byte [ebp - 0xd1], 0
test byte [ebp - 0xf0], 1
je 0x43a7c1
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x43a7c1
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.004341f0
cmp byte [ebp - 0xd1], 0
je 0x43a7d8
mov byte [esi + 0x130], 0
xor al, al
jmp 0x43a90f
push ebx
lea ecx, [ebp - 0x10c]
call fcn.004333d0
lea edx, [ebp - 0x10c]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x50]
call fcn.0045ea50
mov dword [ebp - 4], 0xffffffff
mov bl, al
mov ecx, dword [ebp - 0xf8]
cmp ecx, 8
jb 0x43a820
inc ecx
push ecx
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
call fcn.004341f0
xor eax, eax
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
test bl, bl
jne 0x43a84e
mov byte [esi + 0x130], al
xor al, al
jmp 0x43a90f
cmp dword [esi + 0xd4], eax
je 0x43a85e
lea ecx, [esi + 0x70]
call fcn.00438000
push 0xc0
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.00517950
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.0043a9f0
lea edx, [esi + 0x38]
mov dword [ebp - 4], 1
lea ecx, [esi + 0x50]
call fcn.0045e210
cmp byte [esi + 0x131], 0
je 0x43a8ae
mov edx, dword [esi]
lea eax, [esi + 0x70]
push eax
mov ecx, esi
mov eax, dword [edx]
call eax
mov byte [esi + 0x130], al
jmp 0x43a8e5
mov eax, dword [esi]
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [esi + 0x130], al
test al, al
je 0x43a8e5
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xc4], 6
jne 0x43a8e5
lea ecx, [ebp - 0xd0]
call fcn.00438000
mov bl, byte [esi + 0x130]
lea ecx, [ebp - 0x58]
call fcn.0043a970
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.004eb99b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fef09
mov esp, ebp
pop ebp
ret 8