Function at 0x41a9a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e02dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x20]
mov byte [ebx + 4], 1
test esi, esi
je 0x41a9f4
mov ecx, esi
call fcn.004261c0
push 0x10
push esi
call fcn.0042a02e
add esp, 8
mov dword [ebx + 0x20], 0
push str.Start_Support_Proxy_Http_Server_in_Service_n
call fcn.00427f40
push 0x190
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0049d330
add esp, 0x10
lea eax, [ebp - 0x1f8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41aa3d
push eax
push str.Service_Init_Socket_fail:_d_n
call fcn.00427f40
add esp, 8
jmp 0x41acb9
call fcn.0042b1b0
mov esi, eax
mov dword [ebp - 0x1fc], esi
test esi, esi
jne 0x41aa67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Service_Create_event_base_fail:_d_n
call fcn.00427f40
add esp, 8
jmp 0x41acb9
push 0x10
call fcn.00429ffe
add esp, 4
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41aa8e
push 0
push esi
mov ecx, eax
call fcn.00425fc0
jmp 0x41aa90
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], eax
test eax, eax
je 0x41ac9c
movzx eax, word [eax + 0xc]
test ax, ax
je 0x41ac9c
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0049d330
add esp, 0xc
call fcn.00427ce0
push eax
lea ecx, [ebp - 0x68]
call fcn.00404300
push 0xa
push str.config.ini
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 1
call fcn.00405640
mov eax, dword [ebx + 0x20]
movzx eax, word [eax + 0xc]
push eax
lea eax, [ebp - 0x50]
push 0x502870
push eax
call fcn.00419950
add esp, 0xc
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
cmovae eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push str.webproxyport
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x18
mov dword [ebp - 0x208], 3
mov dword [ebp - 0x204], 0x7a120
call fcn.00429ffe
add esp, 4
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41ab64
push 1
lea ecx, [ebx - 4]
push ecx
push fcn.00404e90
lea ecx, [ebp - 0x208]
push ecx
push esi
mov ecx, eax
call fcn.00426ea0
jmp 0x41ab66
xor eax, eax
mov dword [ebx + 0x24], eax
lea esi, [ebx - 4]
mov eax, dword [esi + 0x24]
mov byte [ebp - 4], 1
mov edi, dword [eax + 8]
test edi, edi
je 0x41ac67
push esi
push 0x41ddd0
push str._apigetsessionkey
push edi
call fcn.0044b900
push esi
push 0x4245c0
push str._apiwakeclient
push edi
call fcn.0044b900
push esi
push 0x423440
push str._apistartclient
push edi
call fcn.0044b900
push esi
push 0x41ad50
push str._apistartremote
push edi
call fcn.0044b900
add esp, 0x40
push esi
push 0x420080
push str._apiticketremote
push edi
call fcn.0044b900
push esi
push 0x41f2e0
push str._apilogout
push edi
call fcn.0044b900
push esi
push 0x422640
push str._apiquerystate
push edi
call fcn.0044b900
push esi
push 0x421a80
push str._apiqueryremotestate
push edi
call fcn.0044b900
add esp, 0x40
push esi
push 0x41c8e0
push str._apicloseremote
push edi
call fcn.0044b900
push esi
push 0x4216f0
push str._apiopenlink
push edi
call fcn.0044b900
push esi
push 0x41e5e0
push str._api_repair
push edi
call fcn.0044b900
push esi
push 0x422f90
push str._api_runupdate
push edi
call fcn.0044b900
add esp, 0x40
push esi
push 0x421220
push str._api_monitor
push edi
call fcn.0044b900
add esp, 0x10
mov eax, dword [ebx + 0x20]
movzx eax, word [eax + 0xc]
push eax
push str._nSupport_Proxy_listen_On_Port___d__n_n
call fcn.00427f40
mov esi, dword [ebp - 0x1fc]
push esi
call fcn.0042b4c0
push str.event_base_loop_return_n
call fcn.00427f40
add esp, 0x10
lea ecx, [ebp - 0x68]
call fcn.00404270
jmp 0x41acb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Service_Create_http_server_fail:_d_n
call fcn.00427f40
add esp, 8
push esi
call fcn.0042bf10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret 4