Function at 0x539b00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566bcb
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5d32a4]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
jne 0x539b5a
test esi, esi
je 0x539dcb
mov dword [esi], 0x16
xor al, al
mov byte [esi + 4], 1
mov dword [esi + 8], 0x58a3d8
jmp 0x539daf
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00538b90
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
jne 0x539b84
cmp edx, 8
lea eax, [ebp - 0x34]
cmovae eax, ecx
cmp word [eax], 0x2e
jne 0x539b84
mov bl, 1
jmp 0x539b86
xor bl, bl
cmp edx, 8
jb 0x539bba
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x539bb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x539e1c
push edx
push ecx
call fcn.004e815d
add esp, 8
test bl, bl
jne 0x539d87
mov eax, dword [edi + 0x10]
cmp eax, 2
jb 0x539c21
mov ecx, dword [edi + 0x14]
mov edx, edi
cmp ecx, 8
jb 0x539bd6
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x2e
jne 0x539c21
mov edx, edi
cmp ecx, 8
jb 0x539be7
mov edx, dword [edi]
cmp word [edx + eax*2 - 4], 0x2e
jne 0x539c21
cmp eax, 2
je 0x539d87
mov edx, edi
cmp ecx, 8
jb 0x539c01
mov edx, dword [edi]
movzx eax, word [edx + eax*2 - 6]
cmp eax, 0x2f
je 0x539d87
cmp eax, 0x5c
je 0x539d87
cmp eax, 0x3a
je 0x539d87
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14], 0x58a3c8
xorps xmm0, xmm0
push edi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0053a290
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x539c6a
test esi, esi
je 0x539c63
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x58a3c8
xor al, al
jmp 0x539daf
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00539770
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 4], 2
je 0x539ce0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0053a290
add esp, 0xc
cmp dword [ebp - 0x54], 1
jne 0x539ce0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00539b00
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x539ce0
test esi, esi
je 0x539e21
movq xmm0, qword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], eax
call fcn.00452ddf
xor al, al
jmp 0x539daf
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x539cea
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x539d16
test esi, esi
je 0x539d0c
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x58a3c8
mov bl, 1
lea ecx, [ebp - 0x4c]
jmp 0x539da8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0x58a3c8
push eax
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push edi
push eax
movq qword [ebp - 0x28], xmm0
call fcn.0053a290
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x539d67
test esi, esi
je 0x539d80
mov dword [esi], 0
lea ecx, [ebp - 0x4c]
mov byte [esi + 4], 0
xor bl, bl
mov dword [esi + 8], 0x58a3c8
jmp 0x539da8
test esi, esi
je 0x539e6a
test ebx, ebx
mov dword [esi], ebx
mov dword [esi + 8], 0x58a3c8
setne al
mov byte [esi + 4], al
xor bl, bl
lea ecx, [ebp - 0x4c]
jmp 0x539da8
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00539770
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00539b00
add esp, 8
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.00452ddf
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.004e85d0
mov esp, ebp
pop ebp
ret
push str.boost::filesystem::create_directories
lea ecx, [ebp - 0x6c]
call fcn.00452a2d
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x16
push eax
call fcn.0053a010
push ecx
mov ecx, esp
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0053aac0
push 0x5cd3c0
lea eax, [ebp - 0xc4]
push eax
call fcn.004eb7dc
call fcn.004ee4e5
push str.boost::filesystem::create_directories
lea ecx, [ebp - 0x6c]
call fcn.00452a2d
movq xmm0, qword [ebp - 0x1c]
sub esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, esp
mov byte [ebp - 4], 4
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0053aac0
push 0x5cd3c0
lea eax, [ebp - 0xc4]
push eax
call fcn.004eb7dc
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x90]
call fcn.00452a2d
mov byte [ebp - 4], 5
call fcn.004a2450
push eax
push ebx
lea ecx, [ebp - 0x78]
call fcn.004a1e90
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x90]
push edi
push eax
lea ecx, [ebp - 0xf8]
call fcn.0053aac0
push 0x5cd3c0
lea eax, [ebp - 0xf8]
push eax
call fcn.004eb7dc
int3