Function at 0x554750
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5707f0
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5ce440]
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 0x5547aa
test esi, esi
je 0x554a02
mov dword [esi], 0x16
xor al, al
mov byte [esi + 4], 1
mov dword [esi + 8], 0x580170
jmp 0x5549e6
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.005538a0
cmp dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
jne 0x5547d4
cmp edx, 7
lea eax, [ebp - 0x4c]
cmova eax, ecx
cmp word [eax], 0x2e
jne 0x5547d4
mov bl, 1
jmp 0x5547d6
xor bl, bl
cmp edx, 7
jbe 0x55480a
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x554800
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x554a53
push edx
push ecx
call fcn.00504e76
add esp, 8
test bl, bl
jne 0x5549be
mov eax, dword [edi + 0x10]
cmp eax, 2
jb 0x554871
mov ecx, dword [edi + 0x14]
mov edx, edi
cmp ecx, 7
jbe 0x554826
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x2e
jne 0x554871
mov edx, edi
cmp ecx, 7
jbe 0x554837
mov edx, dword [edi]
cmp word [edx + eax*2 - 4], 0x2e
jne 0x554871
cmp eax, 2
je 0x5549be
mov edx, edi
cmp ecx, 7
jbe 0x554851
mov edx, dword [edi]
movzx eax, word [edx + eax*2 - 6]
cmp eax, 0x2f
je 0x5549be
cmp eax, 0x5c
je 0x5549be
cmp eax, 0x3a
je 0x5549be
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14], 0x580160
xorps xmm0, xmm0
push edi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00554ec0
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x5548ba
test esi, esi
je 0x5548b3
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x580160
xor al, al
jmp 0x5549e6
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.005543c0
cmp dword [ebp - 0x24], 0
mov dword [ebp - 4], 2
je 0x554930
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00554ec0
add esp, 0xc
cmp dword [ebp - 0x54], 1
jne 0x554930
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00554750
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x554930
test esi, esi
je 0x554a58
movq xmm0, qword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], eax
call fcn.00453810
xor al, al
jmp 0x5549e6
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x55493a
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x554963
test esi, esi
je 0x55495c
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x580160
mov bl, 1
lea ecx, [ebp - 0x34]
jmp 0x5549df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00554ec0
add esp, 0xc
cmp dword [ebp - 0x54], 3
jne 0x55499e
test esi, esi
je 0x5549b7
mov dword [esi], 0
lea ecx, [ebp - 0x34]
mov byte [esi + 4], 0
xor bl, bl
mov dword [esi + 8], 0x580160
jmp 0x5549df
test esi, esi
je 0x554aa1
test ebx, ebx
mov dword [esi], ebx
mov dword [esi + 8], 0x580160
setne al
mov byte [esi + 4], al
xor bl, bl
lea ecx, [ebp - 0x34]
jmp 0x5549df
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.005543c0
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00554750
add esp, 8
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.00453810
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.005051b5
mov esp, ebp
pop ebp
ret
push str.boost::filesystem::create_directories
lea ecx, [ebp - 0x70]
call fcn.00452f2e
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push 0x16
push eax
call fcn.00554c40
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 - 0x70]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00555810
push 0x5caf10
lea eax, [ebp - 0xc8]
push eax
call fcn.005085cc
call fcn.0050b58a
push str.boost::filesystem::create_directories
lea ecx, [ebp - 0x70]
call fcn.00452f2e
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 - 0x34]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00555810
push 0x5caf10
lea eax, [ebp - 0xc8]
push eax
call fcn.005085cc
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x94]
call fcn.00452f2e
mov byte [ebp - 4], 5
call fcn.004a6340
push eax
push ebx
lea ecx, [ebp - 0x7c]
call fcn.004a5d60
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 - 0x94]
push edi
push eax
lea ecx, [ebp - 0xfc]
call fcn.00555810
push 0x5caf10
lea eax, [ebp - 0xfc]
push eax
call fcn.005085cc
int3