Function at 0x42f800
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47381c
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x494048]
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.00404940
mov ecx, dword [ebp - 0x844]
add ecx, 0x40
mov byte [ebp - 4], 1
push esi
call fcn.00404940
mov esi, dword [ebp - 0x844]
push edi
mov byte [ebp - 4], 2
lea ecx, [esi + 0x58]
call fcn.00404940
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 0x4969a8
mov dword [ebp - 0x844], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4969c4]
cmp eax, dword [0x4969c8]
je 0x42f8fc
mov dword [eax], esi
add dword [0x4969c4], 4
jmp 0x42f90e
lea ecx, [ebp - 0x844]
push ecx
push eax
mov ecx, 0x4969c0
call fcn.0042f5e0
push 0x4969a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x71], 0
je 0x42f92a
mov dword [esi + 0x74], 0
mov byte [esi + 0x70], 0
cmp dword [esi + 0x50], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jae 0x42fa04
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 0x42f970
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00404a00
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0042ea50
add esp, 8
lea ecx, [esi + 0x40]
push eax
call fcn.00406110
lea ecx, [ebp - 0x840]
call fcn.00404890
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42fa04
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f9fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb83
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [esi + 0x38], 1
jae 0x42faea
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 0x42fa44
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00404a00
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0042eac0
add esp, 8
lea edi, [esi + 0x28]
mov ecx, edi
push eax
call fcn.00406110
lea ecx, [ebp - 0x840]
call fcn.00404890
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42fada
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb88
push edx
push ecx
call fcn.00448b15
add esp, 8
push 4
push str.logs
mov ecx, edi
call fcn.00404b90
jmp 0x42faed
lea edi, [esi + 0x28]
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.0042eb90
add esp, 8
mov ecx, edi
push eax
call fcn.00406110
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x42fb41
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fb37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fb8d
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x42fb49
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, esi
call fcn.00430f60
push 0
mov ecx, esi
call fcn.00431060
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.0044937d
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
int3