Function at 0x2759c0f0
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275ac864
mov eax, dword fs:[0]
push eax
mov eax, 0x2198
call fcn.27580a90
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push ebx
mov esi, ecx
push 0x27532718
lea ecx, [ebp - 0x20c4]
push ecx
push 0x275326b0
lea edx, [ebp - 0x20c0]
push 2
push edx
mov dword [ebp - 0x20d0], esi
mov dword [ebp - 0x2100], eax
mov dword [ebp - 0x20c4], ebx
call fcn.2753a320
add esp, 0x18
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x20c8], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x20fc], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x20dc], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 3
mov dword [ebp - 0x20d8], ebx
mov dword [ebp - 0x20e8], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x20f0], eax
mov dword [ebp - 0x20e4], ebx
mov dword [ebp - 0x20d4], ebx
mov dword [ebp - 0x20f4], ebx
mov dword [ebp - 0x20cc], ebx
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 8
call edx
add eax, 0x10
mov dword [ebp - 0x20f8], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 9
call edx
add eax, 0x10
mov dword [ebp - 0x20ec], eax
lea ecx, [ebp - 0x21a4]
mov byte [ebp - 4], 0xa
call fcn.275658f0
mov byte [ebp - 4], 0xb
call fcn.27595010
test al, al
je 0x2759c259
push 0x27532660
push 0x275325f8
push 3
call fcn.27595fd0
add esp, 0xc
cmp dword [esi + 0x6c], ebx
jne 0x2759c3c9
mov dword [ebp - 0x20c4], 0x80048008
mov ebx, dword [ebp - 0x20cc]
mov edi, dword [ebp - 0x20c4]
lea ecx, [ebp - 0x21a4]
call fcn.27565a90
mov eax, dword [ebp - 0x20ec]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759c2a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20f8]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759c2cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x2759c2dc
push ebx
call esi
cmp dword [ebp - 0x20f4], 0
je 0x2759c2ee
mov ecx, dword [ebp - 0x20f4]
push ecx
call esi
cmp dword [ebp - 0x20d4], 0
je 0x2759c300
mov edx, dword [ebp - 0x20d4]
push edx
call esi
mov eax, dword [ebp - 0x20e4]
test eax, eax
mov byte [ebp - 4], 4
je 0x2759c316
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x20f0]
mov byte [ebp - 4], 3
call fcn.2753d3b0
mov eax, dword [ebp - 0x20dc]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759c34b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20fc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759c371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20c8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759c397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20c0]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x104], 0
jne 0x2759c430
lea eax, [ebp - 0x2108]
push eax
mov dword [ebp - 0x2108], ebx
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x2759c404
push ebx
lea ecx, [ebp - 0x2104]
push ecx
mov dword [ebp - 0x2104], 0x57
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x2759c430
call fcn.27595010
test al, al
je 0x2759c421
push 0x27523d28
push 0x27532590
push 1
call fcn.27595fd0
add esp, 0xc
mov dword [ebp - 0x20c4], 0x80048265
jmp 0x2759c26c
mov edi, dword [ebp - 0x20d0]
mov edx, dword [edi + 0x84]
add edi, 0x84
xor esi, esi
cmp dword [edx - 0xc], ebx
jne 0x2759c45a
mov ecx, dword [ebp - 0x20d0]
call fcn.2759a4f0
mov esi, eax
cmp esi, ebx
jl 0x2759c466
push edi
lea ecx, [ebp - 0x20dc]
call fcn.27548c50
cmp esi, ebx
mov dword [ebp - 0x20c4], esi
jge 0x2759c4a3
call fcn.27595010
test al, al
je 0x2759c493
mov eax, dword [ebp - 0x20c4]
push eax
push 0x27532538
push 0x275324d0
push ebx
call fcn.27595fd0
add esp, 0x10
push 0x27532498
lea ecx, [ebp - 0x20dc]
call fcn.2753f490
mov ecx, dword [ebp - 0x20d0]
mov ecx, dword [ecx + 0x6c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x21a4]
push eax
call edx
mov eax, dword [ebp - 0x2180]
mov ecx, dword [ebp - 0x2184]
mov edx, dword [ebp - 0x217c]
mov edi, dword [ebp - 0x20dc]
push ebx
push eax
push ecx
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x20d4], esi
call fcn.27595010
test al, al
je 0x2759c503
push edi
push 0x27532478
push 0x27532410
push 3
call fcn.27595fd0
add esp, 0x10
cmp esi, ebx
jne 0x2759c555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov eax, dword [ebp - 0x217c]
mov ecx, dword [ebp - 0x2180]
mov edx, dword [ebp - 0x2184]
push eax
mov eax, dword [ebp - 0x20c4]
push ecx
push edx
push eax
push 0x27532388
push 0x27532320
push 0
call fcn.27595fd0
add esp, 0x1c
jmp 0x2759c26c
lea ecx, [ebp - 0x21a0]
lea edx, [ebp - 0x2198]
lea eax, [ebp - 0x219c]
mov dword [ebp - 0x212c], 2
mov dword [ebp - 0x2128], ecx
mov dword [ebp - 0x2124], 0x2753230c
mov dword [ebp - 0x2120], 6
mov dword [ebp - 0x211c], edx
mov dword [ebp - 0x2118], 0x275322fc
mov dword [ebp - 0x2114], 5
mov dword [ebp - 0x2110], eax
mov dword [ebp - 0x210c], 0x275322f0
lea esi, [ebp - 0x2128]
mov ebx, 3
call fcn.27595010
test al, al
je 0x2759c5e6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [esi + 4]
push edx
push eax
push 0x275322b0
push 0x27532248
push 3
call fcn.27595fd0
add esp, 0x14
mov eax, dword [esi]
cmp dword [eax], 0
je 0x2759c62f
mov ecx, dword [esi - 4]
mov edx, dword [ebp - 0x20d4]
push 4
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x2759c62f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.27595010
test al, al
je 0x2759c62f
mov eax, dword [esi + 4]
push edi
push eax
push 0x275321d0
push 0x27532168
push 3
call fcn.27595fd0
add esp, 0x14
add esi, 0xc
sub ebx, 1
jne 0x2759c5c0
mov ecx, dword [ebp - 0x2190]
cmp dword [ecx - 0xc], 0
jne 0x2759c681
mov esi, dword [0x275bb604]
test esi, esi
jne 0x2759c65e
xor eax, eax
push eax
push esi
lea ecx, [ebp - 0x20c8]
call fcn.27538e90
jmp 0x2759c6ad
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2759c663
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20c8]
call fcn.27538e90
jmp 0x2759c6ad
lea ecx, [ebp - 0x2190]
call fcn.2753e6c0
push eax
lea ecx, [ebp - 0x20c8]
call fcn.2753d5b0
push 0x27502db8
push 0x27532144
lea ecx, [ebp - 0x20c8]
call fcn.27548d20
cmp byte [ebp + 8], 0
je 0x2759c6d3
mov esi, dword [0x275bb608]
test esi, esi
jne 0x2759c6c1
xor eax, eax
jmp 0x2759c6f5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2759c6c6
jmp 0x2759c6f1
mov esi, dword [0x275bb60c]
test esi, esi
jne 0x2759c6e1
xor eax, eax
jmp 0x2759c6f5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2759c6e6
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x20c8]
call fcn.2753eb70
call fcn.27595010
test al, al
mov edi, dword [ebp - 0x20c8]
je 0x2759c726
push edi
push 0x27532130
push 0x275320c8
push 3
call fcn.27595fd0
add esp, 0x10
push 0x38
lea edx, [ebp - 0x2140]
push 0
push edx
call fcn.2757fdd0
mov eax, 1
mov dword [ebp - 0x2144], 0x3c
mov dword [ebp - 0x2130], eax
mov dword [ebp - 0x2114], eax
mov esi, dword [edi - 0xc]
add esp, 0xc
cmp dword [edi - 4], eax
jle 0x2759c770
mov eax, esi
push eax
lea ecx, [ebp - 0x20c8]
call fcn.27538c70
mov edi, dword [ebp - 0x20c8]
lea ecx, [ebp - 0x2144]
push ecx
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x2759c7db
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759c795
call esi
jmp 0x2759c7a1
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov edx, dword [ebp - 0x20c8]
mov eax, dword [ebp - 0x20c4]
push edx
push eax
push 0x27532068
push 0x27532000
push 0
call fcn.27595fd0
add esp, 0x14
jmp 0x2759c26c
mov eax, dword [ebp - 0x2134]
test eax, eax
je 0x2759c7f8
mov ecx, dword [ebp - 0x2130]
push ecx
push eax
lea ecx, [ebp - 0x20f8]
call fcn.27538e90
mov eax, dword [ebp - 0x2118]
test eax, eax
je 0x2759c815
mov edx, dword [ebp - 0x2114]
push edx
push eax
lea ecx, [ebp - 0x20ec]
call fcn.27538e90
mov esi, dword [ebp - 0x20d0]
mov eax, dword [ebp - 0x212c]
mov ecx, dword [ebp - 0x20f8]
mov edx, dword [ebp - 0x20d4]
push esi
push 0x200
push 3
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [ebp - 0x20f4], eax
jne 0x2759c884
call fcn.27539290
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov eax, dword [ebp - 0x20c4]
push eax
push 0x27523654
push 0x27531f98
push 0
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c26c
mov edx, dword [ebp - 0x20ec]
xor ecx, ecx
cmp dword [ebp - 0x2138], 4
push esi
setne cl
sub ecx, 1
and ecx, 0x800000
or ecx, 0x84001200
push ecx
push str.pS
push 0
push 0x275235e4
push edx
push 0x27531f90
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x20cc], ebx
jne 0x2759c903
call fcn.27539290
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov eax, dword [ebp - 0x20c4]
push eax
push 0x27531f58
push 0x27531ef0
push ebx
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
mov ecx, dword [ebp - 0x2178]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x2759ca38
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
add eax, 1
push eax
push ecx
push 0x2b
push ebx
call edi
test eax, eax
jne 0x2759c977
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759c938
call esi
jmp 0x2759c944
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov ecx, dword [ebp - 0x20c4]
push ecx
push 0x27523498
push 0x27531e88
push 3
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
mov edx, dword [ebp - 0x2174]
cmp dword [edx - 0xc], 0
jle 0x2759c9d2
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x20f0]
push edx
lea edx, [ebp - 0x2174]
push edx
call eax
test eax, eax
mov dword [ebp - 0x20c4], eax
jge 0x2759c9d2
call fcn.27595010
test al, al
je 0x2759c26c
mov ecx, dword [ebp - 0x20c4]
push ecx
push 0x275233d8
push 0x27531e20
push 0
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
mov eax, dword [ebp - 0x20f0]
mov ecx, dword [eax - 0xc]
add ecx, 1
push ecx
push eax
push 0x2c
push ebx
call edi
test eax, eax
jne 0x2759ca38
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759c9f9
call esi
jmp 0x2759ca05
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov edx, dword [ebp - 0x20c4]
push edx
push 0x275232d8
push 0x27531db8
push 3
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x2759caa1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759ca5b
call esi
jmp 0x2759ca67
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov eax, dword [ebp - 0x20c4]
mov ecx, dword [ebp - 0x20c8]
push eax
push ecx
push 0x27531d68
push 0x27531d00
push 0
call fcn.27595fd0
add esp, 0x14
jmp 0x2759c272
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0
lea edx, [ebp - 0x20d8]
push edx
lea eax, [ebp - 0x20e8]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x20d8], 4
call esi
test eax, eax
jne 0x2759cb1c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759cadd
call esi
jmp 0x2759cae9
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov ecx, dword [ebp - 0x20c4]
push ecx
push 0x27531cc0
push 0x27531c58
push 0
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
mov eax, dword [ebp - 0x20e8]
cmp eax, 0xc8
je 0x2759cb63
cmp eax, 0x130
je 0x2759cb63
call fcn.27595010
test al, al
je 0x2759cb54
mov edx, dword [ebp - 0x20e8]
push edx
push 0x27531c10
push 0x27531ba8
push 0
call fcn.27595fd0
add esp, 0x10
mov dword [ebp - 0x20c4], 0x8004825b
jmp 0x2759c272
push 0
lea eax, [ebp - 0x20d8]
push eax
lea ecx, [ebp - 0x1fb4]
push ecx
push 0x14
push ebx
mov dword [ebp - 0x20d8], 0x1fa1
call esi
test eax, eax
jne 0x2759cbd5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759cb96
call esi
jmp 0x2759cba2
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov edx, dword [ebp - 0x20c4]
push edx
push 0x27531cc0
push 0x27531b40
push 0
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
push 0x27531b38
lea eax, [ebp - 0x1fb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x2759cbfa
mov dword [ebp - 0x20c4], 1
jmp 0x2759c272
lea ecx, [ebp - 0x20e4]
push ecx
push 1
push 0
mov dword [ebp - 0x20e0], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
mov dword [ebp - 0x20c4], eax
jl 0x2759c272
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [ebp - 0x20e0]
push edx
push 0x1fa1
lea eax, [ebp - 0x1fb4]
push eax
push ebx
call esi
test eax, eax
je 0x2759ccbb
mov edi, dword [ebp - 0x2100]
lea esp, [esp]
mov ecx, dword [ebp - 0x20e0]
test ecx, ecx
je 0x2759cd0a
mov eax, dword [ebp - 0x20e4]
test eax, eax
je 0x2759cc8e
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push ecx
lea ecx, [ebp - 0x1fb4]
push ecx
push eax
call edx
test eax, eax
mov dword [ebp - 0x20c4], eax
jne 0x2759c272
mov ecx, dword [ebp - 0x20e0]
test edi, edi
je 0x2759cca1
push ecx
lea eax, [ebp - 0x1fb4]
push eax
mov ecx, edi
call fcn.27549080
lea ecx, [ebp - 0x20e0]
push ecx
push 0x1fa1
lea edx, [ebp - 0x1fb4]
push edx
push ebx
call esi
test eax, eax
jne 0x2759cc50
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2759cccb
call esi
jmp 0x2759ccd7
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x20c4], eax
call fcn.27595010
test al, al
je 0x2759c26c
mov eax, dword [ebp - 0x20c4]
push eax
push 0x27531af8
push 0x27531a90
push 0
call fcn.27595fd0
add esp, 0x10
jmp 0x2759c272
cmp dword [ebp - 0x20e8], 0xc8
jne 0x2759c26c
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20d0]
push edx
call fcn.2759bb50
mov dword [ebp - 0x20c4], eax
jmp 0x2759c272