Function at 0x46e1c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4810b8
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xbc], esi
cmp dword [esi + 0x10], 0
jne 0x46e260
test edi, edi
je 0x46e9b0
mov ecx, dword [0x4a00f8]
mov eax, dword [0x4a00fc]
cmp ecx, 0x257edfd1
jne 0x46e221
cmp eax, 0xb2ab117a
je 0x46e230
cmp ecx, 0x257edfd0
jne 0x46e234
cmp eax, 0xb2ab117a
jne 0x46e234
mov al, 1
jmp 0x46e245
mov eax, dword [0x4a00f0]
mov ecx, 0x4a00f0
push 0x16
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [edi], 0x16
add eax, 2
mov dword [edi + 4], 0x4a00f0
mov dword [edi + 8], eax
jmp 0x46e993
test edi, edi
je 0x46e272
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0046b9d0
cmp dword [ebp - 0x70], 8
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x74]
xorps xmm0, xmm0
cmovae ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], eax
movups xmmword [ebp - 0x48], xmm0
cmp eax, 0x7ffffffe
ja 0x46e9f1
mov dword [ebp - 0x34], 7
cmp eax, 8
jae 0x46e2e4
push 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push ecx
push eax
call sub.VCRUNTIME140.dll_memmove
jmp 0x46e337
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x46e2f8
mov esi, bind
jmp 0x46e302
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x48]
call fcn.00450ae0
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xa8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00456e70
mov byte [ebp - 4], 2
call fcn.0046b8e0
mov esi, eax
mov dword [ebp - 0xa8], esi
call fcn.0046b7f0
xorps xmm0, xmm0
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x28]
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb0], 0
call fcn.0046bcd0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], 0
lea edx, [ecx + edx*2]
lea ecx, [eax + eax]
lea eax, [edx + ecx]
cmp edx, eax
jne 0x46e3d4
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
jmp 0x46e3e0
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.004551a0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0046bf00
cmp dword [eax + 4], 0
jbe 0x46e540
nop dword [eax]
cmp dword [ebp - 0x50], 0
je 0x46e456
push esi
lea ecx, [ebp - 0x60]
call fcn.0046b390
test eax, eax
je 0x46e456
push dword [ebp - 0xac]
lea ecx, [ebp - 0x60]
call fcn.0046b390
test eax, eax
je 0x46e456
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0046f1e0
mov eax, dword [ebp - 0xd0]
add esp, 0xc
cmp eax, 3
je 0x46e540
test eax, eax
je 0x46e613
lea ecx, [ebp - 0x48]
call fcn.0046b470
lea ecx, [ebp - 0x28]
call fcn.0046c830
lea ecx, [ebp - 0x28]
call fcn.0046bcd0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x88], 0
lea edx, [ecx + edx*2]
lea ecx, [eax + eax]
lea eax, [ecx + edx]
cmp edx, eax
jne 0x46e4be
xor eax, eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
jmp 0x46e4cd
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.004551a0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x46e50f
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 4
cmp ecx, 0x1000
jb 0x46e501
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e76b
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov byte [ebp - 4], 3
movups xmm0, xmmword [ebp - 0x9c]
lea eax, [ebp - 0xc4]
push eax
movups xmmword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x28]
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x50], xmm0
call fcn.0046bf00
cmp dword [eax + 4], 0
ja 0x46e400
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x46e559
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.0040b210
xor al, al
mov byte [ebp - 4], 2
mov byte [ebp - 0xa1], al
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x6c]
jne 0x46e579
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x68]
je 0x46e808
cmp dword [ebp - 0x34], 8
lea esi, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
setae dl
test dl, dl
cmovne ecx, dword [ebp - 0x48]
lea eax, [esi + eax*2]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0046ad10
cmp dword [ebp - 0x38], 0
je 0x46e7fb
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x48]
call fcn.0046b390
test eax, eax
je 0x46e7fb
push dword [ebp - 0xac]
lea ecx, [ebp - 0x48]
call fcn.0046b390
test eax, eax
je 0x46e7fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb0], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x46e771
mov byte [ebp - 0xa1], 1
jmp 0x46e7d1
movq xmm0, qword [ebp - 0xb8]
mov eax, dword [ebp - 0xb0]
test edi, edi
je 0x46e9f6
mov ecx, dword [ebp - 0x4c]
movq qword [edi], xmm0
mov dword [edi + 8], eax
cmp ecx, 8
jb 0x46e66e
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 6
cmp ecx, 0x1000
jb 0x46e664
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e76b
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 8
jb 0x46e6c0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 7
cmp ecx, 0x1000
jb 0x46e6b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e76b
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x46e70e
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 8
cmp ecx, 0x1000
jb 0x46e704
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e76b
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov ecx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x46e993
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov dword [ebp - 4], 9
cmp ecx, 0x1000
jb 0x46e989
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e989
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0xd4], 0
lea eax, [ebp - 0xdc]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x28]
movq qword [ebp - 0xdc], xmm0
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0046f1e0
add esp, 0xc
cmp dword [ebp - 0xc4], 3
je 0x46e7ca
push str.boost::filesystem::create_directory
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0046d550
add esp, 0x10
mov byte [ebp - 0xa1], 0
test byte [ebp - 0xb0], 1
je 0x46e7fb
mov ecx, dword [ebp - 0xb0]
cmp ecx, 1
jne 0x46e88f
cmp dword [ebp - 0xb8], 0
setne al
test al, al
jne 0x46e88f
lea ecx, [ebp - 0x48]
call fcn.0046c2c0
jmp 0x46e565
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x46e821
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b210
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x46e84e
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0040b210
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 4], 0x10
cmp ecx, 8
jb 0x46e884
inc ecx
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x84]
call fcn.0040b210
mov al, byte [ebp - 0xa1]
jmp 0x46e995
movq xmm0, qword [ebp - 0xb8]
test edi, edi
je 0x46ea2d
movq qword [edi], xmm0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x46e8e4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 0xb
cmp ecx, 0x1000
jb 0x46e8da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e983
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x46e932
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov byte [ebp - 4], 0xc
cmp ecx, 0x1000
jb 0x46e928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e983
push ecx
push edx
call fcn.0044f65b
add esp, 8
mov ecx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x46e993
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
mov dword [ebp - 4], 0xd
cmp ecx, 0x1000
jb 0x46e989
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46e989
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044f65b
add esp, 8
xor al, al
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.0044f64d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc8]
push 0x16
push eax
call fcn.0046c9b0
push ecx
mov ecx, esp
push esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xa0]
push str.boost::filesystem::create_directories
call fcn.0046cdd0
push 0x49ae1c
lea eax, [ebp - 0xa0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00402cc0
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xa0]
push str.boost::filesystem::create_directories
call fcn.0046cc00
push 0x49ae1c
lea eax, [ebp - 0xa0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x64]
push str.boost::filesystem::create_directories
call fcn.0046cc00
push 0x49ae1c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3