Function at 0x1003bbd0
Capabilities:
Check for time delay via gettickcount
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c8
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
call fcn.1002609c
cmp eax, 0x3e8
jae 0x1003bc1b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10024bc0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10024bc0
push eax
push str.HttpsWebRequestPost__s__s__p__p
call fcn.1003b9b0
add esp, 0x14
jmp 0x1003bc39
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10024bc0
push eax
push str.HttpsWebRequestPost__s__p__p
call fcn.1003ba40
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x870], eax
push 0x14
lea ecx, [ebp - 0x84c]
call fcn.1003c440
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84c]
call fcn.1003bac0
nop
cmp dword [ebp - 0x83c], 0
jne 0x1003bc9e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x84c]
mov dword [ecx], edx
mov dword [ebp - 0x858], 0
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x858]
jmp 0x1003bfc8
mov ecx, dword [ebp + 0x14]
call fcn.10025f6c
movzx eax, al
test eax, eax
jne 0x1003be63
mov cx, word [0x1008fa00]
mov word [ebp - 0x804], cx
push 0x7fe
push 0
lea edx, [ebp - 0x802]
push edx
call fcn.1004bd80
add esp, 0xc
push 0x1008fa04
lea ecx, [ebp - 0x84d]
call fcn.10023df0
push eax
lea eax, [ebp - 0x87c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.10006f00
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x880]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.1003c460
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x898]
call fcn.10002700
push eax
lea ecx, [ebp - 0x838]
push ecx
call fcn.10002880
add esp, 0xc
lea ecx, [ebp - 0x898]
call fcn.1002b32e
nop
push 0x1008fa0c
lea ecx, [ebp - 0x820]
call fcn.10004360
push 0x1008fa10
lea ecx, [ebp - 0x820]
call fcn.100049e0
push 0x1008fa48
lea ecx, [ebp - 0x820]
call fcn.100049e0
push 0x1008fa8c
lea ecx, [ebp - 0x820]
call fcn.100049e0
nop
push 0x1008fabc
lea edx, [ebp - 0x838]
push edx
push 0x1008fac4
lea eax, [ebp - 0x8c8]
push eax
call fcn.1003b740
add esp, 0xc
push eax
lea ecx, [ebp - 0x8b0]
push ecx
call fcn.10002880
add esp, 0xc
push eax
lea ecx, [ebp - 0x820]
call fcn.100049b0
lea ecx, [ebp - 0x8b0]
call fcn.1002b32e
lea ecx, [ebp - 0x8c8]
call fcn.1002b32e
nop
lea ecx, [ebp - 0x820]
call fcn.1002609c
push eax
lea ecx, [ebp - 0x820]
call fcn.100308b1
push eax
lea edx, [ebp - 0x804]
push edx
call fcn.1005b420
add esp, 0xc
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1003be4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x85c], 0
lea ecx, [ebp - 0x820]
call fcn.1002b32e
lea ecx, [ebp - 0x838]
call fcn.1002b32e
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x85c]
jmp 0x1003bfc8
lea ecx, [ebp - 0x820]
call fcn.1002b32e
lea ecx, [ebp - 0x838]
call fcn.1002b32e
nop
mov ecx, dword [ebp + 0x10]
call fcn.1002609c
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp + 0x10]
call fcn.10024bc0
mov dword [ebp - 0x860], eax
push 0
mov eax, dword [ebp - 0x854]
push eax
mov ecx, dword [ebp - 0x854]
push ecx
mov edx, dword [ebp - 0x860]
push edx
push 0
push 0
mov eax, dword [ebp - 0x840]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1003bed6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x864], 0
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x864]
jmp 0x1003bfc8
push 0
mov edx, dword [ebp - 0x840]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1003bf14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 0x868], 0
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x868]
jmp 0x1003bfc8
mov dword [ebp - 0x808], 4
push 0
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
push 0x20000013
mov ecx, dword [ebp - 0x840]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1003bf6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0x86c], 0
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x86c]
jmp 0x1003bfc8
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x840]
push edx
call fcn.1003c1c0
add esp, 0xc
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp + 0xc]
call fcn.10024bc0
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x870]
push eax
push str.WinHttpSendRequest_elapsed_time:__d__s
call fcn.1003b930
add esp, 0xc
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x878], eax
lea ecx, [ebp - 0x84c]
call fcn.1003bb80
mov eax, dword [ebp - 0x878]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret