Function at 0x468630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4ad06c]
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], vtable.Util::StdLogFile.0
mov dword [ecx + 0x2c], 0
add ecx, 0x30
mov dword [ebp - 4], 0
push eax
call fcn.00407ec0
mov ecx, dword [ebp - 0x844]
add ecx, 0x48
mov byte [ebp - 4], 1
push esi
call fcn.00407ec0
mov esi, dword [ebp - 0x844]
push edi
mov byte [ebp - 4], 2
lea ecx, [esi + 0x60]
call fcn.00407ec0
mov al, byte [ebp + 0x18]
xorps xmm0, xmm0
mov byte [esi + 0x78], al
xor ecx, ecx
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x79], al
mov al, byte [ebp + 0x20]
mov byte [esi + 0x7a], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x7c], eax
lea eax, [esi + 0x84]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 7
mov word [esi + 0x9c], cx
push eax
mov byte [ebp - 4], 4
mov byte [esi + 0x80], cl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4b4ae8
mov dword [ebp - 0x844], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4b4b04]
cmp eax, dword [0x4b4b08]
je 0x46873b
mov dword [eax], esi
add dword [0x4b4b04], 4
jmp 0x46874d
lea ecx, [ebp - 0x844]
push ecx
push eax
mov ecx, 0x4b4b00
call fcn.00468410
push 0x4b4ae8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x79], 0
je 0x468769
mov dword [esi + 0x7c], 0
mov byte [esi + 0x78], 0
cmp dword [esi + 0x58], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jae 0x468844
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]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4687b0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00408d10
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.00426410
add esp, 8
lea ecx, [esi + 0x48]
push eax
call fcn.00410c40
lea ecx, [ebp - 0x840]
call fcn.00407e10
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x468844
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46883a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4689c3
push edx
push ecx
call fcn.00441bd4
add esp, 8
cmp dword [esi + 0x40], 1
jae 0x46892a
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 0x468884
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00408d10
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.00426480
add esp, 8
lea edi, [esi + 0x30]
mov ecx, edi
push eax
call fcn.00410c40
lea ecx, [ebp - 0x840]
call fcn.00407e10
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x46891a
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468910
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4689c8
push edx
push ecx
call fcn.00441bd4
add esp, 8
push 4
push str.logs
mov ecx, edi
call fcn.0040b590
jmp 0x46892d
lea edi, [esi + 0x30]
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.00426550
add esp, 8
mov ecx, edi
push eax
call fcn.00410c40
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x468981
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4689cd
push edx
push ecx
call fcn.00441bd4
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x468989
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, esi
call fcn.00469df0
push 0
mov ecx, esi
call fcn.00469ef0
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.00441e56
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00449ddd
call fcn.00449ddd
call fcn.00449ddd
int3