Function at 0x10024de
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb04
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xb04], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x38
lea eax, [ebp - 0xb00]
push 0
push eax
mov dword [ebp - 0xac4], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0xe
pop ecx
mov esi, 0x1001b20
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
xor eax, eax
cmp ax, word [ebx]
je 0x10027dd
push 0x1001b14
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x10027dd
lea eax, [ebp - 0xac8]
push eax
push 0x104
lea eax, [ebp - 0xac0]
push eax
push ebx
call fcn.01002408
test al, al
je 0x100259b
push dword [ebp - 0xac8]
lea eax, [ebp - 0xac0]
push eax
call fcn.01002280
push dword [ebp - 0xac8]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
cmp esi, edi
setge al
jmp 0x10027ed
mov esi, 0x1001790
jmp 0x10025a8
mov ebx, dword [ebp - 0xac4]
push ebx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
mov ebx, 0x30c
test eax, eax
jne 0x10025cd
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10025e0
push eax
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x10025e0
add edi, 0x18
add esi, 0x18
cmp edi, 0x1f8
jb 0x10025a2
jmp 0x1002668
cmp dword [esi + 8], 0
je 0x1002645
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xaf4], 0x1001558
test eax, eax
je 0x100261f
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x44]
push eax
push 0x1001b04
lea eax, [ebp - 0x6b0]
push ebx
push eax
call fcn.01002221
add esp, 0x18
test eax, eax
jge 0x100263d
xor eax, eax
jmp 0x10027ed
push dword [esi + 0x10]
lea eax, [ebp - 0x44]
push eax
push 0x1001af8
lea eax, [ebp - 0x6b0]
push ebx
push eax
call fcn.01002221
add esp, 0x14
jmp 0x1002614
lea eax, [ebp - 0x6b0]
jmp 0x1002662
cmp dword [esi + 0xc], 0
je 0x1002656
push dword [esi + 0x14]
push dword [esi + 0x10]
jmp 0x10027df
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xaf4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xaf0], eax
cmp dword [ebp - 0xaf4], 0
jne 0x1002797
push dword [ebp - 0xac4]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpICW]
push 0x1001ad8
call esi
test eax, eax
je 0x10026a1
push dword [ebp - 0xac4]
push 0x1001ac4
call esi
test eax, eax
jne 0x1002727
push 0x14
pop ecx
mov esi, 0x1001a70
lea edi, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x104
mov esi, 0x1001a68
lea edi, [ebp - 0xc]
lea eax, [ebp - 0x8b8]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xac8]
push eax
movsw word es:[edi], word [esi]
call fcn.010022e3
test eax, eax
jl 0x1002618
cmp dword [ebp - 0xac8], 1
lea eax, [ebp - 0xc]
je 0x10026ef
mov eax, 0x1001988
lea ecx, [ebp - 0x98]
push ecx
push eax
lea eax, [ebp - 0x8b8]
push eax
push 0x1001a58
lea eax, [ebp - 0x6b0]
push ebx
push eax
call fcn.01002221
add esp, 0x18
test eax, eax
jl 0x1002618
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0xaf4], eax
cmp dword [ebp - 0xaf4], 0
jne 0x1002797
lea eax, [ebp - 0x44]
push eax
push ebx
lea eax, [ebp - 0x6b0]
push eax
call fcn.01002070
test eax, eax
jl 0x1002618
lea eax, [ebp - 0x6b0]
push eax
mov dword [ebp - 0xaf4], 0x1001558
mov dword [ebp - 0xaf0], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, ebx
sub edi, eax
push edi
lea esi, [ebp + eax*2 - 0x6b0]
push esi
push dword [ebp - 0xac4]
call fcn.01001e27
test eax, eax
je 0x1002797
push dword [ebp - 0xac4]
push edi
push esi
call fcn.01002070
test eax, eax
jl 0x1002618
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xaf8], 0x1001a4c
test eax, eax
jne 0x10027a9
inc eax
or dword [ebp - 0xb00], 0x2000300
push 0xffffffffffffffff
mov dword [ebp - 0xb04], 0x3c
mov dword [ebp - 0xae8], eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea eax, [ebp - 0xb04]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
inc eax
jmp 0x10027ed
push edi
push edi
call fcn.01002280
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002bbb
leave
ret 0x10