Function at 0x1004a97c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075a22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004aa67
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1004aa29
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x90]
call fcn.1003ab93
pop ecx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x58]
push dword [eax]
push dword [ebp - 0xb0]
call fcn.1004a8fb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
jmp 0x1004acf0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x1004aa62
push 0
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1004acf0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1004aaf0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.100243d3
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1004acf0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x3c], 0xd1f
mov dword [ebp - 0xb4], 0x10008ec8
cmp dword [ebp - 0x3c], 0xe04
jle 0x1004aba7
and dword [ebp - 0x20], 0
jmp 0x1004ab3b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x621e
jge 0x1004aba7
and dword [ebp - 0x18], 0
jmp 0x1004ab51
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x471a
jge 0x1004aba5
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xe4]
call fcn.1000aa40
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.10024220
push eax
call fcn.1005bb96
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.10024216
jmp 0x1004ab4a
jmp 0x1004ab34
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1004abe4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x33
je 0x1004acb1
mov dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x1004ac36
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1004ac1d
mov dword [ebp - 0x28], 1
jmp 0x1004ac21
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x1aa435c5
jl 0x1004ac36
mov dword [ebp - 0xa4], 1
jmp 0x1004ac3d
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
cmp eax, 0x83cd
jl 0x1004ac53
mov dword [ebp - 0x30], 1
jmp 0x1004ac57
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x30], eax
je 0x1004ac68
mov dword [ebp - 0x38], 1
jmp 0x1004ac6c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0xac]
call fcn.100243d3
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
imul ecx, dword [eax]
cmp esi, ecx
jne 0x1004ac96
mov dword [ebp - 0x34], 1
jmp 0x1004ac9a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1004acac
jmp 0x1004acb1
jmp 0x1004abd9
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x968
jge 0x1004acca
push dword [ebp - 0xb4]
call fcn.1005bb96
pop ecx
jmp 0x1004ace6
or dword [ebp - 4], 0xffffffff
jmp 0x1004acf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret