Function at 0x52f6b0
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0xb4]
sub esp, 0xb4
push 0xffffffffffffffff
push 0x56b2c4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5d21e8]
xor eax, ebp
mov dword [ebp + 0xb0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xbc]
mov esi, dword [ebp + 0xc0]
cmp dword [edi + 0x10], 0
jne 0x52f718
test esi, esi
je 0x52f978
call fcn.0052c550
mov dword [esi + 4], eax
xor al, al
mov dword [esi], 0x16
jmp 0x52f955
lea eax, [ebp + 0x98]
mov ecx, edi
push eax
call fcn.0052de60
cmp dword [ebp + 0xa8], 1
jne 0x52f74d
cmp dword [ebp + 0xac], 8
lea eax, [ebp + 0x98]
cmovae eax, dword [ebp + 0x98]
cmp word [eax], 0x2e
jne 0x52f74d
mov bl, 1
jmp 0x52f74f
xor bl, bl
lea ecx, [ebp + 0x98]
call fcn.00422db0
test bl, bl
jne 0x52f927
mov eax, dword [edi + 0x10]
cmp eax, 2
jb 0x52f7c1
mov ecx, dword [edi + 0x14]
mov edx, edi
cmp ecx, 8
jb 0x52f776
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x2e
jne 0x52f7c1
mov edx, edi
cmp ecx, 8
jb 0x52f787
mov edx, dword [edi]
cmp word [edx + eax*2 - 4], 0x2e
jne 0x52f7c1
cmp eax, 2
je 0x52f927
mov edx, edi
cmp ecx, 8
jb 0x52f7a1
mov edx, dword [edi]
movzx eax, word [edx + eax*2 - 6]
cmp eax, 0x2f
je 0x52f927
cmp eax, 0x5c
je 0x52f927
cmp eax, 0x3a
je 0x52f927
mov dword [ebp - 0x14], 0
call fcn.0052c940
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00530ce0
add esp, 0xc
cmp dword [ebp - 0x1c], 3
jne 0x52f800
test esi, esi
je 0x52f7f9
mov dword [esi], 0
call fcn.0052c940
mov dword [esi + 4], eax
xor al, al
jmp 0x52f955
lea eax, [ebp + 0x80]
mov ecx, edi
push eax
call fcn.0052e950
cmp dword [ebp + 0x90], 0
mov dword [ebp - 4], 2
je 0x52f88b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x80]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00530ce0
add esp, 0xc
cmp dword [ebp - 0x1c], 1
jne 0x52f88b
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0x80]
push eax
call fcn.0052f6b0
mov ecx, dword [ebp - 0x14]
xor edx, edx
add esp, 8
mov byte [ebp - 4], 2
test ecx, ecx
mov eax, fcn.004245e0
cmove eax, edx
test eax, eax
je 0x52f88b
test esi, esi
je 0x52f9c0
mov eax, dword [ebp - 0x10]
mov dword [esi], ecx
lea ecx, [ebp + 0x80]
mov dword [esi + 4], eax
call fcn.00422db0
xor al, al
jmp 0x52f955
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x52f895
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x52f8c1
test esi, esi
je 0x52f8b4
mov dword [esi], 0
call fcn.0052c940
mov dword [esi + 4], eax
mov bl, 1
lea ecx, [ebp + 0x80]
jmp 0x52f94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x1c], 0
call fcn.0052c940
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00530ce0
add esp, 0xc
cmp dword [ebp - 0x24], 3
jne 0x52f90b
test esi, esi
je 0x52f91d
mov dword [esi], 0
call fcn.0052c940
mov dword [esi + 4], eax
lea ecx, [ebp + 0x80]
xor bl, bl
jmp 0x52f94e
test esi, esi
je 0x52f9fe
call fcn.0052c940
mov dword [esi], ebx
mov dword [esi + 4], eax
xor bl, bl
lea ecx, [ebp + 0x80]
jmp 0x52f94e
lea eax, [ebp + 0x98]
mov ecx, edi
push eax
call fcn.0052e950
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0052f6b0
add esp, 8
lea ecx, [ebp + 0x98]
mov bl, al
call fcn.00422db0
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 + 0xb0]
xor ecx, ebp
call fcn.005329db
lea esp, [ebp + 0xb4]
pop ebp
ret
push str.boost::filesystem::create_directories
lea ecx, [ebp + 0x98]
call fcn.004362a0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push 0x16
push eax
call fcn.00530820
add esp, 8
lea ecx, [ebp + 0x34]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x98]
push edi
push eax
call fcn.0052f260
push 0x5c899c
lea eax, [ebp + 0x34]
push eax
call fcn.00533b8f
push str.boost::filesystem::create_directories
lea ecx, [ebp + 0x98]
call fcn.004362a0
push dword [ebp - 0x10]
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea ecx, [ebp + 0x34]
push eax
lea eax, [ebp + 0x98]
push eax
call fcn.0052f260
push 0x5c899c
lea eax, [ebp + 0x34]
push eax
call fcn.00533b8f
push str.boost::filesystem::create_directory
lea ecx, [ebp + 0x68]
call fcn.004362a0
mov byte [ebp - 4], 5
call fcn.0052c940
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0052bdc0
lea ecx, [ebp]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x68]
push edi
push eax
call fcn.0052f260
push 0x5c899c
lea eax, [ebp]
push eax
call fcn.00533b8f
int3