Function at 0x465a60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e2ec
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844], ecx
mov dword [ebp - 0x848], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x84c], ecx
mov dword [ecx + 0x24], 0
add ecx, 0x28
mov dword [ebp - 4], 0
push eax
call fcn.004069a0
mov ecx, dword [ebp - 0x844]
add ecx, 0x40
mov byte [ebp - 4], 1
push esi
call fcn.004069a0
mov esi, dword [ebp - 0x844]
push edi
mov byte [ebp - 4], 2
lea ecx, [esi + 0x58]
call fcn.004069a0
mov al, byte [ebp + 0x18]
xorps xmm0, xmm0
mov byte [esi + 0x70], al
xor ecx, ecx
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x71], al
mov al, byte [ebp + 0x20]
mov byte [esi + 0x72], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x78]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 7
mov word [esi + 0x90], cx
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x492ffc
mov dword [ebp - 0x844], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x493018]
cmp eax, dword [0x49301c]
je 0x465b5c
mov dword [eax], esi
add dword [0x493018], 4
jmp 0x465b6e
lea ecx, [ebp - 0x844]
push ecx
push eax
mov ecx, 0x493014
call fcn.00465840
push 0x492ffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x71], 0
je 0x465b8a
mov dword [esi + 0x74], 0
mov byte [esi + 0x70], 0
cmp dword [esi + 0x50], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jae 0x465c64
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
call edi
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465bd0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00406bc0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0041abc0
add esp, 8
lea ecx, [esi + 0x40]
push eax
call fcn.0040e310
lea ecx, [ebp - 0x840]
call fcn.004068f0
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x465c64
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465c5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465de3
push edx
push ecx
call fcn.0043febe
add esp, 8
cmp dword [esi + 0x38], 1
jae 0x465d4a
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
call edi
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465ca4
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00406bc0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0041ac30
add esp, 8
lea edi, [esi + 0x28]
mov ecx, edi
push eax
call fcn.0040e310
lea ecx, [ebp - 0x840]
call fcn.004068f0
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x465d3a
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465d30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465de8
push edx
push ecx
call fcn.0043febe
add esp, 8
push 4
push str.logs
mov ecx, edi
call fcn.004075e0
jmp 0x465d4d
lea edi, [esi + 0x28]
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.0041ad00
add esp, 8
mov ecx, edi
push eax
call fcn.0040e310
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x465da1
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465d97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ded
push edx
push ecx
call fcn.0043febe
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x465da9
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, esi
call fcn.00466e40
push 0
mov ecx, esi
call fcn.00466f40
mov eax, esi
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.004406e4
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004453c3
call fcn.004453c3
call fcn.004453c3
int3