Function at 0x437240
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5933e0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x117c
call fcn.00558cc0
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x115c], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1168], eax
mov dword [ebp - 0x1164], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1160], eax
mov dword [ebp - 0x1170], eax
xor al, al
mov byte [ebp - 0x1149], al
mov byte [ebp - 0x1151], al
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x117c], edi
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x10dc], 7
mov dword [ebp - 0x10e0], 0
mov word [ebp - 0x10f0], ax
mov dword [ebp - 0x104c], 7
mov dword [ebp - 0x1050], eax
mov word [ebp - 0x1060], ax
lea eax, [ebp - 0x1150]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1060]
mov dword [ebp - 0x1150], 0x50
push eax
lea edx, [ebp - 0x10f0]
call fcn.004381c0
mov esi, dword [ebp - 0x1150]
mov eax, 0x1bb
add esp, 8
cmp si, ax
jne 0x437384
cmp dword [ebp - 0x104c], 8
jb 0x437349
push dword [ebp - 0x1060]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x104c], 7
cmp dword [ebp - 0x10dc], 8
mov dword [ebp - 0x1050], 0
mov word [ebp - 0x1060], ax
jb 0x43737d
push dword [ebp - 0x10f0]
call fcn.00556a60
add esp, 4
xor al, al
jmp 0x437d3a
lea edx, [ebp - 0x10f0]
lea ecx, [ebp - 0x10d8]
call fcn.00437f20
push esi
lea eax, [ebp - 0x10d8]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00436430
test al, al
jne 0x4373c7
push 0x6063fc
lea eax, [ebp - 0x1178]
mov dword [ebp - 0x1178], 1
push eax
call fcn.00557203
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [edi + 0x24]
call fcn.0043b450
jmp 0x4373e0
lea edx, [ebp - 0x1060]
lea ecx, [ebp - 0x10c0]
call fcn.00437f20
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x437406
push 0xffffffffffffffff
push 0
push eax
call fcn.00422850
mov byte [ebp - 4], 3
cmp dword [ebp - 0x10ac], 0x10
jb 0x437421
push dword [ebp - 0x10c0]
call fcn.00556a60
add esp, 4
push ecx
lea eax, [ebp - 0x1078]
push eax
lea ecx, [edi + 0x24]
call fcn.0043b4e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1078]
cmp dword [ebp - 0x1064], 0x10
push 0
push dword [ebp - 0x1068]
cmovae eax, dword [ebp - 0x1078]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x43747b
push 0x6063fc
lea eax, [ebp - 0x1180]
mov dword [ebp - 0x1180], 3
push eax
call fcn.00557203
xor edi, edi
xor bl, bl
mov dword [ebp - 0x1150], edi
jmp 0x437490
push 0
push 0x1000
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 0x115c]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4374cf
push 0x6063fc
lea eax, [ebp - 0x1188]
mov dword [ebp - 0x1188], 0xa
push eax
call fcn.00557203
test esi, esi
je 0x437b52
lea eax, [ebp - 0x1018]
push esi
push eax
test bl, bl
jne 0x437ca1
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], bl
call fcn.00422c20
push 4
push 0
push str._r_n_r_n
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 6
call fcn.00437e80
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x437546
push 0x6063fc
lea eax, [ebp - 0x1184]
mov dword [ebp - 0x1184], 0xd
push eax
call fcn.00557203
push ebx
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x101c], 0xf
push eax
lea ecx, [ebp - 0x1030]
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
call fcn.00422c20
mov dword [ebp - method.CHttpHeader.virtual_0], vtable.CHttpHeader.0
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x112c], 0xf
mov dword [ebp - 0x1130], 0
mov byte [ebp - 0x1140], 0
mov dword [ebp - 0x1114], 0xf
mov dword [ebp - 0x1118], 0
mov byte [ebp - 0x1128], 0
mov dword [ebp - 0x10fc], 0xf
mov dword [ebp - 0x1100], 0
mov byte [ebp - 0x1110], 0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x10f8], 0
mov dword [ebp - 0x10f4], 0
call fcn.0043cac0
mov dword [ebp - 0x10f8], eax
lea eax, [ebp - 0x1030]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x1148]
call fcn.0043bdc0
mov edi, dword [ebp - 0x115c]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1144]
mov dword [edi + 4], eax
cmp eax, 0x190
jne 0x437647
push 0x6063fc
lea eax, [ebp - 0x1174]
mov dword [ebp - 0x1174], 5
push eax
call fcn.00557203
cmp eax, 0x12c
jle 0x4379e8
cmp eax, 0x190
jge 0x4379e8
push 8
push str.Location
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x1094], 0xf
mov dword [ebp - 0x1098], 0
mov byte [ebp - 0x10a8], 0
call fcn.00422c20
lea eax, [ebp - 0x10a8]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x1148]
call fcn.0043b300
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1090]
call fcn.004386f0
cmp dword [ebp - 0x10ac], 0x10
jb 0x4376cf
push dword [ebp - 0x10c0]
call fcn.00556a60
add esp, 4
mov dword [ebp - 0x10ac], 0xf
mov dword [ebp - 0x10b0], 0
mov byte [ebp - 0x10c0], 0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x1094], 0x10
jb 0x437705
push dword [ebp - 0x10a8]
call fcn.00556a60
add esp, 4
push 7
push 0
push 0x5f2ad4
lea ecx, [ebp - 0x1090]
mov dword [ebp - 0x1094], 0xf
mov dword [ebp - 0x1098], 0
mov byte [ebp - 0x10a8], 0
call fcn.004238e0
test eax, eax
je 0x43784c
push 8
push 0
push 0x5f2ae4
lea ecx, [ebp - 0x1090]
call fcn.004238e0
test eax, eax
je 0x43784c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0x1060]
call fcn.004220c0
cmp dword [ebp - 0x107c], 8
jb 0x437785
push dword [ebp - 0x1090]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x107c], 7
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1080], 0
mov word [ebp - 0x1090], ax
call fcn.0043b260
cmp dword [ebp - 0x101c], 0x10
jb 0x4377c4
push dword [ebp - 0x1030]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x1034], 0x10
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
jb 0x4377f6
push dword [ebp - 0x1048]
call fcn.00556a60
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1064], 0x10
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
jb 0x43782c
push dword [ebp - 0x1078]
call fcn.00556a60
add esp, 4
mov dword [ebp - 0x1064], 0xf
mov dword [ebp - 0x1068], 0
mov byte [ebp - 0x1078], 0
jmp 0x4373e0
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x437862
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 8], 0xffffffff
push dword [ebp - 0x1160]
cmp dword [ebp - 0x107c], 8
lea edx, [ebp - 0x1090]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x1168]
cmovae edx, dword [ebp - 0x1090]
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
push edx
call eax
cmp dword [ebp - 0x107c], 8
mov bl, al
jb 0x4378a6
push dword [ebp - 0x1090]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x107c], 7
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1080], 0
mov word [ebp - 0x1090], ax
call fcn.0043b260
cmp dword [ebp - 0x101c], 0x10
jb 0x4378e5
push dword [ebp - 0x1030]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x1034], 0x10
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
jb 0x437917
push dword [ebp - 0x1048]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x1064], 0x10
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
jb 0x437949
push dword [ebp - 0x1078]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x10c4], 0x10
mov dword [ebp - 0x1064], 0xf
mov dword [ebp - 0x1068], 0
mov byte [ebp - 0x1078], 0
jb 0x43797b
push dword [ebp - 0x10d8]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x104c], 8
mov dword [ebp - 0x10c4], 0xf
mov dword [ebp - 0x10c8], 0
mov byte [ebp - 0x10d8], 0
jb 0x4379ad
push dword [ebp - 0x1060]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x104c], 7
cmp dword [ebp - 0x10dc], 8
mov dword [ebp - 0x1050], 0
mov word [ebp - 0x1060], ax
jb 0x4379e1
push dword [ebp - 0x10f0]
call fcn.00556a60
add esp, 4
mov al, bl
jmp 0x437d3a
push 0xe
push str.Content_Length
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x1094], 0xf
mov dword [ebp - 0x1098], 0
mov byte [ebp - 0x10a8], 0
call fcn.00422c20
lea eax, [ebp - 0x10a8]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x1148]
call fcn.0043b300
cmp dword [eax + 0x14], 0x10
jb 0x437a3a
mov eax, dword [eax]
push eax
call fcn.00559706
add esp, 4
mov edi, eax
cmp dword [ebp - 0x10ac], 0x10
jb 0x437a5c
push dword [ebp - 0x10c0]
call fcn.00556a60
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x1094], 0x10
mov dword [ebp - 0x10ac], 0xf
mov dword [ebp - 0x10b0], 0
mov byte [ebp - 0x10c0], 0
jb 0x437a92
push dword [ebp - 0x10a8]
call fcn.00556a60
add esp, 4
mov eax, dword [ebp - 0x1160]
mov dword [eax], edi
lea eax, [edi - 1]
cmp eax, 0x7fffff
ja 0x437c86
push edi
call fcn.00558db8
sub esi, ebx
add esp, 4
sub esi, 4
mov ecx, eax
mov dword [ebp - 0x1158], ecx
test esi, esi
jle 0x437ae8
lea eax, [ebp - 0x1014]
add eax, ebx
mov ebx, dword [ebp - 0x1150]
push esi
push eax
lea eax, [ebx + ecx]
push eax
call fcn.00557660
add esp, 0xc
add ebx, esi
mov dword [ebp - 0x1150], ebx
jmp 0x437aee
mov ebx, dword [ebp - 0x1150]
lea ecx, [ebp - 0x1148]
cmp edi, ebx
jne 0x437c12
mov bh, 1
mov byte [ebp - 0x1149], bh
call fcn.0043b260
cmp dword [ebp - 0x101c], 0x10
jb 0x437b20
push dword [ebp - 0x1030]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x1034], 0x10
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
jb 0x437b52
push dword [ebp - 0x1048]
call fcn.00556a60
add esp, 4
mov bh, byte [ebp - 0x1149]
cmp dword [ebp - 0x1064], 0x10
jb 0x437b6f
push dword [ebp - 0x1078]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x10c4], 0x10
mov dword [ebp - 0x1064], 0xf
mov dword [ebp - 0x1068], 0
mov byte [ebp - 0x1078], 0
jb 0x437ba1
push dword [ebp - 0x10d8]
call fcn.00556a60
add esp, 4
cmp dword [ebp - 0x104c], 8
mov dword [ebp - 0x10c4], 0xf
mov dword [ebp - 0x10c8], 0
mov byte [ebp - 0x10d8], 0
jb 0x437bd3
push dword [ebp - 0x1060]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x104c], 7
cmp dword [ebp - 0x10dc], 8
mov dword [ebp - 0x1050], 0
mov word [ebp - 0x1060], ax
jb 0x437c07
push dword [ebp - 0x10f0]
call fcn.00556a60
add esp, 4
mov ecx, dword [ebp - 0x1168]
jmp 0x437d2c
mov bl, 1
call fcn.0043b260
cmp dword [ebp - 0x101c], 0x10
jb 0x437c30
push dword [ebp - 0x1030]
call fcn.00556a60
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1034], 0x10
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
jb 0x437c66
push dword [ebp - 0x1048]
call fcn.00556a60
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
jmp 0x437490
push 0x6063fc
lea eax, [ebp - 0x116c]
mov dword [ebp - 0x116c], 0xc
push eax
call fcn.00557203
mov eax, dword [ebp - 0x1150]
add eax, dword [ebp - 0x1158]
push eax
call fcn.00557660
mov eax, dword [ebp - 0x1150]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x1150], eax
cmp eax, edi
jl 0x437490
mov bh, 1
jmp 0x437b58
test bh, bh
je 0x437d38
mov eax, dword [ebp - 0x1158]
mov dword [ecx], eax
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret 0xc