Function at 0x530340
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e578
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5ce16c]
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]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049db60
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00530d40
add esp, 0xc
cmp dword [ebp - 0x40], 3
jne 0x5303bf
test esi, esi
je 0x530456
mov dword [esi], 0
call fcn.0049db60
mov dword [esi + 4], eax
xor al, al
jmp 0x530530
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0052f680
cmp dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
je 0x53045d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00530d40
add esp, 0xc
cmp dword [ebp - 0x40], 1
jne 0x53045d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00530340
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x53045d
test esi, esi
je 0x53054c
mov edx, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
cmp edx, 8
jb 0x530456
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x53044c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5305cd
push edx
push ecx
call fcn.004dd465
add esp, 8
xor al, al
jmp 0x530530
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x530467
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x53048a
test esi, esi
je 0x530486
mov dword [esi], 0
call fcn.0049db60
mov dword [esi + 4], eax
mov bl, 1
jmp 0x5304f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov ebx, eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
call fcn.0049db60
mov dword [ebp - 0x3c], eax
cmp ebx, 0xb7
jne 0x5304e0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00530d40
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp ecx, 3
jne 0x5304e0
test esi, esi
je 0x5304f2
mov dword [esi], 0
call fcn.0049db60
jmp 0x5304ef
test esi, esi
je 0x530587
call fcn.0049db60
mov dword [esi], ebx
mov dword [esi + 4], eax
xor bl, bl
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x53052e
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x530524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5305cd
push edx
push ecx
call fcn.004dd465
add esp, 8
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.004dd9ae
mov esp, ebp
pop ebp
ret
push str.boost::filesystem::create_directories
lea ecx, [ebp - 0x58]
call fcn.00452cca
push dword [ebp - 0x14]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0052fe20
push 0x5c93b8
lea eax, [ebp - 0x8c]
push eax
call fcn.004e172a
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x58]
call fcn.00452cca
mov byte [ebp - 4], 2
call fcn.0049db60
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0045c810
lea ecx, [ebp - 0x8c]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0052fe20
push 0x5c93b8
lea eax, [ebp - 0x8c]
push eax
call fcn.004e172a
call fcn.004e44e8
int3