Function at 0x407a10
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x140
push ebx
push esi
mov esi, dword [esp + 0x150]
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov cl, byte [0x442238]
test cl, cl
ja 0x407cc0
test eax, eax
je 0x407cc0
push esi
call fcn.00407690
mov esi, eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0x3c
test esi, esi
rep stosd dword es:[edi], eax
je 0x407cc0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x407a77
cmp eax, 1
jne 0x407b7e
mov ecx, dword [esi + 0x18]
xor bl, bl
push ecx
mov dword [esp + 0x10], 0x4354f0
call fcn.004239b0
add esp, 4
lea edx, [esp + 0xc]
mov edi, eax
push edx
push 0
push edi
call fcn.0040f450
test eax, eax
je 0x407b70
mov cl, byte [eax]
mov dl, 0x5c
cmp cl, dl
jne 0x407aef
cmp byte [eax + 1], dl
jne 0x407aef
cmp byte [eax + 2], 0x3f
jne 0x407ae8
cmp byte [eax + 3], dl
jne 0x407aef
mov cl, byte [eax + 4]
cmp cl, 0x55
je 0x407ac9
cmp cl, 0x75
jne 0x407aef
mov cl, byte [eax + 5]
cmp cl, 0x4e
je 0x407ad6
cmp cl, 0x6e
jne 0x407aef
mov cl, byte [eax + 6]
cmp cl, 0x43
je 0x407ae3
cmp cl, 0x63
jne 0x407aef
cmp byte [eax + 7], dl
jne 0x407aef
mov ecx, 1
jmp 0x407af1
xor ecx, ecx
neg cl
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
sbb ecx, ecx
mov dword [esp + 0x20], eax
and ecx, 0x80
mov dword [esp + 0x24], edx
or ch, 4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x1c]
cmp byte [eax], 0
je 0x407b60
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push eax
call fcn.0040b380
test al, al
je 0x407b4f
lea edx, [esp + 0x4c]
mov dword [esp + 0x38], edx
jmp 0x407b56
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
or al, 1
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
push edi
call fcn.00423880
test bl, bl
je 0x407cc0
mov eax, dword [esi + 0x20]
cmp eax, 4
je 0x407b8b
cmp eax, 6
jne 0x407c01
mov edx, dword [esi + 0x18]
xor bl, bl
push edx
mov dword [esp + 0x10], 0x4354f0
call fcn.004239b0
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
push edi
call fcn.0040f450
test eax, eax
je 0x407bf3
mov edx, dword [esi + 0x20]
xor ecx, ecx
cmp edx, 6
jne 0x407bc3
mov ecx, 1
mov dl, byte [0x442238]
inc dl
mov byte [0x442238], dl
mov edx, dword [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x158]
push ecx
push eax
call fcn.00401710
mov bl, al
mov al, byte [0x442238]
dec al
mov byte [0x442238], al
push edi
call fcn.00423880
test bl, bl
je 0x407cc0
cmp dword [esi + 0x20], 3
jne 0x407c4e
mov edi, dword [esi + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
push edi
call fcn.004233b0
mov ebx, eax
test ebx, ebx
je 0x407c4e
mov ecx, dword [esi + 0x18]
push 0
push 0
push edi
push ebx
push 0
push ecx
call fcn.00424cd0
test al, al
je 0x407c48
mov edx, dword [esp + 0x150]
push 0
push ebx
push edx
call fcn.00401100
push ebx
call fcn.00423880
mov eax, dword [esi + 0x20]
cmp eax, 1
je 0x407c60
cmp eax, 2
je 0x407c60
cmp eax, 6
jne 0x407c76
mov edi, dword [esp + 0x150]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x407c7d
mov edi, dword [esp + 0x150]
cmp dword [esi + 0x20], 5
jne 0x407c8c
push 6
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x20], 7
jne 0x407c97
call fcn.004058c0
cmp dword [esi + 0x20], 8
jne 0x407ca2
call fcn.00405940
cmp dword [esi + 0x20], 9
jne 0x407cb2
mov eax, dword [esi + 0x18]
push eax
push edi
call fcn.0040b8a0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x140
ret 8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x140
ret 8