Function at 0x1000b0fb
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0xe80
mov eax, 0x10017012
call fcn.1001656d
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe34], ebx
mov dword [ebp - 0xe48], eax
call fcn.1000b0b3
lea eax, [ebp - 0xe3c]
mov dword [ebp - 0xe2c], 0x80004005
push eax
push 0x10018618
xor edi, edi
mov ecx, 0x10018578
and dword [ebp - 0xe3c], edi
xor esi, esi
push 1
call fcn.1000d095
mov ecx, dword [ebp - 0xe3c]
test ecx, ecx
je 0x1000b1a8
mov eax, dword [ecx]
xor edx, edx
push edx
push 0xc
push edx
push edx
push 4
lea edx, [ebp - 0xe50]
push edx
push 0x1601
push dword [ebp - 0xe40]
push ecx
call dword [eax + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0xe3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
mov ebx, dword [ebp - 0xe34]
jne 0x1000b665
xor eax, eax
push eax
push eax
push eax
push eax
push 0x10019b84
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 0xc8], eax
test eax, eax
je 0x1000b665
push 0x3c
lea eax, [ebp - 0xe8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8c], 0x3c
mov eax, 0x104
mov dword [ebp - 0xe78], eax
mov dword [ebp - 0xe5c], eax
push dword [ebp - 0xe40]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1000b665
lea ecx, [ebp - 0xe8c]
push ecx
push 0
push eax
push dword [ebp - 0xe40]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1000b665
mov ecx, dword [ebp - 0xe7c]
test ecx, ecx
je 0x1000b665
cmp dword [ebp - 0xe60], esi
je 0x1000b665
mov eax, dword [ebp - 0xe78]
mov edx, 0x104
inc eax
cmp eax, edx
cmova eax, edx
lea edx, [ebp - 0x420]
push eax
call fcn.1000d095
mov ecx, dword [ebp - 0xe60]
lea edx, [ebp - 0x218]
xor eax, eax
push 0x104
mov word [ebp - 0x21a], ax
call fcn.1000d095
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0xe74]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x420]
push eax
push dword [ebx + 0xc8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0xcc], eax
test eax, eax
je 0x1000b665
xor ecx, ecx
cmp dword [ebp - 0xe80], 4
push ecx
je 0x1000b2c3
push 0x4400100
jmp 0x1000b2c8
push 0x4c00100
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x218]
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 0xd0], eax
test eax, eax
je 0x1000b665
push 0xa0000000
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x1000b665
push dword [ebp - 0xe48]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, 2
push eax
mov dword [ebp - 0xe34], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test eax, eax
pop ecx
cmovne esi, eax
jne 0x1000b33a
mov dword [ebp - 0xe2c], 0x8007000e
jmp 0x1000b665
push ecx
push dword [ebp - 0xe34]
mov ecx, dword [ebp - 0xe48]
mov edx, esi
call fcn.1000d095
push 4
lea eax, [ebp - 0xe4c]
mov dword [ebp - 0xe4c], 2
push eax
push 0x3e
push dword [ebx + 0xd0]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, esi
call fcn.1000a107
push eax
push esi
push 0
push 0
push dword [ebx + 0xd0]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1000b3fa
cmp dword [ebp - 0xe80], 4
jne 0x1000b4e8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2f06
je 0x1000b3c3
cmp eax, 0x2f0b
jbe 0x1000b665
cmp eax, 0x2f0d
jbe 0x1000b3c3
cmp eax, 0x2f17
jne 0x1000b665
lea ecx, [ebp - 0xe34]
push ecx
push 7
push eax
push dword [ebx + 0xd0]
push dword [ebp - 0xe30]
call dword [sym.imp.WININET.dll_InternetErrorDlg]
test eax, eax
je 0x1000b36f
cmp eax, 0x2f00
je 0x1000b36f
cmp eax, 0x4c7
je 0x1000b65e
jmp 0x1000b665
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push 7
push eax
push dword [ebx + 0xd0]
push dword [ebp - 0xe30]
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x1000b36f
and dword [ebp - 0xe38], edi
lea eax, [ebp - 0xe44]
push 0
push eax
lea eax, [ebp - 0xe38]
mov dword [ebp - 0xe44], 4
push eax
push 0x20000013
push dword [ebx + 0xd0]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1000b665
cmp dword [ebp - 0xe38], 0x191
je 0x1000b65e
cmp dword [ebp - 0xe38], 0xc8
lea edx, [ebp - 0xc20]
push 0x400
mov ecx, str.Location
je 0x1000b48c
mov ecx, str.Error_Text
call fcn.1000d095
mov eax, dword [ebp - 0xe38]
push 0
mov dword [ebp - 0xe30], eax
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xe44], 0x800
push eax
push 0xffff
push dword [ebx + 0xd0]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1000b665
call fcn.100013d9
test eax, eax
jne 0x1000b4f3
mov dword [ebp - 0xe2c], 0x80004005
jmp 0x1000b665
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000b665
and dword [ebp - 4], 0
lea eax, [ebp - 0xc20]
push eax
push str.400001
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b51d
mov eax, 0x196a
jmp 0x1000b5f0
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 1
push eax
push str.400002
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b54a
mov eax, 0x196b
jmp 0x1000b5f0
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 2
push eax
push str.400003
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b574
mov eax, 0x196c
jmp 0x1000b5f0
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 3
push eax
push str.400004
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b59e
mov eax, 0x196d
jmp 0x1000b5f0
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 4
push eax
push str.500001
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b5c8
mov eax, 0x196e
jmp 0x1000b5f0
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 5
push eax
push str.500002
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
test eax, eax
jne 0x1000b63f
mov eax, 0x196f
push 0x102
lea ecx, [ebp - 0xe28]
push ecx
push eax
push dword [0x10022e4c]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1000b619
mov dword [ebp - 0xe2c], 0x800710dc
jmp 0x1000b665
lea eax, [ebp - 0xe28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
xor ecx, ecx
test edi, edi
mov eax, 0x8007000e
cmovne eax, ecx
mov dword [ebp - 0xe2c], eax
je 0x1000b665
push edi
jmp 0x1000b64d
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
push dword [ebp - 0xe30]
lea ecx, [ebx + 0x98]
call fcn.1000b869
and dword [ebp - 0xe2c], 0
mov ecx, ebx
call fcn.1000b0b3
test esi, esi
je 0x1000b678
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xe2c]
call fcn.1001651f
ret 0x10