Function at 0x476e40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdce3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x6441a4]
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.00474590
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x476ef1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax], 0x2e
je 0x476f1b
mov dword [ebp - 0x98], 0
call fcn.00473270
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00478bf0
add esp, 0xc
cmp dword [ebp - 0xa4], 3
jne 0x476f42
test esi, esi
je 0x476ee5
mov dword [esi], 0
call fcn.00473270
mov dword [esi + 4], eax
mov byte [ebp - 0x8d], 0
jmp 0x477212
cmp eax, 2
jne 0x476e9e
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 0x476e9e
cmp ecx, 8
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp word [eax + 2], 0x2e
jne 0x476e9e
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00475190
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00476e40
add esp, 8
mov byte [ebp - 0x8d], al
lea ecx, [ebp - 0x28]
jmp 0x47720d
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00475190
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
je 0x477095
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00478bf0
add esp, 0xc
cmp dword [ebp - 0xa4], 1
jne 0x477095
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00476e40
mov ecx, dword [ebp - 0x98]
xor edx, edx
add esp, 8
mov byte [ebp - 4], 2
test ecx, ecx
mov eax, fcn.00402150
cmove eax, edx
test eax, eax
je 0x477095
test esi, esi
jne 0x47708a
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.00402740
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 [0x5c23b4]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x5c23c4]
movq qword [ecx + 0x20], xmm0
mov ax, word [0x5c23cc]
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.00476b10
push eax
mov byte [ebp - 4], 5
call fcn.004725e0
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.00476c60
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x477203
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4771e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477269
jmp 0x4771e7
mov eax, dword [ebp - 0x94]
jmp 0x4771fe
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47709f
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4770ca
test esi, esi
je 0x4770be
mov dword [esi], 0
call fcn.00473270
mov dword [esi + 4], eax
mov byte [ebp - 0x8d], 1
jmp 0x47720a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0
call fcn.00473270
cmp dword [ebp - 0x9c], 0xb7
mov dword [ebp - 0xa0], eax
jne 0x47712f
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push edi
push eax
call fcn.00478bf0
add esp, 0xc
cmp dword [ebp - 0xac], 3
jne 0x47712f
test esi, esi
je 0x477203
mov dword [esi], 0
call fcn.00473270
jmp 0x477200
test esi, esi
jne 0x4771f3
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.00402740
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 [0x5c23e0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x5c23f0]
movq qword [eax + 0x20], xmm0
mov byte [eax + 0x28], 0
mov dword [ebp - 0x28], eax
call fcn.00473270
push eax
push dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x8c]
call fcn.00476b10
push eax
mov byte [ebp - 4], 7
call fcn.004725e0
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.00476c60
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x477203
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4771e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47726e
push edx
push ecx
call fcn.004ce396
add esp, 8
jmp 0x477203
call fcn.00473270
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.00402360
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x477248
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47723e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477273
push edx
push ecx
call fcn.004ce396
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.004cdf2e
mov esp, ebp
pop ebp
ret
call fcn.004d85d5
call fcn.004d85d5
call fcn.004d85d5
int3