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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b37c
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.00409e50
movzx eax, al
cmp eax, 1
jne 0x41009c
mov dword [ebp - 0x194], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x194]
jmp 0x41093f
push 0x575e04
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp - 0x198]
push edx
call fcn.00409d80
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x1d8]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.00409730
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x198]
call fcn.004049f0
lea ecx, [ebp - 0x12c]
call fcn.0040a300
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.0042239e
mov byte [ebp - 4], 9
mov dword [ebp - 0x188], 0
jmp 0x41012c
mov ecx, dword [ebp - 0x188]
add ecx, 1
mov dword [ebp - 0x188], ecx
lea ecx, [ebp - 0x120]
call fcn.004036a0
cmp dword [ebp - 0x188], eax
jge 0x410162
mov edx, dword [ebp - 0x188]
push edx
lea ecx, [ebp - 0x120]
call fcn.00409800
movzx eax, al
push eax
lea ecx, [ebp - 0x150]
call fcn.004130f0
jmp 0x41011d
lea ecx, [ebp - 0x11c]
call fcn.00402360
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00402fa0
test eax, eax
jne 0x41022b
mov eax, dword [ebp + 0x2c]
mov dword [eax], 3
mov dword [ebp - 0x19c], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.004223b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004049f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x19c]
jmp 0x41093f
push 0x574dc3
lea ecx, [ebp - 0x130]
call fcn.00404510
mov byte [ebp - 4], 0xb
movzx ecx, word [ebp + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
push edx
mov eax, dword [ebp + 0x24]
push eax
push str.CONNECT__s:_d_HTTP_1.1
lea ecx, [ebp - 0x130]
push ecx
call fcn.00409f90
add esp, 0x10
push 0x575e20
lea ecx, [ebp - 0x130]
call fcn.00409ec0
lea edx, [ebp - 0x12c]
push edx
push str.Proxy_Authorization:_Basic
lea eax, [ebp - 0x1a0]
push eax
call fcn.00413040
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], ecx
mov byte [ebp - 4], 0xc
push 0x575e24
mov edx, dword [ebp - 0x1e0]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409d80
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1e8]
push edx
lea ecx, [ebp - 0x130]
call fcn.0040a1b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a4]
call fcn.004049f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a0]
call fcn.004049f0
lea eax, [ebp - 0x12c]
push eax
push str.Authorization:_Basic
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00413040
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], edx
mov byte [ebp - 4], 0xe
push 0x575e44
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
call fcn.00409d80
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040a1b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1ac]
call fcn.004049f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a8]
call fcn.004049f0
push str.Accept:____r_nContent_Type:_text_html_r_nProxy_Connection:_Keep_Alive_r_nContent_Length:_0
lea ecx, [ebp - 0x130]
call fcn.00409ec0
push 0x575eb8
lea ecx, [ebp - 0x130]
call fcn.00409ec0
push 0
lea ecx, [ebp - 0x130]
call fcn.004036a0
push eax
lea ecx, [ebp - 0x130]
call fcn.004065e0
push eax
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
je 0x41040a
lea ecx, [ebp - 0x130]
call fcn.004036a0
cmp dword [ebp - 0x138], eax
jge 0x4104e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x41042e
lea ecx, [ebp - 0x130]
call fcn.004036a0
cmp dword [ebp - 0x138], eax
jge 0x4104e3
mov eax, dword [ebp + 0x2c]
mov dword [eax], 2
mov ecx, dword [ebp - 0x1d0]
mov dword [ecx + 0x40], 0xffffffff
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x130]
call fcn.004049f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.004223b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004049f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x1b0]
jmp 0x41093f
push 0x14000
call fcn.00422360
add esp, 4
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x128], edx
push 0x14000
push 0
mov eax, dword [ebp - 0x128]
push eax
call fcn.00523530
add esp, 0xc
mov dword [ebp - 0x13c], 0
push 0x575ec0
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00409e30
add esp, 8
test eax, eax
jne 0x4106ab
push 0xa
mov edx, 0x14000
sub edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x1d0]
call fcn.00411bc0
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jg 0x410694
push 0x575ec8
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00409e30
add esp, 8
test eax, eax
jne 0x4105bf
push 0x575ed0
mov edx, dword [ebp - 0x128]
push edx
call fcn.00409e30
add esp, 8
test eax, eax
jne 0x4105bf
push 0x575ed4
mov eax, dword [ebp - 0x128]
push eax
call fcn.00409e30
add esp, 8
test eax, eax
je 0x4105c4
jmp 0x4106ab
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x1b8]
push edx
call fcn.0042236b
add esp, 4
mov eax, dword [ebp + 0x2c]
mov dword [eax], 2
mov ecx, dword [ebp - 0x1d0]
mov dword [ecx + 0x40], 0xffffffff
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x130]
call fcn.004049f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.004223b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004049f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x1bc]
jmp 0x41093f
mov edx, dword [ebp - 0x13c]
add edx, dword [ebp - 0x18c]
mov dword [ebp - 0x13c], edx
jmp 0x410522
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x184]
call fcn.0040a320
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
push edx
call fcn.0042236b
add esp, 4
lea ecx, [ebp - 0x184]
call fcn.0040a5b0
mov byte [ebp - 0x131], al
mov byte [ebp - 0x132], 0
lea eax, [ebp - 0x132]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c4], esp
push 0x575ee8
call fcn.00404510
mov dword [ebp - 0x1fc], eax
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x184]
call fcn.0040ab60
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x124]
call fcn.00409e50
movzx edx, al
test edx, edx
jne 0x41078e
lea ecx, [ebp - 0x124]
call fcn.004065e0
push eax
call fcn.00521bd4
add esp, 4
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x184]
call fcn.0040da50
cmp eax, dword [ebp - 0x190]
jge 0x41078e
lea ecx, [ebp - 0x184]
call fcn.0040da50
mov ecx, dword [ebp - 0x190]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x1d0]
call fcn.0040f110
lea ecx, [ebp - 0x184]
call fcn.004065e0
cmp eax, 0xc8
jne 0x410861
mov dword [ebp - 0x1c8], 1
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x124]
call fcn.004049f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x184]
call fcn.0040a410
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x130]
call fcn.004049f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.004223b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004049f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x1c8]
jmp 0x41093f
lea ecx, [ebp - 0x184]
call fcn.004065e0
cmp eax, 0x197
jne 0x41087e
mov edx, dword [ebp + 0x2c]
mov dword [edx], 3
jmp 0x410887
mov eax, dword [ebp + 0x2c]
mov dword [eax], 5
mov dword [ebp - 0x1cc], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x124]
call fcn.004049f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x184]
call fcn.0040a410
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x130]
call fcn.004049f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00402380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.004223b5
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004049f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004049f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.004049f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004049f0
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret 0x28