Function at 0x41a350
Capabilities:
Create process on windows
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov eax, dword [0x4661f8]
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x41a3b2
mov eax, dword [0x4a1584]
push 5
push 0
push 0
push 0x45e0a8
push 0x45e0a0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4a1528]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, eax
push 0
push ebp
call esi
mov edx, dword [0x4a17b0]
mov eax, dword [edx - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, 0xc8
or eax, ecx
jge 0x41a404
push 0xc8
mov ecx, 0x4a17b0
call fcn.00402c90
mov edx, dword [0x4a17b0]
mov eax, dword [0x4a17b4]
push eax
push 0xc8
push edx
push 0x45c544
push 0x45e098
push 0x45e08c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov edx, dword [0x4a17b0]
test edx, edx
jne 0x41a433
xor eax, eax
jmp 0x41a447
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a438
sub eax, edi
js 0x41a7e0
cmp eax, dword [edx - 8]
jg 0x41a7e0
mov dword [edx - 0xc], eax
mov ecx, dword [0x4a17b0]
mov byte [ecx + eax], 0
mov edx, dword [0x4a17b0]
push 0x45c544
push edx
call fcn.0044d528
add esp, 8
test eax, eax
je 0x41a48b
mov eax, dword [0x4a17b0]
push eax
call fcn.00418980
add esp, 4
test eax, eax
jne 0x41a5ed
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, 0x13
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov byte [esp + 0x198], al
mov byte [esp + 0x98], al
mov eax, dword [0x4a1de4]
lea ecx, [esp + 0x198]
lea edx, [esp + 0x98]
xor edi, edi
mov dword [esp + 0x94], 1
mov dword [esp + 0x48], 0x4c
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 0x104
mov dword [esp + 0x84], 0x45e080
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], pe_nt_image_headers32
mov dword [esp + 0x7c], 0x880824
mov dword [esp + 0x54], 0x45e05c
mov dword [esp + 0x50], eax
mov dword [esp + 0x8c], 0x40dc90
mov dword [esp + 0x4c], edi
mov dword [esp + 0x28], 0x45df54
mov dword [esp + 0x2ac], edi
mov dword [esp + 0x78], 0x45e040
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x2c]
call fcn.004183e0
cmp eax, 1
jne 0x41a575
lea ecx, [esp + 0x198]
push ecx
mov ecx, 0x4a17b0
call fcn.00402f60
mov edx, dword [0x4a17b0]
push edx
call fcn.00418980
add esp, 4
test eax, eax
jne 0x41a5ad
push 1
push ebp
call esi
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x41a39a
push eax
push edi
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a17b4]
mov ecx, dword [0x4a17b0]
push eax
push ecx
push 0x45e098
push 0x45e08c
call dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [esp + 0x2ac], 0xffffffff
je 0x41a5ed
push eax
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [0x4a17b0]
push 0x4a166c
push edx
call fcn.00418be0
add esp, 8
call fcn.00419e50
push 0
mov dword [0x4a150c], eax
mov eax, dword [0x4a1528]
push 0x5e9
push eax
call ebx
push eax
call esi
mov ecx, dword [0x4a1528]
push 0
push 0x602
push ecx
call ebx
push eax
call esi
mov edx, dword [0x4a1528]
push 0
push 0x604
push edx
call ebx
push eax
call esi
mov eax, dword [0x4a1524]
test eax, eax
mov edi, 1
mov dword [0x4a1414], edi
je 0x41a664
push edi
push 0x5b8
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x406410
push 0
push 0
call fcn.0044df71
add esp, 0x18
test eax, eax
jne 0x41a6a7
mov ecx, dword [0x4a1584]
push eax
push 0x45c840
push 0x45e02c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
mov dword [0x4661f8], edi
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword [0x4a1584]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [0x4a1584]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
sub ecx, ebx
inc ecx
push ecx
sub edx, dword [esp + 0x20]
push edx
push 0
push 0x286
push 0
push eax
call edi
mov eax, dword [0x4a1408]
mov ebx, 1
cmp eax, ebx
jne 0x41a71a
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [0x4a1584]
push ebx
sub ecx, edx
mov edx, dword [esp + 0x24]
inc ecx
push ecx
sub edx, dword [esp + 0x20]
push edx
push 0
push 0x146
push 0
push eax
call edi
push 0
push ebp
call esi
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x320
jne 0x41a74f
cmp dword [0x46639c], ebx
jne 0x41a74f
mov ecx, dword [0x4a1584]
push 0
push 0x8004
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x410100
push 0
push 0
call fcn.0044df71
add esp, 0x18
test eax, eax
jne 0x41a791
push eax
mov eax, dword [0x4a1584]
push 0x45c840
push 0x45e02c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
mov dword [0x4661f8], ebx
call dword [sym.imp.kernel32.dll_ExitProcess]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x407da0
push 0
push 0
call fcn.0044df71
add esp, 0x18
test eax, eax
jne 0x41a7bc
push ebx
mov dword [0x4661f8], ebx
call dword [sym.imp.kernel32.dll_ExitProcess]
push 0x45e020
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esp + 0x2a4]
pop edi
mov eax, ebx
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004027c0
int3