Function at 0x49d4e0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62e469
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x6bae70]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x6bae70]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp byte [edx], bl
jne 0x49d56f
xor ecx, ecx
jmp 0x49d583
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d578
sub ecx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00422c80
lea edx, [esp + 0x60]
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x30]
call fcn.0049b4c0
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x74], 0x10
jb 0x49d5be
push dword [esp + 0x60]
call fcn.005e8fa6
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
test edi, edi
jne 0x49d5db
xor ecx, ecx
jmp 0x49d659
cmp byte [edi], 0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
jne 0x49d5ff
xor ecx, ecx
jmp 0x49d60d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d604
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x80]
call fcn.00422c80
mov byte [esp + 0xb8], 4
lea edx, [esp + 0x78]
lea ecx, [esp + 0x90]
mov dword [esp + 0x20], 1
call fcn.0049b4c0
mov ecx, eax
mov dword [esp + 0xb8], 5
mov ebx, 3
cmp dword [ecx + 0x14], 8
mov dword [esp + 0x20], ebx
jb 0x49d659
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push ecx
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x38]
mov ecx, esi
push dword [ebp + 0x10]
push eax
call fcn.0049db30
test al, al
sete byte [esp + 0x17]
test bl, 2
je 0x49d6bf
and ebx, 0xfffffffd
cmp dword [esp + 0xa4], 8
jb 0x49d69f
push dword [esp + 0x90]
call fcn.005e8fa6
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov dword [esp + 0xb8], 3
test bl, 1
je 0x49d6e5
cmp dword [esp + 0x8c], 0x10
jb 0x49d6e5
push dword [esp + 0x78]
call fcn.005e8fa6
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x49d7cb
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.0049daa0
mov dword [ebx + 4], eax
cmp eax, 0x194
jne 0x49d71c
push 0x6aec40
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 5
push eax
call fcn.005e9743
push 0x1000
call fcn.005eb378
add esp, 4
mov byte [esp + 0x17], 0
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x49d7a2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x49d79d
cmp esi, 0x1000
jbe 0x49d767
push edi
call fcn.005eb340
mov esi, dword [esp + 0x1c]
push esi
call fcn.005eb378
add esp, 8
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x49d7a2
push dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
push edi
call fcn.004296c0
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x49d742
jmp 0x49d7a2
mov byte [esp + 0x17], 1
push edi
call fcn.005eb340
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x49d7cb
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
mov dword [esp + 0x58], 0
cmovae eax, dword [esp + 0x48]
mov byte [eax], 0
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.004226f0
cmp dword [esp + 0x44], 8
jb 0x49d7ee
push dword [esp + 0x30]
call fcn.005e8fa6
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x5c], 0x10
mov word [esp + 0x30], ax
mov dword [esp + 0x40], eax
jb 0x49d814
push dword [esp + 0x48]
call fcn.005e8fa6
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 0x14