Function at 0x42a100
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ae8b
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x48a034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x844], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x848], edi
mov dword [edi + 0x24], 0
lea ebx, [edi + 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00412150
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 1
push esi
call fcn.00412150
mov al, byte [ebp + 0x14]
mov byte [edi + 0x58], al
mov al, byte [ebp + 0x18]
mov byte [edi + 0x59], al
mov al, byte [ebp + 0x1c]
mov byte [edi + 0x5a], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x5c], eax
xor eax, eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
lea eax, [edi + 0x60]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x48fd70
mov dword [ebp - 0x844], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x48fd8c]
cmp eax, dword [0x48fd90]
je 0x42a1d1
mov dword [eax], edi
add dword [0x48fd8c], 4
jmp 0x42a1e3
lea ecx, [ebp - 0x844]
push ecx
push eax
mov ecx, 0x48fd88
call fcn.00429ee0
push 0x48fd70
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi + 0x59], 0
je 0x42a1ff
mov dword [edi + 0x5c], 0
mov byte [edi + 0x58], 0
cmp dword [edi + 0x50], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jae 0x42a2d9
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
call esi
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 0x42a245
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.0040a1e0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.00428040
add esp, 8
lea ecx, [edi + 0x40]
push eax
call fcn.004083a0
lea ecx, [ebp - 0x840]
call fcn.00408340
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42a2d9
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a2cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a458
push edx
push ecx
call fcn.0042ef11
add esp, 8
cmp dword [edi + 0x38], 1
jae 0x42a3c1
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
call esi
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 dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a320
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.0040a1e0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004280b0
add esp, 8
mov ecx, ebx
push eax
call fcn.004083a0
lea ecx, [ebp - 0x840]
call fcn.00408340
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42a3b3
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a3a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a45d
push edx
push ecx
call fcn.0042ef11
add esp, 8
push 4
push 0x46e2b8
mov ecx, ebx
call fcn.004124a0
lea eax, [ebp - 0x828]
push ebx
push eax
call fcn.00428240
add esp, 8
mov ecx, ebx
push eax
call fcn.004083a0
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x42a415
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a40b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a462
push edx
push ecx
call fcn.0042ef11
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x42a41d
mov ebx, dword [ebx]
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, edi
call fcn.0042b540
push 0
mov ecx, edi
call fcn.0042b770
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecb
mov esp, ebp
pop ebp
ret 0x18
call fcn.00450732
call fcn.00450732
call fcn.00450732
int3