Function at 0x100d20c0
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 0x1011f8a4
mov eax, dword fs:[0]
push eax
mov eax, 0x10f4
call fcn.100ee750
mov eax, dword [0x10159e80]
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 - 0x1094], eax
mov dword [ebp - 0x10b0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1100], eax
mov dword [ebp - 0x10a8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x109c], 1
mov dword [ebp - 0x10cc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
movups xmmword [eax + 8], xmm0
mov dword [ebp - 0x1018], ecx
xor ecx, ecx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 7
mov word [eax + 8], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x1048]
push esi
mov dword [ebp - 0x109c], 1
call fcn.100022c0
push esi
lea ecx, [ebp - 0x1090]
mov dword [ebp - 4], 1
call fcn.100022c0
mov byte [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x100d2194
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 5
push str.https
push 0
call fcn.10004c80
add esp, 0xc
mov dword [ebp - 0x10ac], eax
xorps xmm0, xmm0
mov dword [ebp - 0x10d4], 0
lea ecx, [ebp - 0x10e4]
mov dword [ebp - 0x10d0], 0
movups xmmword [ebp - 0x10e4], xmm0
push 3
push 0x1013e574
call fcn.100023d0
cmp dword [ebp - 0x10d0], 7
lea edx, [ebp - 0x10e4]
mov eax, dword [ebp - 0x1038]
lea ecx, [ebp - 0x1048]
cmova edx, dword [ebp - 0x10e4]
cmp dword [ebp - 0x1034], 7
mov esi, dword [ebp - 0x10d4]
cmova ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x1014], edx
mov dword [ebp - 0x10a4], ecx
cmp esi, eax
ja 0x100d2261
test esi, esi
jne 0x100d222c
xor edi, edi
mov edi, esi
jmp 0x100d2264
sub eax, esi
mov edi, ecx
inc eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x10a0], eax
nop word [eax + eax]
sub eax, edi
sar eax, 1
je 0x100d2261
movzx ecx, word [edx]
nop dword [eax]
cmp word [edi], cx
je 0x100d22fc
add edi, 2
sub eax, 1
jne 0x100d2250
or edi, 0xffffffff
lea ecx, [ebp - 0x10e4]
call fcn.10002530
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x10ec], 0
push 0x101373e0
lea ecx, [ebp - 0x10fc]
mov dword [ebp - 0x10e8], 0
movups xmmword [ebp - 0x10fc], xmm0
call fcn.100023d0
cmp dword [ebp - 0x10e8], 7
lea edx, [ebp - 0x10fc]
mov eax, dword [ebp - 0x1038]
lea esi, [ebp - 0x1048]
cmova edx, dword [ebp - 0x10fc]
cmp dword [ebp - 0x1034], 7
mov ecx, dword [ebp - 0x10ec]
cmova esi, dword [ebp - 0x1048]
mov dword [ebp - 0x10a4], edx
mov dword [ebp - 0x10b0], esi
cmp ecx, eax
ja 0x100d2382
sub eax, ecx
cmp edi, eax
ja 0x100d2382
test ecx, ecx
jne 0x100d235b
mov esi, edi
jmp 0x100d26f5
test edi, edi
je 0x100d2261
mov ecx, edx
mov edx, edi
test esi, esi
je 0x100d2323
nop dword [eax]
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100d2341
add edx, 2
add ecx, 2
sub esi, 1
jne 0x100d2310
sub edi, dword [ebp - 0x10a4]
sar edi, 1
cmp edi, 0xffffffff
je 0x100d2264
mov esi, dword [ebp - 0x10d4]
add edi, esi
jmp 0x100d2264
mov edx, dword [ebp - 0x1014]
add edi, 2
mov esi, dword [ebp - 0x10d4]
mov eax, dword [ebp - 0x10a0]
jmp 0x100d2240
inc eax
lea eax, [esi + eax*2]
mov dword [ebp - 0x10a0], eax
lea esi, [esi + edi*2]
sub eax, esi
sar eax, 1
je 0x100d2382
movzx ecx, word [edx]
cmp word [esi], cx
je 0x100d26b2
add esi, 2
sub eax, 1
jne 0x100d2371
or esi, 0xffffffff
lea ecx, [ebp - 0x10fc]
call fcn.10002530
mov edx, dword [ebp - 0x1098]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10c8], xmm0
mov dword [ebp - 0x10b8], 0
mov dword [ebp - 0x10b4], 0
mov ecx, dword [edx + 0x10]
cmp ecx, edi
jb 0x100d29d1
mov eax, esi
sub ecx, edi
sub eax, edi
dec eax
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x100d23d5
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi*2]
push eax
lea ecx, [ebp - 0x10c8]
call fcn.100023d0
mov dword [ebp - 0x109c], 3
lea eax, [ebp - 0x10c8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1030]
call fcn.100022c0
lea ecx, [ebp - 0x1048]
call fcn.10002530
movups xmm0, xmmword [ebp - 0x1030]
xor eax, eax
lea ecx, [ebp - 0x1030]
mov word [ebp - 0x1030], ax
movups xmmword [ebp - 0x1048], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [ebp - 0x1038], xmm0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
call fcn.10002530
lea ecx, [ebp - 0x10c8]
mov byte [ebp - 4], 2
call fcn.10002530
mov edx, dword [ebp - 0x1098]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1080]
sub ecx, esi
mov dword [ebp - 0x10b8], 0
movups xmmword [ebp - 0x10c8], xmm0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10b4], 0
cmp eax, esi
jb 0x100d29d1
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [edx + 0x14], 7
jbe 0x100d24ab
mov edx, dword [edx]
push ecx
lea eax, [edx + esi*2]
push eax
lea ecx, [ebp - 0x10c8]
call fcn.100023d0
mov dword [ebp - 0x109c], 7
lea eax, [ebp - 0x10c8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1030]
call fcn.100022c0
lea ecx, [ebp - 0x1090]
call fcn.10002530
movups xmm0, xmmword [ebp - 0x1030]
xor eax, eax
lea ecx, [ebp - 0x1030]
mov word [ebp - 0x1030], ax
movups xmmword [ebp - 0x1090], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [ebp - 0x1080], xmm0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
call fcn.10002530
lea ecx, [ebp - 0x10c8]
mov byte [ebp - 4], 2
call fcn.10002530
push ecx
mov ecx, dword [ebp - 0x10a8]
lea eax, [ebp - 0x1060]
push eax
mov dword [ebp - 0x1098], 0
xor edi, edi
call fcn.100c9da0
mov byte [ebp - 4], 5
mov edx, str.Content_Type:_application_x_www_form_urlencoded_r_n
cmp dword [ebp - 0x1050], edi
mov eax, 0x10137ee4
xorps xmm0, xmm0
mov dword [ebp - 0x1068], edi
cmove edx, eax
mov dword [ebp - 0x1064], edi
mov ecx, edx
movups xmmword [ebp - 0x1078], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d2590
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1078]
call fcn.100023d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1018]
cmp dword [eax + 0x14], 7
jbe 0x100d25be
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, eax
mov dword [ebp - 0x10a8], edx
test edx, edx
je 0x100d290f
cmp dword [ebp - 0x1034], 7
lea ecx, [ebp - 0x1048]
push 0
cmova ecx, dword [ebp - 0x1048]
mov eax, 0x50
cmp dword [ebp - 0x10ac], 0xffffffff
push 0
push 3
push 0
push 0
mov dword [ebp - 0x1018], 0x1bb
cmovne eax, dword [ebp - 0x1018]
movzx eax, ax
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, eax
mov dword [ebp - 0x1098], edx
test edx, edx
je 0x100d290f
cmp dword [ebp - 0x107c], 7
lea ecx, [ebp - 0x1090]
push 1
cmova ecx, dword [ebp - 0x1090]
mov eax, 0x4400100
cmp dword [ebp - 0x10ac], 0xffffffff
mov edi, 0x4c00100
cmovne eax, edi
cmp dword [ebp - 0x1050], 0
push eax
push 0
push 0
push 0
push ecx
mov ecx, 0x1013e5f0
mov eax, str.POST
cmove eax, ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x100d290f
mov edx, dword [ebp - 0x1050]
test edx, edx
je 0x100d2719
cmp dword [ebp - 0x104c], 0xf
lea ecx, [ebp - 0x1060]
cmova ecx, dword [ebp - 0x1060]
jmp 0x100d271b
test esi, esi
je 0x100d2382
mov eax, dword [ebp - 0x10ec]
mov ecx, edx
mov dword [ebp - 0x1014], eax
mov edx, esi
test eax, eax
je 0x100d26e7
nop
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x100d2705
add edx, 2
add ecx, 2
sub dword [ebp - 0x1014], 1
jne 0x100d26d0
sub esi, dword [ebp - 0x10b0]
mov ecx, dword [ebp - 0x10ec]
sar esi, 1
cmp esi, 0xffffffff
je 0x100d2385
add esi, ecx
jmp 0x100d2385
mov edx, dword [ebp - 0x10a4]
add esi, 2
mov eax, dword [ebp - 0x10a0]
jmp 0x100d2368
xor ecx, ecx
cmp dword [ebp - 0x1068], 0
je 0x100d273a
cmp dword [ebp - 0x1064], 7
lea eax, [ebp - 0x1078]
cmova eax, dword [ebp - 0x1078]
jmp 0x100d273c
xor eax, eax
push edx
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100d290f
push 0
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1018], 4
push eax
mov eax, dword [ebp - 0x1094]
add eax, 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x1094]
cmp dword [eax + 4], 0xc8
jne 0x100d290f
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.100efb50
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x1030], xmm0
add esp, 0xc
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 7
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push edi
call esi
test eax, eax
je 0x100d2856
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x100d2856
cmp eax, 0x1000
jae 0x100d29db
lea ecx, [ebp - 0x1010]
mov byte [ebp + eax - 0x1010], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2820
sub ecx, edx
lea eax, [ebp - 0x1010]
push ecx
push eax
lea ecx, [ebp - 0x1030]
call fcn.10004940
lea eax, [ebp - 0x1014]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push edi
call esi
test eax, eax
jne 0x100d27f5
push dword [ebp - 0x10cc]
lea eax, [ebp - 0x10c8]
push eax
lea ecx, [ebp - 0x1030]
call fcn.100c9fd0
mov esi, eax
mov eax, dword [ebp - 0x1094]
add eax, 8
cmp eax, esi
je 0x100d28ae
mov ecx, eax
call fcn.10002530
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x1094]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x18], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x10c8]
call fcn.10002530
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x100d2909
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d28e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d29d6
push ecx
push edx
call fcn.100edbed
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1094]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ecx], eax
jmp 0x100d2921
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1094]
mov dword [ecx], eax
test edi, edi
je 0x100d2924
push edi
call esi
mov eax, dword [ebp - 0x1098]
test eax, eax
je 0x100d2931
push eax
call esi
mov eax, dword [ebp - 0x10a8]
test eax, eax
je 0x100d293e
push eax
call esi
lea ecx, [ebp - 0x1078]
call fcn.10002530
mov ecx, dword [ebp - 0x104c]
cmp ecx, 0xf
jbe 0x100d297f
mov edx, dword [ebp - 0x1060]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d2975
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d29e0
push ecx
push edx
call fcn.100edbed
add esp, 8
lea ecx, [ebp - 0x1090]
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0xf
mov byte [ebp - 0x1060], 0
call fcn.10002530
lea ecx, [ebp - 0x1048]
call fcn.10002530
mov eax, dword [ebp - 0x1094]
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.100edbdf
mov esp, ebp
pop ebp
ret
call fcn.10002e70
call fcn.100f2e4f
call fcn.100ee302
call fcn.100f2e4f
int3