Function at 0x5370c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563cdb
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5cf2a4]
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 0x53711a
test esi, esi
je 0x53738b
mov dword [esi], 0x16
xor al, al
mov byte [esi + 4], 1
mov dword [esi + 8], 0x587398
jmp 0x53736f
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00536150
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
jne 0x537144
cmp edx, 8
lea eax, [ebp - 0x34]
cmovae eax, ecx
cmp word [eax], 0x2e
jne 0x537144
mov bl, 1
jmp 0x537146
xor bl, bl
cmp edx, 8
jb 0x53717a
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x537170
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5373dc
push edx
push ecx
call fcn.004e570f
add esp, 8
test bl, bl
jne 0x537347
mov eax, dword [edi + 0x10]
cmp eax, 2
jb 0x5371e1
mov ecx, dword [edi + 0x14]
mov edx, edi
cmp ecx, 8
jb 0x537196
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x2e
jne 0x5371e1
mov edx, edi
cmp ecx, 8
jb 0x5371a7
mov edx, dword [edi]
cmp word [edx + eax*2 - 4], 0x2e
jne 0x5371e1
cmp eax, 2
je 0x537347
mov edx, edi
cmp ecx, 8
jb 0x5371c1
mov edx, dword [edi]
movzx eax, word [edx + eax*2 - 6]
cmp eax, 0x2f
je 0x537347
cmp eax, 0x5c
je 0x537347
cmp eax, 0x3a
je 0x537347
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14], 0x587388
xorps xmm0, xmm0
push edi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00537850
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x53722a
test esi, esi
je 0x537223
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x587388
xor al, al
jmp 0x53736f
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00536d30
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 4], 2
je 0x5372a0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00537850
add esp, 0xc
cmp dword [ebp - 0x54], 1
jne 0x5372a0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005370c0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x5372a0
test esi, esi
je 0x5373e1
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 0x53736f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5372aa
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x5372d6
test esi, esi
je 0x5372cc
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x587388
mov bl, 1
lea ecx, [ebp - 0x4c]
jmp 0x537368
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0x587388
push eax
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push edi
push eax
movq qword [ebp - 0x28], xmm0
call fcn.00537850
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x537327
test esi, esi
je 0x537340
mov dword [esi], 0
lea ecx, [ebp - 0x4c]
mov byte [esi + 4], 0
xor bl, bl
mov dword [esi + 8], 0x587388
jmp 0x537368
test esi, esi
je 0x53742a
test ebx, ebx
mov dword [esi], ebx
mov dword [esi + 8], 0x587388
setne al
mov byte [esi + 4], al
xor bl, bl
lea ecx, [ebp - 0x4c]
jmp 0x537368
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00536d30
push esi
push eax
mov dword [ebp - 4], 1
call fcn.005370c0
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.004e5b80
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.005375d0
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.00538080
push 0x5c9c28
lea eax, [ebp - 0xc4]
push eax
call fcn.004e8d8c
call fcn.004eba95
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.00538080
push 0x5c9c28
lea eax, [ebp - 0xc4]
push eax
call fcn.004e8d8c
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x90]
call fcn.00452a2d
mov byte [ebp - 4], 5
call fcn.004a23a0
push eax
push ebx
lea ecx, [ebp - 0x78]
call fcn.004a1de0
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.00538080
push 0x5c9c28
lea eax, [ebp - 0xf8]
push eax
call fcn.004e8d8c
int3