Function at 0x41dbe0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4429be
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4511b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x30]
call fcn.00405f80
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00405ff0
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0041ded0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.00406130
cmp dword [ebp + 0x18], 0
jne 0x41dc86
mov dword [ebp - 0xfc], 0
jmp 0x41dd09
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00405ff0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa0]
or edx, 1
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0041ded0
add esp, 8
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xa0]
or eax, 2
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x10c]
call fcn.004065d0
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004065d0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0041e300
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0xa1], cl
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0xa0]
and edx, 2
je 0x41dd5d
and dword [ebp - 0xa0], 0xfffffffd
lea ecx, [ebp - 0xc0]
call fcn.00406570
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xa0]
and eax, 1
je 0x41dd81
and dword [ebp - 0xa0], 0xfffffffe
lea ecx, [ebp - 0xdc]
call fcn.00406130
movzx ecx, byte [ebp - 0xa1]
test ecx, ecx
je 0x41ddc7
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406070
mov ecx, dword [ebp - 0xa0]
or ecx, 4
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00406570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00406130
mov eax, dword [ebp + 8]
jmp 0x41deb1
push 0x1000
call fcn.0042a5ca
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], 0
mov eax, 1
test eax, eax
je 0x41de5f
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x41ddfb
jmp 0x41de5f
cmp dword [ebp - 0x50], 0
ja 0x41de07
mov byte [ebp - 0x59], 1
jmp 0x41de5f
cmp dword [ebp - 0x50], 0x1000
jbe 0x41de2b
mov eax, dword [ebp - 0x58]
push eax
call fcn.0042a511
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
call fcn.0042a5ca
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x41de4a
jmp 0x41de5f
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004076f0
jmp 0x41dddb
mov eax, dword [ebp - 0x58]
push eax
call fcn.0042a511
add esp, 4
movzx eax, byte [ebp - 0x59]
test eax, eax
jne 0x41de7b
lea ecx, [ebp - 0x30]
call fcn.0041e9f0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406070
mov ecx, dword [ebp - 0xa0]
or ecx, 4
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00406570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00406130
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a65e
mov esp, ebp
pop ebp
ret 0x14