Function at 0x462690
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2f33
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x63afd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov esi, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00460060
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x462741
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax], 0x2e
je 0x46276b
mov dword [ebp - 0x98], 0
call fcn.0045ed70
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00464440
add esp, 0xc
cmp dword [ebp - 0xa4], 3
jne 0x462792
test esi, esi
je 0x462735
mov dword [esi], 0
call fcn.0045ed70
mov dword [esi + 4], eax
mov byte [ebp - 0x8d], 0
jmp 0x462a62
cmp eax, 2
jne 0x4626ee
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x2e
jne 0x4626ee
cmp ecx, 8
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp word [eax + 2], 0x2e
jne 0x4626ee
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00460b20
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00462690
add esp, 8
mov byte [ebp - 0x8d], al
lea ecx, [ebp - 0x28]
jmp 0x462a5d
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00460b20
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
je 0x4628e5
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00464440
add esp, 0xc
cmp dword [ebp - 0xa4], 1
jne 0x4628e5
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00462690
mov ecx, dword [ebp - 0x98]
xor edx, edx
add esp, 8
mov byte [ebp - 4], 2
test ecx, ecx
mov eax, fcn.004030c0
cmove eax, edx
test eax, eax
je 0x4628e5
test esi, esi
jne 0x4628da
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x28]
push 0x30
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], dl
call fcn.00406630
movups xmm0, xmmword [str.mars_boost::filesystem::create_directories]
mov ecx, eax
mov dword [ebp - 0x18], 0x2a
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x5baed8]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x5baee8]
movq qword [ecx + 0x20], xmm0
mov ax, word [0x5baef0]
mov word [ecx + 0x28], ax
mov byte [ecx + 0x2a], 0
mov dword [ebp - 0x28], ecx
push dword [ebp - 0x94]
lea eax, [ebp - 0x58]
push dword [ebp - 0x98]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462370
push eax
mov byte [ebp - 4], 5
call fcn.0045e0e0
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.004624c0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x462a53
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x462a37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462ab9
jmp 0x462a37
mov eax, dword [ebp - 0x94]
jmp 0x462a4e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4628ef
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x46291a
test esi, esi
je 0x46290e
mov dword [esi], 0
call fcn.0045ed70
mov dword [esi + 4], eax
mov byte [ebp - 0x8d], 1
jmp 0x462a5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0
call fcn.0045ed70
cmp dword [ebp - 0x9c], 0xb7
mov dword [ebp - 0xa0], eax
jne 0x46297f
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push edi
push eax
call fcn.00464440
add esp, 0xc
cmp dword [ebp - 0xac], 3
jne 0x46297f
test esi, esi
je 0x462a53
mov dword [esi], 0
call fcn.0045ed70
jmp 0x462a50
test esi, esi
jne 0x462a43
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x28]
push 0x30
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406630
movups xmm0, xmmword [str.mars_boost::filesystem::create_directory]
mov dword [ebp - 0x18], 0x28
mov dword [ebp - 0x14], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5baf04]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x5baf14]
movq qword [eax + 0x20], xmm0
mov byte [eax + 0x28], 0
mov dword [ebp - 0x28], eax
call fcn.0045ed70
push eax
push dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x8c]
call fcn.00462370
push eax
mov byte [ebp - 4], 7
call fcn.0045e0e0
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.004624c0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x462a53
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x462a37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462abe
push edx
push ecx
call fcn.0057d721
add esp, 8
jmp 0x462a53
call fcn.0045ed70
mov ecx, dword [ebp - 0x9c]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov byte [ebp - 0x8d], 0
lea ecx, [ebp - 0x58]
call fcn.00403bc0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x462a98
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462a8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462ac3
push edx
push ecx
call fcn.0057d721
add esp, 8
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d277
mov esp, ebp
pop ebp
ret
call fcn.005875f7
call fcn.005875f7
call fcn.005875f7
int3