Function at 0x42c290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4889d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0
lea eax, [ebp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
lea ebx, [ebp + 0x88]
lea esi, [esp + 0x24]
mov dword [esp + 0x28], eax
call fcn.0042bf10
xor esi, esi
cmp eax, esi
je 0x42c4d2
mov eax, dword [ebx]
push 5
push str.HTTP_
push eax
call fcn.0046c92a
add esp, 0xc
test eax, eax
jne 0x42c4d2
mov ebx, dword [ebx]
add ebx, 9
push ebx
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xac], esi
call fcn.0046a6de
add esp, 4
lea ebx, [esp + 0x18]
lea esi, [esp + 0x24]
mov dword [ebp + 0xb8], eax
call fcn.0042bf10
test eax, eax
je 0x42c431
jmp 0x42c360
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
jle 0x42c41c
push 0x3a
push esi
call fcn.0046c917
add esp, 8
test eax, eax
je 0x42c41c
sub eax, esi
mov edi, eax
cmp edi, 0xffffffff
je 0x42c41c
lea ecx, [edi + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.0042d4a0
mov esi, eax
mov eax, edi
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.0042d4c0
mov ebx, eax
mov edi, esi
mov byte [esp + 0x38], 2
call fcn.0042d400
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
lea ecx, [ebp + 0x8c]
call fcn.0042d920
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c41c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.0042bf10
test eax, eax
jne 0x42c360
lea ebx, [ebp + 0x8c]
push str.Content_Length
call fcn.0042dc60
test eax, eax
je 0x42c464
mov eax, dword [eax + 4]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.0046992f
add esp, 0xc
mov dword [ebp + 0xa8], eax
mov dword [ebp + 0xac], edx
push str.Transfer_Encoding
call fcn.0042dc60
test eax, eax
je 0x42c491
mov eax, dword [eax + 4]
push str.chunked
push eax
call fcn.0046c84a
add esp, 8
test eax, eax
jne 0x42c491
mov dword [ebp + 0xbc], 1
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c4b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push 0x2efb
mov ecx, ebp
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret