Function at 0x41c2f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4721cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x335c
call fcn.00450200
push edi
mov dword [ebp - 0x3364], ecx
mov ecx, 0x4af510
call fcn.0043d150
mov ecx, 0x492f50
call fcn.00437280
cmp dword [0x493be8], 0
je 0x41c39c
cmp dword [0x493bec], 0
je 0x41c39c
push 0
lea ecx, [ebp - 0x2f4c]
call fcn.00427390
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2f4c]
call fcn.0046218d
cmp eax, 2
jne 0x41c38a
mov dword [ebp - 0x3358], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4c]
call fcn.0041c760
mov eax, dword [ebp - 0x3358]
jmp 0x41c60b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4c]
call fcn.0041c760
mov ecx, 0x492a40
call fcn.0040e330
mov ecx, 0x492f08
call fcn.00435c10
test eax, eax
jne 0x41c3c9
push 0
push 0
push str.Connect_Service_Failed.
call fcn.0046a973
xor eax, eax
jmp 0x41c60b
cmp dword [0x494404], 0
jne 0x41c451
push 0x400
lea eax, [ebp - 0x3354]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x3354]
push ecx
call fcn.004042c0
add esp, 8
mov byte [eax], 0
push 0x47772c
lea edx, [ebp - 0x3354]
push edx
call fcn.00450080
add esp, 8
lea eax, [ebp - 0x3354]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2f54], eax
cmp dword [ebp - 0x2f54], 0
je 0x41c451
push 0x47773c
mov ecx, dword [ebp - 0x2f54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2f50], eax
cmp dword [ebp - 0x2f50], 0
je 0x41c451
call dword [ebp - 0x2f50]
push 0
push 2
mov ecx, 0x492f08
call fcn.004362b0
lea edx, [ebp - 0x2eac]
push edx
push str.32770
call fcn.0040e300
push eax
call dword [sym.imp.USER32.dll_GetClassInfoA]
mov eax, dword [ebp - 0x3364]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2e88], ecx
lea edx, [ebp - 0x2eac]
push edx
call fcn.00462596
lea ecx, [ebp - 0x2eb0]
call fcn.00407a80
mov dword [ebp - 4], 1
mov al, byte [0x47774b]
mov byte [ebp - 0x201c], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x201b]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x335c]
push ecx
mov ecx, 0x492f50
call fcn.004042e0
mov dword [ebp - 0x3368], eax
mov ecx, dword [ebp - 0x3368]
call fcn.004067d0
push eax
push 0x1000
lea edx, [ebp - 0x201c]
push edx
push 0x47774c
push 0x477750
push 0x477754
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x335c]
call fcn.00407b30
mov al, byte [0x47775b]
mov byte [ebp - 0x1014], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1013]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1014]
push ecx
push 0x8048
call fcn.0040e050
add esp, 8
lea edx, [ebp - 0x201c]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.0044ff20
add esp, 8
test eax, eax
jle 0x41c560
mov ecx, dword [ebp - 0x3364]
call fcn.0041c110
lea ecx, [ebp - 0x2ed4]
call fcn.0046dd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ed4]
push ecx
mov ecx, dword [ebp - 0x3364]
call fcn.0046d974
mov edx, dword [ebp - 0x2ed0]
push edx
call fcn.00436c10
add esp, 4
push 0
lea ecx, [ebp - 0x2e84]
call fcn.0041d6c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3364]
lea ecx, [ebp - 0x2e84]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x2e84]
call fcn.0046218d
mov dword [ebp - 0x2020], eax
mov ecx, 0x492f08
call fcn.00436290
mov dword [ebp - 0x3360], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e84]
call fcn.0041c780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ed4]
call fcn.0046ddcf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2eb0]
call fcn.00407b30
mov eax, dword [ebp - 0x3360]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret