Function at 0x1000b3d0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039920
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1004b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
cmp byte [edx], bl
jne 0x1000b43c
xor ecx, ecx
jmp 0x1000b44e
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b444
sub ecx, dword [ebp - 0x4c]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10001830
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1000a970
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1000b480
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10001b80
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
test esi, esi
jne 0x1000b49a
xor ecx, ecx
jmp 0x1000b50b
cmp byte [esi], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x1000b4b8
xor ecx, ecx
jmp 0x1000b4c9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b4c0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10001830
mov byte [ebp - 4], 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x54], 1
call fcn.1000a970
mov ecx, eax
mov dword [ebp - 4], 5
mov ebx, 3
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x54], ebx
jb 0x1000b50b
mov ecx, dword [ecx]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x44]
mov ecx, edi
push dword [ebp + 0x10]
push eax
call fcn.1000baf0
test al, al
sete byte [ebp - 0x4d]
test bl, 2
je 0x1000b568
mov eax, dword [ebp - 0x90]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x1000b54b
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.100036b0
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], 3
test bl, 1
je 0x1000b58f
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x1000b58f
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10001b80
cmp byte [ebp - 0x4d], 0
je 0x1000b5dc
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.10001610
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1000b5b5
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100036b0
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp ecx, 0x10
jb 0x1000b6ec
inc ecx
push ecx
jmp 0x1000b6e1
push 0x1000
call fcn.100226c0
add esp, 4
mov byte [ebp - 0x4d], 0
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1000b66b
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop word [eax + eax]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1000b71d
cmp eax, 0x1000
jbe 0x1000b63b
push esi
call fcn.100226bb
add esp, 4
push dword [ebp - 0x4c]
call fcn.100226c0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push ecx
push eax
push esi
push dword [edi + 0x10]
call ebx
test eax, eax
je 0x1000b70c
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
push esi
call fcn.10009a50
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1000b610
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpQueryDataAvailable_error:_d_r_n
call fcn.1000a4a0
add esp, 8
push esi
call fcn.100226bb
add esp, 4
cmp byte [ebp - 0x4d], 0
jne 0x1000b6a3
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.10001610
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1000b6c3
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100036b0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 0x10
jb 0x1000b6ec
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10001b80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001e3e5
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpReadData_error:_d_r_n
jmp 0x1000b677
mov byte [ebp - 0x4d], 1
jmp 0x1000b67f