Function at 0x407cc0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x41813c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0x138
ja 0x407d26
cmp dword [ebp - 0x250], 0x138
je 0x4080df
cmp dword [ebp - 0x250], 2
je 0x4081bd
cmp dword [ebp - 0x250], 0x110
je 0x407d4b
cmp dword [ebp - 0x250], 0x111
je 0x40814a
jmp 0x4081ca
cmp dword [ebp - 0x250], 0x200
je 0x407e58
cmp dword [ebp - 0x250], 0x201
je 0x407f53
jmp 0x4081ca
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00404d60
add esp, 4
push 6
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x68]
push edx
push 0x5c
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x41494c
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov dword [ebp - 0x58], 0x2bc
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x41983c], eax
push 1
mov eax, dword [0x41983c]
push eax
push 0x30
push 0x3fc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
lea edx, [ebp - 0xd8]
push edx
push 0x6c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 2
push 0x7e8
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [ebp - 0x140]
push ecx
push 0x403
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x32
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x414960
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
jmp 0x4081cc
mov eax, dword [ebp + 0x18]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp + 0x18]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x168]
push ecx
push 0x3f0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x158]
push ecx
push 0x3f1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x148]
push edx
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x407f3a
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x148]
push edx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x407f4e
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4081ca
mov ecx, dword [ebp + 0x18]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x238], edx
mov eax, dword [ebp + 0x18]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x234], ecx
lea edx, [ebp - 0x248]
push edx
push 0x3f0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x408022
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x64
lea edx, [ebp - 0x230]
push edx
push 0x3f0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 1
push 0
push 0
lea ecx, [ebp - 0x230]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4081ca
lea edx, [ebp - 0x248]
push edx
push 0x3f1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4080da
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push str.mailto:
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x5d
lea eax, [ebp - 0x222]
push eax
push 0x3f1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 1
push 0
push 0
lea edx, [ebp - 0x230]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4081ca
jmp 0x4081ca
push 0x3f0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0x18], eax
je 0x408107
push 0x3f1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0x18], eax
jne 0x408145
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x24c], edx
push 0xff0000
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
jmp 0x4081cc
jmp 0x4081ca
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jle 0x4081bb
cmp dword [ebp - 0x254], 2
jle 0x40819d
cmp dword [ebp - 0x254], 0x3ef
je 0x40817c
jmp 0x4081bb
mov ecx, dword [ebp + 0xc]
push ecx
push 0x404b50
mov edx, dword [ebp + 0xc]
push edx
push 0x403
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x4081bb
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
jmp 0x4081cc
jmp 0x4081ca
mov edx, dword [0x41983c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408348
mov esp, ebp
pop ebp
ret 0x14