Function at 0x21765fe0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, esi
add eax, 0xfffffc0d
cmp eax, 0xf
ja case.0x21766004.1012
jmp dword [eax*4 + 0x2176600b]
push 0
push 0
push 0xf0
push 0x3f7
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov dword [0x217680f4], eax
push 0x217680f4
push 0x2176658c
push 0x21766594
push 0x80000001
call fcn.2176486c
jmp case.0x21766004.1012
push 0
push 0x402
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_GetMenuState
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jne 0x217660ab
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x217660b2
mov dword [ebp - 8], 8
mov eax, dword [ebp - 8]
push eax
push 0x402
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
lea eax, [ebp - 8]
push eax
push 0x217665b0
push 0x21766594
push 0x80000001
call fcn.2176486c
jmp case.0x21766004.1012
push 0
push 0x401
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_GetMenuState
cmp eax, 8
jne 0x21766126
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call sub.user32.dll_SetWindowPos
push 0
push 0x401
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
jmp case.0x21766004.1012
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call sub.user32.dll_SetWindowPos
push 8
push 0x401
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
jmp case.0x21766004.1012
push 0
push 0x3f6
push ebx
call sub.user32.dll_SetDlgItemTextA
jmp case.0x21766004.1012
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageA
jmp case.0x21766004.1012
lea eax, [ebp - 0x117]
xor ecx, ecx
mov edx, 0x10f
call fcn.217625a8
call sub.kernel32.dll_GetCommandLineA_1
push eax
call fcn.217640e4
push eax
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x217665bc
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x117]
push eax
call fcn.21763ec0
test eax, eax
je 0x217661db
push 5
push 0
push 0
lea eax, [ebp - 0x117]
push eax
push 0x217665c4
push ebx
call sub.shell32.dll_ShellExecuteA
jmp case.0x21766004.1012
push ebx
push 0x40
push 0x217665cc
call fcn.21763e98
jmp case.0x21766004.1012
cmp esi, 0x3fa
jne 0x21766202
push ebx
push 0x40
push 0x217665e0
call fcn.21763e98
lea eax, [ebp - 0x117]
xor ecx, ecx
mov edx, 0x10f
call fcn.217625a8
cmp esi, 0x3fd
jne 0x21766238
push 0x18
mov eax, dword [0x21768100]
push eax
call fcn.21764c64
push eax
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcpyA
jmp 0x21766252
push 0x13
mov eax, dword [0x217680fc]
push eax
call fcn.21764c64
push eax
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
push 0
push 0
lea eax, [ebp - 0x117]
push eax
push 0x217665c4
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.0x21766004.1012
push ebx
call fcn.21765a5c
jmp case.0x21766004.1012
push ebx
call fcn.21765e1c
test eax, eax
jne 0x21766297
push ebx
push 0x30
push 0x21766794
call fcn.21763e98
jmp case.0x21766004.1012
cmp dword [0x217680f0], 0
je 0x21766331
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
call fcn.217658e8
test eax, eax
je case.0x21766004.1012
mov eax, dword [0x217680f8]
mov eax, dword [eax]
cmp byte [eax], 1
jne case.0x21766004.1012
mov eax, dword [0x217680f8]
mov eax, dword [eax]
mov byte [eax], 2
push 0x8b
mov eax, dword [0x217680f8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FlushViewOfFile
xor eax, eax
mov dword [0x217680f0], eax
push 0x217667bc
push 0x3f3
push ebx
call sub.user32.dll_SetDlgItemTextA
push 0x217667c8
call fcn.21765df8
push 0x217667c8
push 0x3ff
push ebx
call sub.user32.dll_SetDlgItemTextA
push 0
push 0x3f3
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
jmp case.0x21766004.1012
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
xor ecx, ecx
mov edx, 0x81
call fcn.217625a8
push 0x81
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
push 0x3f5
push ebx
call sub.user32.dll_GetDlgItemTextA
push 0
push 0x3f3
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
call fcn.21765ecc
mov esi, eax
cmp esi, 5
jae 0x217663c6
push ebx
push 0x30
push 0x217667d8
call fcn.21763e98
push 0x3f5
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
push 0x217667bc
push 0x3f3
push ebx
call sub.user32.dll_SetDlgItemTextA
xor eax, eax
mov dword [0x217680f0], eax
jmp case.0x21766004.1012
mov eax, dword [0x217680f8]
mov eax, dword [eax]
mov dword [eax + 1], ebx
push 0
push 0
push 0x147
push 0x3f4
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov edx, dword [0x217680f8]
mov edx, dword [edx]
mov byte [edx + 5], al
mov eax, dword [0x217680f8]
mov eax, dword [eax]
mov dword [eax + 6], esi
push 0x8b
mov eax, dword [0x217680f8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FlushViewOfFile
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
call fcn.217658e8
test eax, eax
jne 0x217664a0
call sub.kernel32.dll_GetCommandLineA_1
push eax
call fcn.21764148
mov dword [ebp - 4], eax
lea eax, [ebp - 0x117]
xor ecx, ecx
mov edx, 0x10f
call fcn.217625a8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_lstrlenA
dec eax
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcpynA
push 0x217667ec
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrlenA
lea eax, [ebp + eax - 0x117]
push eax
push esi
call fcn.217646e0
push 5
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_WinExec
push 0x64
call sub.kernel32.dll_Sleep
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
call fcn.217658e8
test eax, eax
jne 0x217664d3
push 0x217667bc
push 0x3f3
push ebx
call sub.user32.dll_SetDlgItemTextA
push 0x217667f0
call fcn.21765df8
jmp case.0x21766004.1012
mov eax, dword [0x217680f8]
mov eax, dword [eax]
mov byte [eax], 1
push 0x8b
mov eax, dword [0x217680f8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FlushViewOfFile
push 0x21766800
push 0x3f3
push ebx
call sub.user32.dll_SetDlgItemTextA
push 8
push 0x3f3
push ebx
call sub.user32.dll_GetMenu
push eax
call sub.user32.dll_CheckMenuItem
push 0
push 0x3f6
push ebx
call sub.user32.dll_SetDlgItemTextA
lea eax, [ebp - 0x117]
xor ecx, ecx
mov edx, 0x10f
call fcn.217625a8
push 0x2176680c
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [0x217680f8]
mov eax, dword [eax]
add eax, 0xa
push eax
lea eax, [ebp - 0x117]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x117]
push eax
call fcn.21765df8
lea eax, [ebp - 0x117]
push eax
push 0x3ff
push ebx
call sub.user32.dll_SetDlgItemTextA
mov dword [0x217680f0], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10