Function at 0x1000a90b
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 8]
push edi
cmp eax, esi
je 0x1000a926
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp + 8], 0
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
je 0x1000ab5d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0x48]
call dword [ebx + 0x4c]
mov edi, dword [ebp - 4]
cmp edi, esi
je 0x1000a95a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x1000a96f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
jmp 0x1000a971
xor edi, edi
cmp byte [ebx + 0x28], 0
jne 0x1000ab5b
mov byte [ebx + 0x28], 1
push dword [0x10044c64]
call fcn.1000d321
push eax
mov dword [ebp - 0x1c], eax
push dword [ebx + 0x14]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x1000ab50
lea edi, [edi + esi*2]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push edi
call esi
mov dword [ebp - 8], eax
lea eax, [edi + edi]
push eax
call esi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x1000aa31
cmp dword [ebp - 4], 0
je 0x1000aa0c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10038928
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x1000aa55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10038928
jmp 0x1000aa5d
cmp dword [ebp - 4], 0
je 0x1000aa83
mov edi, 0x10038928
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
and byte [ecx + edx], 0
and byte [ecx + edx + 1], 0
and byte [ecx + edx + 2], 0
and byte [ecx + edx + 3], 0
and byte [ecx + edx + 4], 0
lea eax, [ecx + edx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x18]
not ecx
dec ecx
push ecx
push edx
push edi
call fcn.10009f4e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebx + 0x14]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 0xa]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 0x14]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 0x14]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call edi
mov eax, dword [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebx + 0x14], eax
call edi
push dword [ebp - 0x18]
call edi
jmp 0x1000ab56
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x1c]
call edi
xor esi, esi
push esi
push 0x84400000
push esi
push esi
push esi
push dword [ebx + 0x14]
push esi
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, esi
mov dword [ebx + 8], eax
je 0x1000ad01
cmp byte [ebp + 0xc], 0
jne 0x1000ad05
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [ebx + 0x2c]
push 4
push ecx
push 2
push eax
call esi
lea eax, [ebx + 0x38]
push 4
push eax
push 6
push dword [ebx + 8]
call esi
cmp byte [ebp + 8], 0
je 0x1000ac3b
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x1000abee
cmp dword [ebp - 4], 0
je 0x1000abcd
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
jmp 0x1000abfe
and byte [ebp + 0xb], 0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x1c
push dword [ebx + 8]
call esi
lea eax, [ebp + 0xb]
push 1
push eax
jmp 0x1000ac16
cmp dword [ebp - 4], 0
je 0x1000ac3b
and byte [ebp + 0xb], 0
lea eax, [ebp + 0xb]
push 1
push eax
push 0x1c
push dword [ebx + 8]
call esi
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push dword [ebp - 4]
push 0x1d
push dword [ebx + 8]
call esi
cmp dword [ebp - 0xc], 0
je 0x1000ac2c
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 4], 0
je 0x1000ac3b
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1000ad01
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x10]
lea edi, [ebx + 0x24]
push 0
push eax
push edi
push 0x20000013
mov dword [ebp - 0x10], 4
push dword [ebx + 8]
call esi
test eax, eax
je 0x1000ad01
mov edi, dword [edi]
cmp edi, 0x191
je 0x1000ad01
cmp edi, 0xc8
jb 0x1000acea
cmp edi, 0x12b
ja 0x1000acea
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1000ad05
lea eax, [ebp - 0x10]
push 0
push eax
and dword [ebp - 0x10], 0
push dword [edi]
push 0x16
push dword [ebx + 8]
call esi
test eax, eax
jne 0x1000ad05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
je 0x1000ad01
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push 0x16
mov dword [edi], eax
push dword [ebx + 8]
call esi
test eax, eax
jne 0x1000ad05
push dword [edi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [edi], 0
jmp 0x1000ad01
cmp edi, 0x190
jb 0x1000ad05
cmp edi, 0x1f3
ja 0x1000ad05
mov dword [ebx + 0xc], 5
xor al, al
jmp 0x1000ad07
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc