Function at 0x43b9c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0875
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4d500c]
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.0040e3d0
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x43ba15
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.0043acc0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x43ba80
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ba76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bbe3
push edx
push ecx
call fcn.0044b3bd
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 0x43bab2
push str.CJHHttp::GetSize
push str._s:OpenRequest___failed
push edi
call fcn.0043ac90
add esp, 0xc
xor eax, eax
jmp 0x43bbc5
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.0043afb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
cmp edx, 0x10
jb 0x43bb18
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bb0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bbe8
push edx
push ecx
call fcn.0044b3bd
mov eax, dword [ebp - 0x18]
add esp, 8
test eax, eax
je 0x43bba9
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 0x43bb77
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.0043ac90
add esp, 0x10
call esi
push str.CJHHttp::GetSize
xor esi, esi
push str._s:ReadContentSize___failed
jmp 0x43bbb3
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push str.CJHHttp::ReadContentSize
push str._s:WinHttpQueryHeaders_ContentSize_I64u__succeed
push edi
call fcn.0043ac90
mov edx, dword [ebp - 0x28]
add esp, 0x14
test edx, edx
je 0x43bba2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov esi, 1
jmp 0x43bbbc
push str.CJHHttp::GetSize
push str._s:SendRequest___failed
push edi
call fcn.0043ac90
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.0044ae26
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047aa50
call fcn.0047aa50
int3