Function at 0x465670
Capabilities:
Create directory

Disassembly:
sub esp, 0x14c
mov eax, dword [0x615e80]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x30], 0
push 2
xorps xmm0, xmm0
mov dword [esp + 0x20], ebp
push 0x60d72c
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x28], xmm0
call fcn.00447220
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x20]
cmp edi, 7
mov ecx, ebp
cmova eax, esi
cmp dword [ebp + 0x14], 7
jbe 0x4656d3
mov ecx, dword [ebp]
push dword [esp + 0x30]
mov edx, dword [ebp + 0x10]
push eax
push ecx
call fcn.00466600
add esp, 0xc
mov dword [esp + 0x14], eax
cmp edi, 7
jbe 0x46571c
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x465712
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465955
push ecx
push esi
call fcn.0057314e
add esp, 8
xor esi, esi
nop
push 2
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
push 0x60d72c
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
movups xmmword [esp + 0x40], xmm0
call fcn.00447220
mov eax, dword [esp + 0x38]
lea ebx, [esp + 0x38]
mov edi, dword [ebp + 0x10]
inc esi
cmp dword [esp + 0x4c], 7
mov dword [esp + 0x18], eax
cmova ebx, eax
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x14], 7
jbe 0x465771
mov eax, dword [ebp]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x4657ea
cmp esi, edi
jae 0x4657ea
push 0x100
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00577820
lea edx, [ebx + ebp*2]
add esp, 0xc
mov ecx, ebx
mov ebp, 0x100
cmp ebx, edx
je 0x4657bb
nop
movzx eax, word [ecx]
cmp ax, bp
jae 0x465892
movzx eax, al
add ecx, 2
mov byte [esp + eax + 0x50], 1
cmp ecx, edx
jne 0x4657a0
mov edx, dword [esp + 0x10]
lea ecx, [edx + edi*2]
lea esi, [edx + esi*2]
cmp esi, ecx
jae 0x4657ea
nop dword [eax]
movzx eax, word [esi]
cmp ax, bp
jae 0x4657e3
cmp byte [esp + eax + 0x50], 0
jne 0x4658de
add esi, 2
cmp esi, ecx
jb 0x4657d0
or esi, 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, 7
jbe 0x465829
mov edx, dword [esp + 0x18]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46581f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465955
push ecx
push edx
call fcn.0057314e
add esp, 8
mov ebp, dword [esp + 0x1c]
mov ecx, esi
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
mov eax, ebp
cmp dword [ebp + 0x10], esi
cmovb ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 7
jbe 0x465859
mov eax, dword [ebp]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00447220
cmp dword [esp + 0x34], 7
lea eax, [esp + 0x20]
push 0
cmova eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4658e7
call edi
cmp eax, 0xb7
je 0x4658e7
mov bl, 1
jmp 0x4658e9
mov eax, dword [esp + 0x10]
lea edi, [eax + edi*2]
lea esi, [eax + esi*2]
cmp esi, edi
jae 0x4657ea
movzx ebp, word [ebx]
movzx edx, word [esi]
mov ecx, ebx
mov eax, dword [esp + 0x48]
cmp bp, dx
je 0x4658d3
cmp eax, 1
je 0x4658c7
add ecx, 2
dec eax
cmp word [ecx], dx
jne 0x4658b5
test ecx, ecx
jne 0x4658d3
add esi, 2
cmp esi, edi
jb 0x4658a7
jmp 0x4657ea
sub esi, dword [esp + 0x10]
sar esi, 1
jmp 0x4657ed
sub esi, edx
sar esi, 1
jmp 0x4657ed
xor bl, bl
mov ecx, dword [esp + 0x34]
cmp ecx, 7
jbe 0x465921
mov edx, dword [esp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x465917
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465955
push ecx
push edx
call fcn.0057314e
add esp, 8
test bl, bl
je 0x46592c
call edi
cmp eax, 5
jne 0x465951
cmp esi, dword [esp + 0x14]
jb 0x465720
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00573140
add esp, 0x14c
ret
xor al, al
jmp 0x465938
call fcn.0057ae3f
int3