Function at 0x10076ad0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf974
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.100931f0
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1098], esi
mov eax, ecx
mov dword [ebp - 0x10a0], eax
mov dword [ebp - 0x10b8], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x10dc], eax
mov dword [ebp - 0x10ac], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x109c], 1
mov dword [ebp - 0x10c0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x1030], ecx
lea ecx, [eax + 4]
add eax, 8
mov dword [ecx], 0
mov dword [ebp - 0x10b4], ecx
xor ecx, ecx
mov dword [ebp - 0x10b8], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x1048]
push esi
mov dword [ebp - 0x109c], 1
call fcn.1000d8c0
push esi
lea ecx, [ebp - 0x1090]
mov dword [ebp - 4], 1
call fcn.1000d8c0
mov byte [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x10076bb3
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 5
push str.https
push 0
call fcn.1000cb40
add esp, 0xc
mov dword [ebp - 0x10b0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
movups xmmword [ebp - 0x102c], xmm0
push 3
push 0x100e5b68
call fcn.1000db40
cmp dword [ebp - 0x1018], 8
lea edx, [ebp - 0x102c]
mov eax, dword [ebp - 0x1038]
lea ecx, [ebp - 0x1048]
cmovae edx, dword [ebp - 0x102c]
setae byte [ebp - 0x1091]
cmp dword [ebp - 0x1034], 8
mov esi, dword [ebp - 0x101c]
cmovae ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x1014], edx
mov dword [ebp - 0x10a8], ecx
cmp esi, eax
ja 0x10076c81
test esi, esi
jne 0x10076c52
xor edi, edi
mov edi, esi
jmp 0x10076c84
sub eax, esi
mov edi, ecx
inc eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x10a4], eax
sub eax, edi
sar eax, 1
je 0x10076c81
movzx ecx, word [edx]
nop dword [eax]
cmp word [edi], cx
je 0x10076d5c
add edi, 2
sub eax, 1
jne 0x10076c70
or edi, 0xffffffff
cmp byte [ebp - 0x1091], 0
je 0x10076cc8
mov ecx, dword [ebp - 0x1018]
mov edx, dword [ebp - 0x102c]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10076cbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
push 0x100e1b3c
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 0
movups xmmword [ebp - 0x102c], xmm0
call fcn.1000db40
cmp dword [ebp - 0x1018], 8
lea edx, [ebp - 0x102c]
mov eax, dword [ebp - 0x1038]
lea esi, [ebp - 0x1048]
cmovae edx, dword [ebp - 0x102c]
setae byte [ebp - 0x1091]
cmp dword [ebp - 0x1034], 8
mov ecx, dword [ebp - 0x101c]
cmovae esi, dword [ebp - 0x1048]
mov dword [ebp - 0x10a8], edx
mov dword [ebp - 0x10bc], esi
cmp ecx, eax
ja 0x10076de2
sub eax, ecx
cmp edi, eax
ja 0x10076de2
test ecx, ecx
jne 0x10076dbb
mov esi, edi
jmp 0x100771e5
test edi, edi
je 0x10076c81
mov ecx, edx
mov edx, edi
test esi, esi
je 0x10076d83
nop dword [eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x10076da1
add edx, 2
add ecx, 2
sub esi, 1
jne 0x10076d70
sub edi, dword [ebp - 0x10a8]
sar edi, 1
cmp edi, 0xffffffff
je 0x10076c84
mov esi, dword [ebp - 0x101c]
add edi, esi
jmp 0x10076c84
mov edx, dword [ebp - 0x1014]
add edi, 2
mov esi, dword [ebp - 0x101c]
mov eax, dword [ebp - 0x10a4]
jmp 0x10076c60
inc eax
lea eax, [esi + eax*2]
mov dword [ebp - 0x10a4], eax
lea esi, [esi + edi*2]
sub eax, esi
sar eax, 1
je 0x10076de2
movzx ecx, word [edx]
cmp word [esi], cx
je 0x100771a4
add esi, 2
sub eax, 1
jne 0x10076dd1
or esi, 0xffffffff
cmp byte [ebp - 0x1091], 0
je 0x10076e29
mov ecx, dword [ebp - 0x1018]
mov edx, dword [ebp - 0x102c]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10076e1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov edx, dword [ebp - 0x1098]
xorps xmm0, xmm0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov ecx, dword [edx + 0x10]
cmp ecx, edi
jb 0x10077589
mov eax, esi
sub ecx, edi
sub eax, edi
dec eax
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 8
mov ecx, edx
jb 0x10076e6e
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi*2]
push eax
lea ecx, [ebp - 0x102c]
call fcn.1000db40
mov dword [ebp - 0x109c], 3
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10d8]
call fcn.1000d8c0
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0x1048]
call fcn.1000d830
mov ecx, dword [ebp - 0x10c4]
cmp ecx, 8
jb 0x10076ef0
mov edx, dword [ebp - 0x10d8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10076ee6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1018]
cmp ecx, 8
jb 0x10076f34
mov edx, dword [ebp - 0x102c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10076f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov edx, dword [ebp - 0x1098]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1080]
sub eax, esi
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x102c], xmm0
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x1018], 0
cmp ecx, esi
jb 0x10077589
sub ecx, esi
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 8
jb 0x10076f7a
mov edx, dword [edx]
push eax
lea eax, [edx + esi*2]
push eax
lea ecx, [ebp - 0x102c]
call fcn.1000db40
mov dword [ebp - 0x109c], 7
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10d8]
call fcn.1000d8c0
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0x1090]
call fcn.1000d830
mov ecx, dword [ebp - 0x10c4]
cmp ecx, 8
jb 0x10076ffc
mov edx, dword [ebp - 0x10d8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10076ff2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1018]
cmp ecx, 8
jb 0x10077040
mov edx, dword [ebp - 0x102c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10077036
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
push ecx
mov ecx, dword [ebp - 0x10ac]
lea eax, [ebp - 0x1078]
push eax
mov dword [ebp - 0x1098], 0
xor esi, esi
call fcn.1006df10
mov byte [ebp - 4], 5
mov edx, str.Content_Type:_application_x_www_form_urlencoded_r_n
cmp dword [ebp - 0x1068], esi
mov eax, 0x100e2350
xorps xmm0, xmm0
mov dword [ebp - 0x1050], esi
cmove edx, eax
mov dword [ebp - 0x104c], esi
mov ecx, edx
movups xmmword [ebp - 0x1060], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10077091
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1060]
call fcn.1000db40
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1030]
cmp dword [eax + 0x14], 8
jb 0x100770bf
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x10ac], edi
test edi, edi
je 0x100773e6
cmp dword [ebp - 0x1034], 8
lea ecx, [ebp - 0x1048]
push 0
cmovae ecx, dword [ebp - 0x1048]
mov edx, 0x1bb
cmp dword [ebp - 0x10b0], 0xffffffff
mov eax, 0x50
push 0
push 3
push 0
push 0
cmovne eax, edx
movzx eax, ax
push eax
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, eax
mov dword [ebp - 0x1098], edx
test edx, edx
je 0x100773e6
cmp dword [ebp - 0x107c], 8
lea ecx, [ebp - 0x1090]
push 1
cmovae ecx, dword [ebp - 0x1090]
mov eax, 0x4400100
cmp dword [ebp - 0x10b0], 0xffffffff
mov esi, 0x4c00100
cmovne eax, esi
cmp dword [ebp - 0x1068], 0
push eax
push 0
push 0
push 0
push ecx
mov ecx, 0x100e5be0
mov eax, str.POST
cmove eax, ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x100773e6
mov edx, dword [ebp - 0x1068]
test edx, edx
je 0x10077209
cmp dword [ebp - 0x1064], 0x10
lea ecx, [ebp - 0x1078]
cmovae ecx, dword [ebp - 0x1078]
jmp 0x1007720b
test esi, esi
je 0x10076de2
mov eax, dword [ebp - 0x101c]
mov ecx, edx
mov dword [ebp - 0x1014], eax
mov edx, esi
test eax, eax
je 0x100771d7
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100771f5
add edx, 2
add ecx, 2
sub dword [ebp - 0x1014], 1
jne 0x100771c0
sub esi, dword [ebp - 0x10bc]
mov ecx, dword [ebp - 0x101c]
sar esi, 1
cmp esi, 0xffffffff
je 0x10076de5
add esi, ecx
jmp 0x10076de5
mov edx, dword [ebp - 0x10a8]
add esi, 2
mov eax, dword [ebp - 0x10a4]
jmp 0x10076dc8
xor ecx, ecx
cmp dword [ebp - 0x1050], 0
je 0x1007722a
cmp dword [ebp - 0x104c], 8
lea eax, [ebp - 0x1060]
cmovae eax, dword [ebp - 0x1060]
jmp 0x1007722c
xor eax, eax
push edx
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100773e6
push 0
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1030], 4
push eax
push dword [ebp - 0x10b4]
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x10b4]
cmp dword [eax], 0xc8
jne 0x100773e6
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10094470
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x102c], xmm0
add esp, 0xc
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 7
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push esi
call edi
test eax, eax
je 0x10077329
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x10077329
cmp eax, 0x1000
jae 0x10077593
mov byte [ebp + eax - 0x1010], 0
lea ecx, [ebp - 0x102c]
lea eax, [ebp - 0x1010]
push eax
call fcn.1000af30
lea eax, [ebp - 0x1014]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push esi
call edi
test eax, eax
jne 0x100772e0
push dword [ebp - 0x10c0]
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0x102c]
call fcn.1006e190
mov ecx, dword [ebp - 0x10b8]
push eax
call fcn.1000d830
mov ecx, dword [ebp - 0x10c4]
cmp ecx, 8
jb 0x1007738d
mov edx, dword [ebp - 0x10d8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10077383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007758e
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x1018]
cmp ecx, 0x10
jb 0x100773c7
mov edx, dword [ebp - 0x102c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100773bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077598
push ecx
push edx
call fcn.10092592
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10a0]
mov edi, dword [ebp - 0x10ac]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ecx], eax
call esi
jmp 0x10077409
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10a0]
mov dword [ecx], eax
test esi, esi
je 0x10077403
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x10077409
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1098]
test eax, eax
je 0x10077416
push eax
call esi
test edi, edi
je 0x1007741d
push edi
call esi
mov ecx, dword [ebp - 0x104c]
cmp ecx, 8
jb 0x1007745d
mov edx, dword [ebp - 0x1060]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10077453
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x1064]
xor eax, eax
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 7
mov word [ebp - 0x1060], ax
cmp ecx, 0x10
jb 0x100774b4
mov edx, dword [ebp - 0x1078]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100774aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x107c]
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0xf
mov byte [ebp - 0x1078], 0
cmp ecx, 8
jb 0x1007750f
mov edx, dword [ebp - 0x1090]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10077505
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x1034]
xor eax, eax
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 7
mov word [ebp - 0x1090], ax
cmp ecx, 8
jb 0x10077568
mov edx, dword [ebp - 0x1048]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007755e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007759d
push ecx
push edx
call fcn.10092592
add esp, 8
mov eax, dword [ebp - 0x10a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10092561
mov esp, ebp
pop ebp
ret
call fcn.1000bea0
call fcn.10097635
call fcn.10092dac
call fcn.10097635
call fcn.10097635
int3