Function at 0x416617
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x174]
sub esp, 0x1f4
mov eax, dword [0x477930]
xor eax, ebp
mov dword [ebp + 0x170], eax
mov eax, dword [ebp + 0x180]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x17c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x184]
push edi
mov ebx, ecx
mov dword [ebp - 0x80], eax
call fcn.0043d8b9
mov esi, eax
inc esi
push esi
call fcn.0043ed76
push edi
mov dword [ebp - 0x78], eax
call fcn.0043d8b9
push eax
push edi
push esi
push dword [ebp - 0x78]
xor edi, edi
push edi
call fcn.00441c8e
push dword [ebp - 0x74]
call fcn.0043d8b9
mov esi, eax
inc esi
push esi
call fcn.0043ed76
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
call fcn.0043d8b9
push eax
push dword [ebp - 0x74]
push esi
push dword [ebp - 0x7c]
push edi
call fcn.00441c8e
add esp, 0x40
push dword [ebp - 0x80]
call fcn.0043d8b9
mov esi, eax
inc esi
push esi
call fcn.0043ed76
push dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
call fcn.0043d8b9
push eax
push dword [ebp - 0x80]
push esi
push dword [ebp - 0x74]
push edi
call fcn.00441c8e
xor eax, eax
push 0x18e
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push edi
push eax
call fcn.0043e580
xor eax, eax
mov word [ebp + 0x120], ax
lea edi, [ebp + 0x122]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x2c
stosw word es:[edi], ax
lea eax, [ebp - 0x70]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x416712
xor eax, eax
jmp 0x41683b
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x41670b
push 2
pop eax
push 0x50
mov word [ebp + 0x120], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 0x78]
mov ecx, ebx
mov word [ebp + 0x122], ax
call fcn.004165ff
mov dword [ebp + 0x124], eax
push 0x10
lea eax, [ebp + 0x120]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x41670b
push str.POST__
push esi
mov ecx, ebx
call fcn.004165e1
push dword [ebp - 0x7c]
mov ecx, ebx
push esi
call fcn.004165e1
push str._HTTP_1.0_r_n
push esi
mov ecx, ebx
call fcn.004165e1
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push esi
mov ecx, ebx
call fcn.004165e1
push 0x3f
lea eax, [ebp + 0x131]
push 0
push eax
mov byte [ebp + 0x130], 0
call fcn.0043e580
push dword [ebp - 0x74]
call fcn.00441030
push eax
push str.Content_Length:__ld_r_n
lea eax, [ebp + 0x130]
push 0x40
push eax
call fcn.00441974
add esp, 0x20
lea eax, [ebp + 0x130]
push eax
push esi
mov ecx, ebx
call fcn.004165e1
push str.Host:
push esi
mov ecx, ebx
call fcn.004165e1
push dword [ebp - 0x78]
mov ecx, ebx
push esi
call fcn.004165e1
push str._r_n_r_n
push esi
mov ecx, ebx
call fcn.004165e1
push dword [ebp - 0x74]
mov ecx, ebx
push esi
call fcn.004165e1
push 0x45e79c
push esi
mov ecx, ebx
call fcn.004165e1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 0x78]
call fcn.0043e207
push dword [ebp - 0x7c]
call fcn.0043e207
push dword [ebp - 0x74]
call fcn.0043e207
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp + 0x170]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e0ee
add ebp, 0x174
leave
ret 0xc