Function at 0x1000b120
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100398a8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 dword [ebp - 0x10], esp
mov edi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
push ebx
push ebx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x4c], ecx
mov ecx, edi
push eax
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
call fcn.1000baf0
test al, al
jne 0x1000b1b8
push 0x10049a20
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 1
push eax
call fcn.10020db9
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.1000ba50
test al, al
jne 0x1000b1dc
push 0x10049a20
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 4
push eax
call fcn.10020db9
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x1000b22f
push 3
push ecx
push 0x10044200
lea ecx, [ebp - 0x30]
call fcn.10002dc0
cmp eax, 0xffffffff
je 0x1000b22f
push 0x10049a20
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 5
push eax
call fcn.10020db9
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1000b255
push 0x10049a20
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 4
push eax
call fcn.10020db9
mov eax, dword [ebp - 0x44]
cmp eax, 0x800000
jbe 0x1000b274
push 0x10049a20
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0xc
push eax
call fcn.10020db9
push eax
call fcn.100226c0
push 0x1000
mov dword [ebp - 0x3c], eax
call fcn.100226c0
mov ecx, dword [ebp - 0x34]
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
cmp ecx, 0x1000
jbe 0x1000b2b3
push esi
call fcn.100226bb
push dword [ebp - 0x34]
call fcn.100226c0
mov ecx, dword [ebp - 0x34]
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x18]
push eax
push ecx
push esi
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1000b2db
push 0x10049a20
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 8
push eax
call fcn.10020db9
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
add eax, ebx
push esi
push eax
call fcn.10021200
add ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x48], ebx
push eax
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1000b319
push 0x10049a20
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 8
push eax
call fcn.10020db9
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x1000b292
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x35], 1
call fcn.10002b30
mov edi, dword [ebp - 0x6c]
jmp 0x1000b356
test esi, esi
je 0x1000b363
push esi
call fcn.100226bb
add esp, 4
mov al, byte [ebp - 0x35]
test al, al
je 0x1000b376
mov ecx, dword [ebp - 0x3c]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], ebx
jmp 0x1000b384
push dword [ebp - 0x3c]
call fcn.100226bb
mov al, byte [ebp - 0x35]
add esp, 4
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 0xc