Function at 0x407cf0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x148
mov eax, dword [esp + 0x14c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov al, byte [0x444290]
test al, al
mov dword [esp + 0x18], ebx
ja 0x408071
test ebx, ebx
je 0x408071
push esi
call fcn.004078c0
mov esi, eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0x3c
test esi, esi
rep stosd dword es:[edi], eax
je 0x408071
mov eax, dword [esi + 0x20]
cmp eax, 1
je 0x407e09
cmp eax, 2
je 0x407e09
cmp eax, 6
je 0x407e09
mov byte [esp + 0x13], 0
xor al, al
push eax
push 1
call fcn.00408c70
mov eax, dword [esi + 0x20]
add esp, 8
test eax, eax
mov ebp, 0x437500
je 0x407d95
cmp eax, 1
jne 0x407eb5
mov ecx, dword [esi + 0x18]
xor bl, bl
push ecx
mov dword [esp + 0x18], ebp
call fcn.00425440
add esp, 4
lea edx, [esp + 0x14]
mov edi, eax
push edx
push 0
push edi
call fcn.0040fd20
test eax, eax
je 0x407ea3
mov cl, byte [eax]
mov dl, 0x5c
cmp cl, dl
jne 0x407e22
cmp byte [eax + 1], dl
jne 0x407e22
cmp byte [eax + 2], 0x3f
jne 0x407e02
cmp byte [eax + 3], dl
jne 0x407e22
mov cl, byte [eax + 4]
cmp cl, 0x55
je 0x407de3
cmp cl, 0x75
jne 0x407e22
mov cl, byte [eax + 5]
cmp cl, 0x4e
je 0x407df0
cmp cl, 0x6e
jne 0x407e22
mov cl, byte [eax + 6]
cmp cl, 0x43
je 0x407dfd
cmp cl, 0x63
jne 0x407e22
cmp byte [eax + 7], dl
jne 0x407e22
mov ecx, 1
jmp 0x407e24
mov byte [esp + 0x13], 1
call fcn.00408e30
test al, al
je 0x407d73
mov al, 1
jmp 0x407d75
xor ecx, ecx
neg cl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], 0
sbb ecx, ecx
mov dword [esp + 0x2c], eax
and ecx, 0x80
mov dword [esp + 0x30], edx
or ch, 4
mov dword [esp + 0x38], 1
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x1c]
cmp byte [eax], 0
je 0x407e93
lea ecx, [esp + 0x58]
push 0x100
push ecx
push eax
call fcn.0040bb90
test al, al
je 0x407e82
lea edx, [esp + 0x58]
mov dword [esp + 0x44], edx
jmp 0x407e89
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
or al, 1
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne bl
push edi
call fcn.00425310
test bl, bl
je 0x408071
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
cmp eax, 4
je 0x407ec2
cmp eax, 6
jne 0x407f38
mov edx, dword [esi + 0x18]
xor bl, bl
push edx
mov dword [esp + 0x18], ebp
call fcn.00425440
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0
push edi
call fcn.0040fd20
test eax, eax
je 0x407f26
mov edx, dword [esi + 0x20]
xor ecx, ecx
cmp edx, 6
jne 0x407ef6
mov ecx, 1
mov dl, byte [0x444290]
inc dl
mov byte [0x444290], dl
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x164]
push ecx
push eax
call fcn.00401710
mov bl, al
mov al, byte [0x444290]
dec al
mov byte [0x444290], al
push edi
call fcn.00425310
test bl, bl
je 0x408071
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x20], 3
jne 0x407f89
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.00424e40
mov ebp, eax
test ebp, ebp
je 0x407f85
mov ecx, dword [esi + 0x18]
push 0
push 0
push edi
push ebp
push 0
push ecx
call fcn.00426760
test al, al
je 0x407f7f
mov edx, dword [esp + 0x15c]
push 0
push ebp
push edx
call fcn.00401100
push ebp
call fcn.00425310
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
mov ebp, dword [esp + 0x15c]
test al, al
je 0x407fa5
push 0
push 0
push 0x10
push ebp
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0x20], 5
jne 0x407fb4
push 6
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x20], 7
jne 0x407fbf
call fcn.00405b30
cmp dword [esi + 0x20], 8
jne 0x407fca
call fcn.00405bb0
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xb
jne 0x407ff4
push 0
push 0
push 0xf0
push ebx
call edi
test eax, eax
jne 0x407fef
call fcn.00405b30
jmp 0x407ff4
call fcn.00405bb0
cmp dword [esi + 0x20], 0xc
jne 0x408017
push 0
push 0
push 0xf0
push ebx
call edi
test eax, eax
jne 0x40800d
push eax
jmp 0x40800f
push 1
call fcn.00408dc0
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, 0xb
je 0x408024
cmp eax, 0xc
jne 0x408044
push 0
push 0
push 0xf0
push ebx
call edi
test eax, eax
push 0
jne 0x40803a
push 1
jmp 0x40803c
push 0
push 0xf1
push ebx
call edi
cmp dword [esi + 0x20], 9
jne 0x408054
mov eax, dword [esi + 0x18]
push eax
push ebp
call fcn.0040c0a0
cmp dword [esi + 0x20], 0xa
jne 0x408062
push 1
push ebp
call fcn.00402130
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x148
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x148
ret 8