Function at 0x10002bf0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, 0x2038
call fcn.10003e30
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
mov byte [ebp - 0x2024], 0
lea eax, [ebp - 0x2024]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.10001350
cmp eax, 0
jne 0x10002c70
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.0_400_Bad_Request_r_nContent_Length:_15_r_n_r_n400_Bad_Request
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3f
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
jmp 0x10002f29
cmp dword [ebp + 0x10], 0
je 0x10002ccf
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x2024]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10002450
cmp eax, 0
jne 0x10002ccf
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.1_407_Proxy_Authentication_Required_r_nProxy_Authenticate:_Basic_realm_Proxy__r_nContent_Length:_33_r_n_r_n407_Proxy_Authentication_Required
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x8c
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
jmp 0x10002f29
movsx eax, byte [ebp + 0xc]
cmp eax, 0x43
jne 0x10002d88
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x2024]
add eax, 8
mov dword [ebp - 0x2028], eax
lea ecx, [ebp - 0x2024]
add ecx, 8
lea eax, [0x10012286]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
sub esp, 8
mov dword [ebp - 0x14], eax
xor eax, eax
cmp eax, dword [ebp - 0x14]
je 0x10002d7d
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2024]
add ecx, 8
lea eax, [0x100122a1]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
sub esp, 8
mov dword [ebp - 0x18], eax
xor eax, eax
cmp eax, dword [ebp - 0x18]
je 0x10002d78
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
sub esp, 4
mov word [ebp - 0x202a], ax
jmp 0x10002d7d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x10002db7
lea edx, [ebp - 0x1024]
lea esi, [ebp - 0x2024]
lea ecx, [ebp - 0x2028]
lea eax, [ebp - 0x202a]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.10002090
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10002df8
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.0_400_Bad_Request_r_nContent_Length:_15_r_n_r_n400_Bad_Request
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3f
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
jmp 0x10002f29
mov eax, dword [ebp - 0x2028]
mov dword [esp], eax
call fcn.10001220
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10002e4a
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.0_502_Bad_Gateway_r_nContent_Length:_15_r_n_r_n502_Bad_Gateway
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3f
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
jmp 0x10002f29
mov ax, word [ebp - 0x202a]
mov ecx, dword [ebp - 0x1c]
mov dword [esp], ecx
movzx eax, ax
mov dword [esp + 4], eax
call fcn.10001b10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10002ea7
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.0_502_Bad_Gateway_r_nContent_Length:_15_r_n_r_n502_Bad_Gateway
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3f
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov dword [ebp - 8], 0xffffffff
jmp 0x10002f29
movsx eax, byte [ebp + 0xc]
cmp eax, 0x43
jne 0x10002ee4
mov ecx, dword [ebp + 8]
lea eax, str.HTTP_1.1_200_OK_r_n_r_n
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
jmp 0x10002f23
lea eax, [ebp - 0x1024]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1024]
mov edx, dword [ebp - 0x20]
xor esi, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add esp, 0x2038
pop esi
pop ebp
ret