Function at 0x401f07
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
mov word [ebp - 8], ax
mov cx, word [ebp + 0xc]
mov word [ebp - 4], cx
mov edx, dword [ebp - 4]
and edx, 0xffff
mov dword [ebp - 0x264], edx
cmp dword [ebp - 0x264], 0xc9
je 0x4021bd
cmp dword [ebp - 0x264], 0x3e8
je 0x401fe0
cmp dword [ebp - 0x264], 0x3ea
je 0x401f67
jmp 0x402261
push 0x3e8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x188
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x401fdb
push 0
push 0
push 0x18b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0xc], eax
jge 0x401fdb
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x199
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax]
push ecx
call dword [edx + 0x18]
jmp 0x402261
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0x188
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4021b8
push 0
push 0
push 0x18b
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], eax
jge 0x4021b8
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x199
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
cmp dword [edx + 0x128], 0
je 0x402098
push 0
push 0
push 0x200
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 0x128]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x402080
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
push 0x3eb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x4020ac
push 0x417f7c
push 0x3eb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 0x134]
and ecx, 1
test ecx, ecx
je 0x402120
push 5
push 0x3ea
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x64
lea eax, [ebp - 0x250]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 0x130]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x402108
mov byte [ebp - 0x250], 0
lea eax, [ebp - 0x250]
push eax
push 0x3ea
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x402138
push 0
push 0x3ea
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x254]
cmp dword [eax + 4], 0
je 0x402196
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
cmp edx, dword [0x417f74]
je 0x402194
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
mov dword [0x417f74], ecx
push 0
push 0xc9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0xc9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4021b8
mov dword [0x417f74], 0
push 0
push 0xc9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402261
push 0x3e8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x25c], eax
push 0
push 0
push 0x188
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
jl 0x402261
push 0
push 0
push 0x18b
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x258], eax
jge 0x402261
push 0
mov edx, dword [ebp - 0x258]
push edx
push 0x199
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
cmp dword [ecx + 8], 0
je 0x402261
push 0xa
push 0
push 0
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 8]
push eax
push str.open
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc