Function at 0x1009cfc0
Capabilities:
Receive http response

Disassembly:
push 0xffffffffffffffff
push 0x1014b238
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov eax, dword [0x10179454]
mov edx, dword [eax + 0xc]
mov ecx, 0x10179454
call edx
add eax, 0x10
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 0
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx + 4]
push eax
push str.___s_r_n
lea edi, [esp + 0x5c]
call fcn.1009eb30
add esp, 8
push ebx
call fcn.1009cec0
test al, al
jne 0x1009d057
mov esi, dword [esp + 0x50]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esi], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1009d2cd
cmp dword [ebx + 0x34], 0
jl 0x1009d093
jg 0x1009d068
cmp dword [ebx + 0x30], 0x7fffffff
jbe 0x1009d093
mov esi, dword [esp + 0x50]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esi], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1009d2cd
push ebx
call fcn.1009d300
mov edi, edx
test edi, edi
mov esi, eax
jl 0x1009d0d6
jg 0x1009d0ab
cmp esi, 0x7fffffff
jbe 0x1009d0d6
mov esi, dword [esp + 0x50]
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esi], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1009d2cd
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009d0ff
push 0
push esi
push 0
push 0
push 0
push 0
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne al
test al, al
mov byte [ebp + 0x24], 0
jne 0x1009d117
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x54]
mov dword [esi], 5
call fcn.1009b0c0
jmp 0x1009d2d9
or esi, edi
je 0x1009d29f
lea edi, [ebx + 0x10]
lea esi, [esp + 0x30]
call fcn.1009d840
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea esi, [esp + 0x30]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.1009d860
mov esi, eax
lea edi, [esp + 0x28]
call fcn.1002b830
test al, al
je 0x1009d242
mov ebx, dword [esp + 0x54]
push 0
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.1009c3a0
cmp dword [esp + 0x14], 0
jne 0x1009d293
lea esi, [esp + 0x28]
call fcn.1009d9d0
add eax, 0x10
mov eax, dword [eax]
push ebp
mov ecx, eax
lea esi, [esp + 0x1c]
call fcn.1009c2f0
cmp dword [esp + 0x18], 0
jne 0x1009d293
lea esi, [esp + 0x28]
call fcn.1009d9d0
cmp dword [eax], 1
jne 0x1009d1d4
call fcn.1009d9d0
add eax, 8
mov eax, dword [eax]
push eax
push ebp
lea edi, [esp + 0x24]
call fcn.1009c4b0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1009d1f5
mov esi, dword [esp + 0x50]
mov dword [esi], eax
lea eax, [esp + 0x54]
call fcn.1009b0c0
jmp 0x1009d2d9
call fcn.1009d9d0
add eax, 0xc
mov eax, dword [eax]
push ebp
mov ecx, eax
lea esi, [esp + 0x24]
call fcn.1009c2f0
cmp dword [esp + 0x20], 0
jne 0x1009d0ff
push 0
lea ecx, [esp + 0x28]
push ecx
push ebp
mov ebx, 0x1015b94c
call fcn.1009c3a0
cmp dword [esp + 0x24], 0
jne 0x1009d0ff
lea esi, [esp + 0x28]
call fcn.1009da00
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x30]
add edi, 0x10
call fcn.1009d860
mov esi, eax
lea edi, [esp + 0x28]
call fcn.1002b830
test al, al
jne 0x1009d154
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
push ecx
push str.___s__
lea edi, [esp + 0x5c]
call fcn.1009eb30
mov ebx, dword [esp + 0x5c]
add esp, 8
push 0
lea edx, [esp + 0x50]
push edx
push ebp
call fcn.1009c3a0
cmp dword [esp + 0x4c], 0
je 0x1009d2a3
mov esi, dword [esp + 0x50]
lea eax, [ebx - 0x10]
mov dword [esi], 5
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1009d2cd
mov esi, dword [esp + 0x50]
mov dword [esi], 5
jmp 0x1009d2b9
mov ebx, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, dword [esp + 0x50]
mov dword [esi], 0
lea eax, [ebx - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov dword [esp + 0x44], ecx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1009d2d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc