Function at 0x102fad2
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x1080bec]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x648], esi
jne 0x102fb02
and dword [ebp - 0x64c], ecx
jmp 0x102fb0b
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64c], eax
movzx eax, word [esi]
xor edx, edx
inc edx
cmp eax, edx
je 0x102fdd4
cmp eax, 4
jle 0x102ffd1
cmp eax, 8
jle 0x102fb41
cmp eax, 0xb
jne 0x102ffd1
push 0x800403f9
mov ecx, ebx
call fcn.01031a70
jmp 0x102ffd1
mov eax, dword [ebx + 0xd0]
mov edi, dword [eax + 0x2a0]
lea ecx, [edi + 0x285]
cmp byte [ecx], 0
mov dword [ebp - 0x650], edi
je 0x102fc18
cmp dword [edi + 0x38c], 0
jne 0x102fc18
cmp dword [edi + 0x390], 0
jne 0x102fc18
cmp dword [edi + 0x3a0], 5
jae 0x102fc18
mov eax, dword [eax + 0x2a0]
inc dword [eax + 0x3a0]
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax + 0x2a0]
push 5
push ecx
mov dword [eax + 0x390], edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x664], eax
dec eax
dec eax
je 0x102fbd0
dec eax
je 0x102fbc9
sub eax, 8
jne 0x102fbe6
push 0x1571
jmp 0x102fbd5
push 0x1573
jmp 0x102fbd5
push 0x1572
call fcn.0106bcca
push eax
push dword [ebp - 0x64c]
call fcn.0106bdb1
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax + 0x2a0]
and dword [eax + 0x390], 0
cmp dword [ebp - 0x664], 0x1f
ja 0x102fc18
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax + 0x2a0]
mov dword [eax + 0x38c], 1
movzx eax, byte [edi + 0x25c]
dec eax
je 0x102fc40
dec eax
je 0x102fc39
dec eax
je 0x102fc32
dec eax
jne 0x102fc5a
push 0x1577
jmp 0x102fc45
push 0x1576
jmp 0x102fc45
push 0x1575
jmp 0x102fc45
push 0x1574
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov eax, dword [esi + 0x228]
test eax, eax
je 0x102fca8
mov edx, dword [ebx + 0xd0]
mov edi, dword [edx + 0x2c0]
push 0x16
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x188], 0
mov esi, dword [ebp - 0x648]
jne 0x102fca2
push dword [esi + 0x228]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi + 0x228], 0
mov edi, dword [ebp - 0x650]
movzx eax, byte [edi + 0x25d]
sub eax, 0
je 0x102fd62
dec eax
dec eax
je 0x102fcf9
dec eax
jne 0x102ffd7
push ebx
call fcn.01032ab5
mov edi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push dword [ebp - 0x64c]
call edi
mov ecx, ebx
call fcn.0102f073
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
push 0
push dword [ebp - 0x64c]
call edi
push 0x157a
jmp 0x102fd2d
push ebx
call fcn.01032ab5
mov edi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push dword [ebp - 0x64c]
call edi
mov ecx, ebx
call fcn.0102f073
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
push 0
push dword [ebp - 0x64c]
call edi
push 0x1578
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
push 0
push 0x1389
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
mov ecx, ebx
call sub.MFC42u.dll_CWnd::MessageBoxW
jmp 0x102ffd1
mov eax, dword [ebx + 0xd0]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax + 0x398]
mov edx, dword [eax + 0x39c]
mov eax, ecx
or eax, edx
je 0x102fda3
mov eax, dword [esi + 0xe]
sub eax, ecx
mov ecx, dword [esi + 0x12]
sbb ecx, edx
mov dword [ebp - 0x664], ecx
js 0x102ffd1
jg 0x102fda3
cmp eax, 0xf4240
jbe 0x102ffd1
push ebx
call fcn.01032ab5
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esi + 0xe]
mov eax, dword [eax + 0x2a0]
mov dword [eax + 0x398], ecx
mov ecx, dword [esi + 0x12]
mov dword [eax + 0x39c], ecx
jmp 0x102ffd1
push ebx
call fcn.01032ab5
and word [ebp - 0x644], 0
test byte [esi + 7], 0x80
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
je 0x102fe0d
push 0x157c
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0xf0]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 0x40
je 0x102fe38
push 0x157d
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0xf4]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 0x20
je 0x102fe63
push 0x157e
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0xf8]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 0x10
je 0x102fe8e
push 0x157f
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0xfc]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 8
je 0x102feb9
push 0x1580
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0x100]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 4
je 0x102fee4
push 0x1581
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0x104]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
test byte [eax + 7], 2
je 0x102ff0f
push 0x1582
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
mov eax, dword [ebx + 0x108]
pop ecx
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x648]
cmp dword [eax + 6], 0
jne 0x102ff29
mov eax, dword [ebx + 0xec]
mov dword [edi + 4], eax
jmp 0x102ffcb
cmp word [ebp - 0x644], 0
jne 0x102ff49
push 0x1583
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x660]
push eax
movzx eax, word [ebp - 0x65a]
push eax
movzx eax, word [ebp - 0x65e]
push eax
movzx eax, word [ebp - 0x654]
push eax
movzx eax, word [ebp - 0x656]
push eax
movzx eax, word [ebp - 0x658]
push eax
push 0x1585
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [ebp + eax*2 - 0x644]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push 0
push 0x1389
call fcn.0106bcca
push eax
lea eax, [ebp - 0x644]
push eax
mov ecx, ebx
call sub.MFC42u.dll_CWnd::MessageBoxW
mov esi, dword [ebp - 0x648]
push esi
call sub.NMSUPP.dll_FreeMemory
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01070ac3
leave
ret 8