Function at 0x10024f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor eax, eax
push 0x11
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
cmp dword [ebp + 0x14], esi
mov byte [ebp - 0x15c], 0
mov byte [ebp - 0x260], 0
mov dword [ebp - 0x58], 0x44
stosd dword es:[edi], eax
je 0x10025cd
push 0x104
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.01003662
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x460]
push eax
push esi
push esi
push dword [ebp + 8]
call fcn.01003662
lea eax, [ebp - 0x360]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002590
sub eax, edx
mov dword [ebp + 8], eax
lea eax, [ebp - 0x360]
jne 0x10025a9
mov eax, 0x100120c
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.010035d2
add esp, 0x14
jmp 0x10025e2
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x15c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10025d8
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x100263a
lea eax, [ebp - 0x15c]
mov word [ebp - 0x260], 0x22
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025fa
lea edi, [ebp - 0x260]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100260a
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x260]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002629
mov esi, 0x1001208
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x1002688
cmp ebx, esi
je 0x1002659
lea edi, [ebp - 0x260]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100264a
mov esi, 0x1001204
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 0xc]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100265e
lea edi, [ebp - 0x260]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100266e
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push 8
push esi
push esi
neg ebx
push esi
lea eax, [ebp - 0x260]
sbb ebx, ebx
push eax
lea eax, [ebp - 0x15c]
not ebx
and ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100271c
cmp dword [ebp + 0x18], esi
je 0x1002708
cmp dword [ebp + 0x1c], esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp + 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
je 0x10026dc
push ebx
call esi
test eax, eax
je 0x10026dc
push 6
push ebx
call edi
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x10026f9
push ebx
call esi
test eax, eax
je 0x10026f9
push 9
push ebx
call edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x100271c
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x1c