Function at 0x416ac0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket
Send http request
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cce29
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1174
call fcn.004bbcd0
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0x1170], eax
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x1188]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [esp + 0x98]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ebx
call fcn.00429270
push 6
push 1
push 2
mov dword [esp + 0x119c], ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esp + 0xa8], eax
push 0xffffffffffffffff
je 0x417868
mov eax, dword [esp + 0x18]
push ebx
push eax
mov edi, 7
lea eax, [esp + 0xb8]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.00405240
mov byte [esp + 0x1190], 1
push 4
push str.http
lea esi, [esp + 0xec]
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
call fcn.00405810
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], bx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
mov byte [esp + 0x11b0], 2
push ebx
lea ecx, [esp + 0xd0]
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00405240
mov edx, esi
push edx
call fcn.004293d0
lea ecx, [esp + 0x100]
lea esi, [esp + 0x44]
call fcn.0041fcc0
cmp dword [eax + 0x18], 0x10
jb 0x416c39
mov eax, dword [eax + 4]
jmp 0x416c3c
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x416c4b
xor esi, esi
jmp 0x416c76
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x16c]
push ecx
call fcn.004af6b0
mov edx, dword [esp + 0x170]
add esp, 0xc
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp dword [esp + 0x5c], 0x10
jb 0x416c8a
mov eax, dword [esp + 0x48]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x4173c9
mov edx, dword [esp + 0xa8]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [esp + 0x18]
push ecx
push 0x1005
push 0xffff
push edx
mov dword [esp + 0x28], 0x1770
call edi
mov ecx, dword [esp + 0xa8]
push 4
lea eax, [esp + 0x18]
push eax
push 0x1006
push 0xffff
push ecx
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x11c]
push edx
mov word [esp + 0x9c], 2
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [esp + 0x9e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x9c], eax
push 0x10
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4176bc
push 0xfff
lea edx, [esp + 0x181]
push ebx
push edx
mov byte [esp + 0x188], bl
call fcn.004b1550
add esp, 0xc
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x48]
call fcn.00429de0
mov edi, 8
mov byte [esp + 0x1190], 3
cmp dword [eax + 0x18], edi
jb 0x416d7f
mov eax, dword [eax + 4]
jmp 0x416d82
add eax, 4
cmp dword [esp + 0x118], edi
mov ecx, dword [esp + 0x104]
jae 0x416d99
lea ecx, [esp + 0x104]
mov edx, dword [esp + 0x11c]
push edx
push ecx
lea ecx, [esp + 0x184]
push ecx
mov edx, eax
call fcn.004179b0
add esp, 0xc
mov byte [esp + 0x1190], 2
cmp dword [esp + 0x5c], edi
jb 0x416dcf
mov edx, dword [esp + 0x48]
push edx
call fcn.004a85e6
add esp, 4
lea eax, [esp + 0x17c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x416de0
mov ecx, dword [esp + 0xa8]
push ebx
sub eax, edx
push eax
lea eax, [esp + 0x184]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x417848
push 0x1000
lea edx, [esp + 0x180]
push ebx
push edx
call fcn.004b1550
mov ecx, dword [esp + 0xb4]
add esp, 0xc
push ebx
push 0x1000
lea eax, [esp + 0x184]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4173c9
push 4
lea edx, [esp + 0x180]
push str.HTTP
push edx
call fcn.004aae4f
add esp, 0xc
test eax, eax
jne 0x4176bc
lea eax, [esp + 0x17c]
push 0x4d9134
push eax
call fcn.004aac20
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x417848
add esi, 1
push 0x4d9134
push esi
call fcn.004aac20
add esp, 8
cmp eax, ebx
je 0x417848
sub eax, esi
cmp eax, edi
jg 0x417848
push eax
lea ecx, [esp + 0x174]
push esi
push ecx
mov byte [esp + 0x17c], bl
mov dword [esp + 0x17d], ebx
mov dword [esp + 0x181], ebx
mov byte [esp + 0x185], bl
call fcn.004aacb0
lea edx, [esp + 0x17c]
add esp, 0xc
push edx
call fcn.004aa2ee
add esp, 4
cmp eax, 0xc8
je 0x416f03
cmp eax, 0x12d
je 0x416f03
cmp eax, 0x12e
jne 0x4173c9
lea eax, [esp + 0x17c]
push 0x4d9138
push eax
call fcn.004aac20
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4176bc
add edi, 2
call fcn.004290c0
mov dword [esp + 0x20], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
lea ebx, [ebx]
mov esi, 0xf
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
push 2
push 0x4d9138
push edi
mov byte [esp + 0x119c], 6
call fcn.004aae4f
add esp, 0xc
test eax, eax
je 0x417087
push 0x4d913c
push edi
call fcn.004aac20
add esp, 8
cmp edi, ebx
mov esi, eax
je 0x4173ee
mov ecx, esi
sub ecx, edi
push ecx
push edi
lea eax, [esp + 0x84]
call fcn.0040d0c0
mov al, byte [esi + 1]
add esi, 1
cmp al, bl
je 0x416fde
lea ebx, [ebx]
cmp al, 0x20
jne 0x416fde
mov al, byte [esi + 1]
add esi, 1
cmp al, bl
jne 0x416fd0
push 0x4d9138
push esi
call fcn.004aac20
add esp, 8
cmp eax, ebx
je 0x4173ee
lea edi, [eax + 2]
sub eax, esi
push eax
push esi
lea eax, [esp + 0x68]
call fcn.0040d0c0
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x20]
call fcn.00417dc0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.004050e0
cmp dword [esp + 0x78], 0x10
jb 0x417035
mov edx, dword [esp + 0x64]
push edx
call fcn.004a85e6
add esp, 4
mov esi, 0xf
mov byte [esp + 0x1190], 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x417068
mov eax, dword [esp + 0x80]
push eax
call fcn.004a85e6
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp byte [edi], bl
jne 0x416f50
jmp 0x4170cc
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x41709f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004a85e6
add esp, 4
mov byte [esp + 0x1190], 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x4170cc
mov edx, dword [esp + 0x80]
push edx
call fcn.004a85e6
add esp, 4
push 0xe
mov esi, 0xf
push str.Content_Length
lea ecx, [esp + 0x68]
mov byte [esp + 0x19], bl
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.004054e0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1194], 7
call fcn.00417dc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.004050e0
mov edi, 0x10
mov byte [esp + 0x1190], 9
cmp dword [esp + 0x78], edi
jb 0x41714f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xdc], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
je 0x417186
cmp dword [esp + 0xe0], edi
mov eax, dword [esp + 0xcc]
jae 0x41717b
lea eax, [esp + 0xcc]
call fcn.00419e20
mov dword [esp + 0x14], eax
jmp 0x417193
mov byte [esp + 0x11], 1
mov dword [esp + 0x14], 0xa00000
push 8
push str.Location
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004054e0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
mov byte [esp + 0x1194], 0xa
or dword [esp + 0x1c], 1
mov edi, dword [esp + 0x24]
push eax
lea esi, [esp + 0x24]
call fcn.00417f00
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4171e7
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x4171ec
call fcn.004a8d14
cmp dword [esi + 4], edi
mov dword [esp + 0x1190], 9
setne byte [esp + 0x13]
test byte [esp + 0x18], 1
mov edi, 0x10
je 0x417223
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x5c], edi
jb 0x417223
mov edx, dword [esp + 0x48]
push edx
call fcn.004a85e6
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4174df
push 8
mov esi, 0xf
push str.Location
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004054e0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1194], 0xb
call fcn.00417dc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004050e0
mov byte [esp + 0x1190], 0xd
cmp dword [esp + 0x5c], edi
jb 0x4172a4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x4174ce
cmp dword [esp + 0x94], edi
mov edi, dword [esp + 0x80]
jae 0x4172d4
lea edi, [esp + 0x80]
lea eax, [esp + 0x60]
call fcn.0041fca0
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xb8]
mov byte [esp + 0x119c], 0xe
call fcn.00405240
cmp dword [esp + 0x78], 8
jb 0x417309
mov edx, dword [esp + 0x64]
push edx
call fcn.004a85e6
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x94], esi
jb 0x417327
mov eax, dword [esp + 0x80]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x417359
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004a85e6
add esp, 4
mov byte [esp + 0x1190], 2
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x44]
push edx
mov edi, ecx
call fcn.004183f0
mov eax, dword [esp + 0x20]
push eax
call fcn.004a85e6
add esp, 4
lea esi, [esp + 0xe4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1190], 1
call fcn.00429350
mov edi, 7
jmp 0x416b80
lea esi, [esp + 0xe4]
call fcn.00429350
lea esi, [esp + 0xac]
call fcn.004159c0
mov ecx, dword [esp + 0xa8]
push ecx
jmp 0x417868
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x417406
mov eax, dword [esp + 0x64]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x94], esi
mov byte [esp + 0x64], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0xf
jb 0x41742f
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004a85e6
add esp, 4
mov byte [esp + 0x1190], 2
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x44]
push edx
mov edi, ecx
call fcn.004183f0
mov eax, dword [esp + 0x20]
push eax
call fcn.004a85e6
add esp, 4
lea esi, [esp + 0xe4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00429350
cmp dword [esp + 0xc4], 8
jb 0x4174a7
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004a85e6
add esp, 4
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
push edx
jmp 0x417868
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1190], 9
call fcn.00404f80
cmp byte [esp + 0x11], bl
mov byte [esp + 0x13], bl
je 0x417539
push str.Transfer_Encoding
lea ecx, [esp + 0x48]
call fcn.00404f40
mov byte [esp + 0x1190], 0xf
mov eax, dword [esp + 0x20]
or dword [esp + 0x18], 2
lea edx, [esp + 0x44]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
mov esi, ecx
mov dword [esp + 0x44], ecx
call fcn.00417f00
lea esi, [esp + 0x3c]
mov edi, eax
call fcn.00417f70
test al, al
mov byte [esp + 0x12], 1
jne 0x41753d
mov byte [esp + 0x12], bl
mov dword [esp + 0x1190], 9
test byte [esp + 0x18], 2
je 0x417558
lea ecx, [esp + 0x44]
call fcn.00404f80
cmp byte [esp + 0x12], bl
je 0x4175b6
push str.Transfer_Encoding
lea ecx, [esp + 0x48]
call fcn.00404f40
push ebx
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x119c], 0x10
call fcn.00417dc0
add esp, 4
push eax
mov edx, str.chunked
call fcn.0040b430
cmp eax, 0xffffffff
lea ecx, [esp + 0x44]
setne byte [esp + 0x12]
mov byte [esp + 0x1190], 9
call fcn.00404f80
cmp byte [esp + 0x12], bl
je 0x4175b6
mov byte [esp + 0x13], 1
cmp dword [esp + 0x14], ebx
jne 0x4175c6
cmp byte [esp + 0x11], bl
je 0x41769f
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
add edi, 1
call fcn.004011a0
push edi
mov eax, esi
mov eax, dword [eax + 8]
push ebx
push eax
call fcn.004b1550
add esp, 0xc
lea ecx, [esp + 0x17c]
push str._r_n_r_n
push ecx
call fcn.004aac20
add esp, 8
cmp eax, ebx
je 0x41769f
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add eax, 4
sub ecx, eax
lea esi, [esp + ecx + 0x17c]
mov ecx, dword [edi + 8]
push esi
push eax
push ecx
call fcn.004af6b0
add esp, 0xc
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jae 0x41768f
nop
cmp byte [esp + 0x11], bl
mov ecx, 0x1000
jne 0x417647
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, ecx
jae 0x417647
mov ecx, eax
mov eax, dword [edi + 8]
push ebx
push ecx
mov ecx, dword [esp + 0xb0]
add eax, esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x41768f
cmp eax, ebx
jne 0x417687
mov al, byte [esp + 0x11]
cmp al, bl
jne 0x417693
push 0xa
call sub.KERNEL32.dll_Sleep
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 3
mov dword [esp + 0x18], eax
ja 0x41768f
jmp 0x417689
add esi, eax
cmp esi, dword [esp + 0x14]
jb 0x417630
mov al, byte [esp + 0x11]
mov edx, dword [esp + 0x14]
cmp esi, edx
je 0x4176e1
cmp al, bl
jne 0x4176e5
lea ecx, [esp + 0xc8]
call fcn.00404f80
lea eax, [esp + 0x1c]
mov byte [esp + 0x1190], 2
call fcn.004178a0
lea esi, [esp + 0xe4]
call fcn.00429350
lea esi, [esp + 0xac]
call fcn.004159c0
mov edx, dword [esp + 0xa8]
push edx
jmp 0x417868
cmp al, bl
je 0x4176fb
cmp esi, 0xa00000
mov ecx, dword [esp + 0x30]
mov dword [ecx], esi
jae 0x417701
mov eax, dword [edi + 8]
mov byte [esi + eax], bl
jmp 0x417701
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
cmp byte [esp + 0x13], bl
je 0x417801
mov esi, dword [edi + 8]
mov eax, dword [ecx]
add eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
lea ebx, [ebx]
push 0x4d9138
push esi
call fcn.004aac20
add esp, 8
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x417801
sub eax, esi
cmp eax, 8
jg 0x417801
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
push eax
push esi
lea eax, [esp + 0x4c]
mov byte [esp + 0x1198], 0x11
call fcn.0040d0c0
cmp dword [esp + 0x5c], 0x10
mov edi, dword [esp + 0x48]
jae 0x417777
lea edi, [esp + 0x48]
lea eax, [esp + 0x7c]
call fcn.0041fca0
mov ecx, eax
mov byte [esp + 0x1190], 0x12
call fcn.0041a6a0
lea esi, [esp + 0x7c]
mov edi, eax
call fcn.004159c0
cmp edi, ebx
je 0x4177d7
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push edi
add eax, 2
push eax
push esi
call fcn.004af6b0
mov ecx, dword [esp + 0x24]
add esi, edi
mov dword [esp + 0x20], esi
lea esi, [edi + ecx + 4]
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.00404f80
cmp esi, dword [esp + 0x2c]
jb 0x417720
jmp 0x417801
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov byte [eax], bl
mov ecx, dword [edx + 8]
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov ecx, dword [edx + 4]
cmp eax, ecx
jbe 0x4177f5
mov eax, ecx
lea ecx, [esp + 0x44]
mov dword [edx + 0xc], eax
call fcn.00404f80
lea ecx, [esp + 0xc8]
call fcn.00404f80
lea eax, [esp + 0x1c]
mov byte [esp + 0x1190], 2
call fcn.004178a0
lea esi, [esp + 0xe4]
call fcn.00429350
lea esi, [esp + 0xac]
call fcn.004159c0
mov edx, dword [esp + 0xa8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
jmp 0x417870
lea esi, [esp + 0xe4]
call fcn.00429350
lea esi, [esp + 0xac]
call fcn.004159c0
mov eax, dword [esp + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov ecx, dword [esp + 0x1188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1170]
xor ecx, esp
call fcn.004a85d7
mov esp, ebp
pop ebp
ret