Function at 0x434320
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a91c5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4cd00c]
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 + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040cda0
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x434375
mov ecx, dword [ecx]
sub esp, 0xc
mov edx, 0x800100
cmp dword [esi + 0x4d4], 2
mov eax, 0x100
cmove eax, edx
push eax
push 0
push str.HEAD
push ecx
push ebx
mov ecx, edi
call fcn.004335b0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4343e0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4343d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434543
push edx
push ecx
call fcn.0044434d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test ebx, ebx
jne 0x434412
push str.CJHHttp::GetSize
push str._s:OpenRequest___failed
push edi
call fcn.00433580
add esp, 0xc
xor eax, eax
jmp 0x434525
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
push ebx
mov ecx, edi
call fcn.004338a0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp edx, 0x10
jb 0x434478
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43446b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434548
push edx
push ecx
call fcn.0044434d
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x434509
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push 0
push 0x20000005
push ebx
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4344d7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.CJHHttp::ReadContentSize
push str._s:WinHttpQueryHeaders___failed:_d
push edi
call fcn.00433580
add esp, 0x10
call esi
push str.CJHHttp::GetSize
xor esi, esi
push str._s:ReadContentSize___failed
jmp 0x434513
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str.CJHHttp::ReadContentSize
push str._s:WinHttpQueryHeaders_ContentSize_I64u__succeed
push edi
call fcn.00433580
mov edx, dword [ebp - 0x28]
add esp, 0x14
test edx, edx
je 0x434502
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov esi, 1
jmp 0x43451c
push str.CJHHttp::GetSize
push str._s:SendRequest___failed
push edi
call fcn.00433580
add esp, 0xc
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
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.00443db6
mov esp, ebp
pop ebp
ret 0xc
call fcn.00447297
call fcn.00447297
int3