Function at 0x411da0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x46c2d8]
sub esp, 0x138
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push edi
push eax
push 0x62c
push 0x466cec
mov ebx, ecx
push 0x466998
call ebp
mov dword [ebx + 0xe0], eax
mov ecx, dword [0x46c2d8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x14]
push 0x104
push edx
push str.User
push 0x466cdc
push 0x466998
call edi
lea eax, [esp + 0x10]
lea esi, [ebx + 0xec]
test eax, eax
je 0x411e10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push eax
call fcn.004166a0
mov eax, dword [0x46c2d8]
lea ecx, [esp + 0x10]
push eax
push 0x104
push ecx
push str.SSPS
push 0x466ccc
push 0x466998
call edi
lea edx, [esp + 0x10]
lea esi, [ebx + 0xe8]
test edx, edx
jne 0x411e50
xor eax, eax
jmp 0x411e5b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, esi
call fcn.004166a0
mov edx, dword [0x46c2d8]
push edx
push 1
push 0x466cc0
push 0x466998
call ebp
mov dword [ebx + 0xf4], eax
mov eax, dword [0x46c2d8]
push eax
push 1
push 0x466cb4
push 0x466998
call ebp
mov dword [ebx + 0xf0], eax
mov ecx, dword [0x46c2d8]
push ecx
push 1
push 0x466ca8
push 0x466998
call ebp
cmp eax, 1
mov dword [ebx + 0xb0], eax
je 0x411ec7
mov dword [ebx + 0xb0], 2
xor esi, esi
jmp 0x411ed1
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea edx, [esp + 0x118]
push 0x466c98
push edx
call fcn.0042910f
mov eax, dword [0x46c2d8]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push eax
push 0x104
push ecx
push 0x46c22c
push edx
push 0x466998
call edi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411f34
mov ecx, dword [ebx + 0xe4]
lea eax, [esp + 0x10]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc esi
cmp esi, 0xa
jl 0x411ecb
mov edx, dword [0x46c2d8]
lea eax, [esp + 0x10]
push edx
push 0x104
push eax
push str.127.0.0.1
push 0x466c80
push 0x466998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebx + 0xe4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x10]
lea edi, [ebx + 0xf8]
test eax, eax
jne 0x411f84
xor esi, esi
jmp 0x411f91
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
mov ecx, edi
call fcn.00416760
test eax, eax
je 0x411fbd
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push esi
lea eax, [esi + 1]
push edx
push eax
push ecx
call fcn.00410080
mov edx, dword [edi]
add esp, 0x10
mov dword [edx - 8], esi
mov eax, dword [edi]
mov byte [esi + eax], 0
mov ecx, dword [0x46c2d8]
push ecx
push 1
push 0x466c78
push 0x466998
call ebp
mov dword [ebx + 0x200], eax
mov edx, dword [0x46c2d8]
push edx
push 0
push 0x466c6c
push 0x466998
call ebp
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x204], eax
test eax, eax
je 0x412022
mov eax, dword [ebx + 0x68]
push 0x466c48
push 0
push 0x181
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 4]
push 0
push 0x3e8
push 2
push ecx
call esi
mov edx, dword [0x46c2d8]
push edx
push 0xbb8
push 0x466c3c
push 0x466998
call ebp
mov ecx, dword [ebx + 0x200]
mov dword [ebx + 0x208], eax
test ecx, ecx
je 0x412055
push 0
push eax
mov eax, dword [ebx + 4]
push 1
push eax
call esi
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 1
push esi
lea edx, [esp + 0x118]
push 0x466c30
push edx
call fcn.0042910f
mov eax, dword [0x46c2d8]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push eax
push 0x104
push ecx
push 0x46c22c
push edx
push 0x466998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4120d1
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x10]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc esi
cmp esi, 0xa
jl 0x41206d
mov edx, dword [0x46c2d8]
lea eax, [esp + 0x10]
push edx
push 0x104
push eax
push 0x46c22c
push 0x4669a0
push 0x466998
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebx + 0x5c]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [esp + 0x10]
test eax, eax
jne 0x412118
xor ebp, ebp
jmp 0x412125
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
mov eax, dword [ebx + 0xbc]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x41213b
cmp ebp, dword [eax - 4]
jle 0x4121ac
mov edx, dword [0x466064]
add eax, 0xfffffff4
cmp eax, edx
je 0x412170
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412165
mov edx, dword [ebx + 0xbc]
sub edx, 0xc
push edx
call fcn.00427e30
add esp, 4
mov eax, dword [0x466060]
mov dword [ebx + 0xbc], eax
test ebp, ebp
jne 0x412182
mov ecx, dword [0x466060]
mov dword [ebx + 0xbc], ecx
jmp 0x4121ac
lea edx, [ebp + 0xd]
push edx
call fcn.00428524
add esp, 4
test eax, eax
je 0x4121e0
mov dword [eax], 1
mov byte [eax + ebp + 0xc], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
mov dword [ebx + 0xbc], eax
lea eax, [ebp + 1]
cmp eax, ebp
jb 0x4121cd
mov edi, dword [ebx + 0xbc]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xbc]
mov dword [eax - 8], ebp
mov ecx, dword [ebx + 0xbc]
mov byte [ecx + ebp], 0
push 1
mov ecx, ebx
call fcn.00412220
push 2
mov ecx, ebx
call fcn.00412220
push 3
mov ecx, ebx
call fcn.00412220
push 4
mov ecx, ebx
call fcn.00412220
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x138
ret