Function at 0x46e9e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f2b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4c9124]
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]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xbc], edi
cmp dword [edi + 0x10], 0
jne 0x46ea80
test esi, esi
je 0x46f05e
mov ecx, dword [0x4c9bd0]
mov eax, dword [0x4c9bd4]
cmp ecx, 0x257edfd1
jne 0x46ea41
cmp eax, 0xb2ab117a
je 0x46ea50
cmp ecx, 0x257edfd0
jne 0x46ea54
cmp eax, 0xb2ab117a
jne 0x46ea54
mov al, 1
jmp 0x46ea65
mov eax, dword [0x4c9bc8]
mov ecx, 0x4c9bc8
push 0x16
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 0x16
add eax, 2
mov dword [esi + 4], 0x4c9bc8
mov dword [esi + 8], eax
jmp 0x46f041
test esi, esi
je 0x46ea92
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
call fcn.004706f0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0045a5fc
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0045a5fc
mov byte [ebp - 4], 2
call fcn.004705e0
mov dword [ebp - 0xb4], eax
call fcn.004704d0
xorps xmm0, xmm0
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x28]
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa8], 0
call fcn.00470920
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
cmovae ecx, dword [ebp - 0x28]
xor edi, edi
mov word [ebp - 0x40], di
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0x2c], 7
lea edx, [ecx + edx*2]
lea ecx, [eax + eax]
lea eax, [ecx + edx]
cmp edx, eax
je 0x46eb50
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004101f0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00470b40
cmp dword [eax + 4], 0
jbe 0x46ec9b
nop dword [eax]
cmp dword [ebp - 0x30], 0
je 0x46ebc6
push edi
lea ecx, [ebp - 0x40]
call fcn.0046ff00
test eax, eax
je 0x46ebc6
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x40]
call fcn.0046ff00
test eax, eax
je 0x46ebc6
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0046f520
mov eax, dword [ebp - 0xc4]
add esp, 0xc
cmp eax, 3
je 0x46ec9b
test eax, eax
je 0x46ece0
lea ecx, [ebp - 0x64]
call fcn.0046ffc0
lea ecx, [ebp - 0x28]
call fcn.00471130
lea ecx, [ebp - 0x28]
call fcn.00470920
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x8c], 0
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x88], 7
lea edx, [ecx + edx*2]
lea ecx, [eax + eax]
lea eax, [ecx + edx]
cmp edx, eax
je 0x46ec28
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.004101f0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x46ec6a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x46ec5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f09f
push edx
push ecx
call fcn.0046d3a6
add esp, 8
mov byte [ebp - 4], 3
movups xmm0, xmmword [ebp - 0x9c]
lea eax, [ebp - 0xd0]
push eax
movups xmmword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x28]
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x30], xmm0
call fcn.00470b40
cmp dword [eax + 4], 0
ja 0x46eb70
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x46ed81
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x46ed73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f09f
jmp 0x46ed73
movq xmm0, qword [ebp - 0xb0]
mov eax, dword [ebp - 0xa8]
test esi, esi
je 0x46f0a4
mov edx, dword [ebp - 0x2c]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x46ed3f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x46ed35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f09f
push edx
push ecx
call fcn.0046d3a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040c240
lea ecx, [ebp - 0x64]
call fcn.0046e900
lea ecx, [ebp - 0x84]
call fcn.0046e900
jmp 0x46f041
push edx
push ecx
call fcn.0046d3a6
add esp, 8
mov byte [ebp - 4], 2
xor al, al
mov byte [ebp - 0xa1], al
nop dword [eax]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x6c]
jne 0x46eda4
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x68]
je 0x46eeb4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046f810
cmp dword [ebp - 0x54], 0
je 0x46eea7
push edi
lea ecx, [ebp - 0x64]
call fcn.0046ff00
test eax, eax
je 0x46eea7
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x64]
call fcn.0046ff00
test eax, eax
je 0x46eea7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x46ee17
mov byte [ebp - 0xa1], 1
jmp 0x46ee7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0xc0], 0
lea eax, [ebp - 0xc8]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x28]
movq qword [ebp - 0xc8], xmm0
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0046f520
add esp, 0xc
cmp dword [ebp - 0xd0], 3
je 0x46ee70
push str.boost::filesystem::create_directory
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00471b40
add esp, 0x10
mov edi, dword [ebp - 0xb4]
mov byte [ebp - 0xa1], 0
test byte [ebp - 0xa8], 1
je 0x46eea7
mov ecx, dword [ebp - 0xa8]
cmp ecx, 1
jne 0x46efae
cmp dword [ebp - 0xb0], 0
setne al
test al, al
jne 0x46efae
lea ecx, [ebp - 0x64]
call fcn.00470d70
jmp 0x46ed90
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46eef2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x46eee8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f0db
push edx
push ecx
call fcn.0046d3a6
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x46ef44
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xc
cmp edx, 0x1000
jb 0x46ef3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f0db
push edx
push ecx
call fcn.0046d3a6
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x46efa3
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x46ef99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f0db
push edx
push ecx
call fcn.0046d3a6
add esp, 8
mov al, byte [ebp - 0xa1]
jmp 0x46f043
movq xmm0, qword [ebp - 0xb0]
test esi, esi
je 0x46f0e0
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x46efde
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004103c0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x46f00b
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004103c0
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], 0xa
cmp eax, 8
jb 0x46f041
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004103c0
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.0046cddf
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xd4]
push 0x16
push eax
call fcn.0046f290
push ecx
mov ecx, esp
push edi
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.004716b0
push 0x4c6940
lea eax, [ebp - 0xa0]
push eax
call fcn.00473e10
call fcn.00479b49
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.00471420
push 0x4c6940
lea eax, [ebp - 0xa0]
push eax
call fcn.00473e10
call fcn.00479b49
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 - 0x44]
push str.boost::filesystem::create_directories
call fcn.00471420
push 0x4c6940
lea eax, [ebp - 0x44]
push eax
call fcn.00473e10
int3