Function at 0x4362e4
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d8e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x30a8
call fcn.00465440
push edi
mov dword [ebp - 0x30b4], ecx
lea ecx, [ebp - 0x1028]
call fcn.00403ac0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00403ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00403ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00403ac0
mov byte [ebp - 4], 3
mov dword [ebp - 0x1020], 0
cmp dword [ebp + 0x14], 0
je 0x4363c7
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x1020], ecx
mov edx, dword [ebp + 0x14]
add edx, 4
push edx
lea ecx, [ebp - 0x1028]
call fcn.004810fd
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1018], ecx
mov edx, dword [ebp + 0x14]
add edx, 0xc
push edx
lea ecx, [ebp - 0x1014]
call fcn.004810fd
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x101c], ecx
mov edx, dword [ebp + 0x14]
add edx, 0x14
push edx
lea ecx, [ebp - 0x1024]
call fcn.004810fd
mov eax, dword [ebp + 0x14]
add eax, 0x18
push eax
lea ecx, [ebp - 0x1044]
call fcn.004810fd
cmp dword [ebp - 0x1020], 0
jne 0x4365b9
push 0x10
push 0
lea ecx, [ebp - 0x1054]
push ecx
call fcn.004658c0
add esp, 0xc
mov word [ebp - 0x1054], 2
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1052], ax
mov ecx, 0x4b0054
call fcn.0042e500
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1050], eax
push 0x10
lea edx, [ebp - 0x1054]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 0x1058], eax
push 0x10
push 0
lea ecx, [ebp - 0x1054]
push ecx
call fcn.004658c0
add esp, 0xc
mov word [ebp - 0x1054], 2
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1050], eax
mov ax, word [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1052], ax
cmp dword [ebp - 0x1050], 0xffffffff
jne 0x4364fa
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jne 0x4364e7
mov dword [ebp - 0x3070], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3070]
jmp 0x437054
mov edx, dword [ebp - 0x105c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x1050], edx
push 0x10
lea eax, [ebp - 0x1054]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x436565
mov dword [ebp - 0x3074], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3074]
jmp 0x437054
mov dword [ebp - 0x3078], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3078]
jmp 0x437054
mov dl, byte [0x4b0074]
mov byte [ebp - 0x1010], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x100f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x1028]
call fcn.0042e500
mov dword [ebp - 0x102c], eax
mov word [ebp - 0x1040], 2
mov ax, word [ebp - 0x1018]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x103e], ax
mov ecx, dword [ebp - 0x102c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0xffffffff
jne 0x4366b2
mov edx, dword [ebp - 0x102c]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1060], eax
cmp dword [ebp - 0x1060], 0
je 0x43665e
mov eax, dword [ebp - 0x1060]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x103c], eax
jmp 0x4366b2
mov dword [ebp - 0x307c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x307c]
jmp 0x437054
push 0
push 0
push 0
push 0
push 0x10
lea ecx, [ebp - 0x1040]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x436725
mov dword [ebp - 0x3080], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3080]
jmp 0x437054
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x1c], 0
je 0x436782
mov dword [ebp - 0x3084], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3084]
jmp 0x437054
push 0x4a7d8c
lea ecx, [ebp - 0x1014]
call fcn.0042e500
push eax
call fcn.0046b9a0
add esp, 8
test eax, eax
je 0x4367c0
push 0x4a7d94
lea ecx, [ebp - 0x1014]
call fcn.0042e500
push eax
call fcn.0046b9a0
add esp, 8
test eax, eax
jne 0x436ac3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.CONNECT__s:_d_HTTP_1.0_r_n_r_n
lea eax, [ebp - 0x1010]
push eax
call fcn.004650e4
add esp, 0x10
cmp dword [ebp - 0x101c], 0
je 0x436892
mov cl, byte [0x4b0078]
mov byte [ebp - 0x3068], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x3067]
rep stosd dword es:[edi], eax
mov dl, byte [0x4b007c]
mov byte [ebp - 0x2064], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x2063]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1044]
push eax
mov ecx, dword [ebp - 0x1024]
push ecx
push 0x4a7db8
lea edx, [ebp - 0x2064]
push edx
call fcn.004650e4
add esp, 0x10
push 0x1001
lea eax, [ebp - 0x3068]
push eax
lea ecx, [ebp - 0x2064]
push ecx
call fcn.00465470
add esp, 4
push eax
lea edx, [ebp - 0x2064]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.004350d7
lea eax, [ebp - 0x3068]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.CONNECT__s:_d_HTTP_1.0_r_nProxy_Authorization:_Basic__s_r_n_r_n
lea eax, [ebp - 0x1010]
push eax
call fcn.004650e4
add esp, 0x14
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435fa8
mov dword [ebp - 0x1030], 0x1000
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.004359c1
push 0x4a7dfc
call fcn.00465470
add esp, 4
push eax
push str.HTTP_1.0_200
lea eax, [ebp - 0x1010]
push eax
call fcn.004681f0
add esp, 0xc
test eax, eax
je 0x43696f
push 0x4a7e1c
call fcn.00465470
add esp, 4
push eax
push str.HTTP_1.1_200
lea ecx, [ebp - 0x1010]
push ecx
call fcn.004681f0
add esp, 0xc
test eax, eax
je 0x43696f
mov dword [ebp - 0x3088], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3088]
jmp 0x437054
mov edx, dword [ebp - 0x30b4]
cmp dword [edx + 0x10], 0
je 0x436a6f
mov dword [ebp - 0x1030], 0x1000
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.004359c1
test eax, eax
jg 0x4369fe
mov dword [ebp - 0x308c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x308c]
jmp 0x437054
push 0x4a7e3c
lea eax, [ebp - 0x1010]
push eax
call fcn.00465060
add esp, 8
test eax, eax
jne 0x436a6a
mov dword [ebp - 0x3090], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3090]
jmp 0x437054
jmp 0x43696f
mov dword [ebp - 0x3094], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3094]
jmp 0x437054
push 0x4a7e40
lea ecx, [ebp - 0x1014]
call fcn.0042e500
push eax
call fcn.0046b9a0
add esp, 8
test eax, eax
jne 0x437005
mov dword [ebp - 0x1030], 0
cmp dword [ebp - 0x101c], 0
je 0x436da6
mov byte [ebp - 0x1010], 5
mov byte [ebp - 0x100f], 2
mov byte [ebp - 0x100e], 0
mov byte [ebp - 0x100d], 2
mov dword [ebp - 0x1030], 4
mov ecx, dword [ebp - 0x1030]
push ecx
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30b4]
call fcn.00435f01
mov dword [ebp - 0x1030], 2
push 8
lea ecx, [ebp - 0x1030]
push ecx
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30b4]
call fcn.00435dcb
movsx ecx, byte [ebp - 0x1010]
cmp ecx, 5
jne 0x436d4d
movsx edx, byte [ebp - 0x100f]
cmp edx, 2
jne 0x436cec
mov byte [ebp - 0x1010], 1
lea ecx, [ebp - 0x1024]
call fcn.0042e500
push eax
call fcn.00465470
add esp, 4
mov dword [ebp - 0x1030], eax
mov al, byte [ebp - 0x1030]
mov byte [ebp - 0x100f], al
lea ecx, [ebp - 0x1024]
call fcn.0042e500
push eax
lea ecx, [ebp - 0x100e]
push ecx
call fcn.00465350
add esp, 8
mov edx, dword [ebp - 0x1030]
add edx, 2
mov dword [ebp - 0x1030], edx
lea ecx, [ebp - 0x1044]
call fcn.0042e500
push eax
call fcn.00465470
add esp, 4
mov ecx, dword [ebp - 0x1030]
mov byte [ebp + ecx - 0x1010], al
lea ecx, [ebp - 0x1044]
call fcn.0042e500
push eax
mov edx, dword [ebp - 0x1030]
lea eax, [ebp + edx - 0x100f]
push eax
call fcn.00465350
add esp, 8
lea ecx, [ebp - 0x1044]
call fcn.0042e500
push eax
call fcn.00465470
add esp, 4
mov ecx, dword [ebp - 0x1030]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1030], edx
mov eax, dword [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435f01
mov dword [ebp - 0x1030], 2
push 8
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435dcb
movsx eax, byte [ebp - 0x100f]
test eax, eax
je 0x436cea
mov dword [ebp - 0x3098], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x3098]
jmp 0x437054
jmp 0x436d4b
movsx ecx, byte [ebp - 0x100f]
test ecx, ecx
je 0x436d4b
mov dword [ebp - 0x309c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x309c]
jmp 0x437054
jmp 0x436da1
mov dword [ebp - 0x30a0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x30a0]
jmp 0x437054
jmp 0x436e76
mov byte [ebp - 0x1010], 5
mov byte [ebp - 0x100f], 1
mov byte [ebp - 0x100e], 0
mov dword [ebp - 0x1030], 3
mov edx, dword [ebp - 0x1030]
push edx
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435f01
mov dword [ebp - 0x1030], 2
push 8
lea edx, [ebp - 0x1030]
push edx
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435dcb
movsx edx, byte [ebp - 0x1010]
cmp edx, 5
jne 0x436e22
movsx eax, byte [ebp - 0x100f]
test eax, eax
je 0x436e76
mov dword [ebp - 0x30a4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x30a4]
jmp 0x437054
mov byte [ebp - 0x1010], 5
mov byte [ebp - 0x100f], 1
mov byte [ebp - 0x100e], 0
mov byte [ebp - 0x100d], 3
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00465470
add esp, 4
mov byte [ebp - 0x100c], al
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x100b]
push eax
call fcn.00465350
add esp, 8
mov cx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x306c], ax
push 2
lea edx, [ebp - 0x306c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00465470
add esp, 4
lea ecx, [ebp + eax - 0x100b]
push ecx
call fcn.004659b0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00465470
add esp, 4
add eax, 7
mov dword [ebp - 0x1030], eax
mov eax, dword [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435f01
mov dword [ebp - 0x1030], 0xa
push 8
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30b4]
call fcn.00435dcb
movsx eax, byte [ebp - 0x1010]
cmp eax, 5
jne 0x436f60
movsx ecx, byte [ebp - 0x100f]
test ecx, ecx
je 0x436fb4
mov dword [ebp - 0x30a8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x30a8]
jmp 0x437054
mov dword [ebp - 0x30ac], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x30ac]
jmp 0x437054
mov dword [ebp - 0x30b0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00480fc4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1024]
call fcn.00480fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00480fc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00480fc4
mov eax, dword [ebp - 0x30b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10