Function at 0x44fd20
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4e34
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push 0x13
push dword [ebp + 8]
mov dword [ebp - 0x18], edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44fd91
call ebx
cmp eax, 0x7a
je 0x44fd91
call ebx
mov edi, eax
test edi, edi
jle 0x44fdd4
movzx edi, di
or edi, 0x80070000
jmp 0x44fdd4
push dword [ebp - 0x18]
call fcn.004c8d7a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
push 0
push eax
push ebx
push 0
push 0x13
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x44fde7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x44fdcb
movzx edi, di
or edi, 0x80070000
push ebx
call fcn.004c8d5f
add esp, 4
or ebx, 0xffffffff
test edi, edi
js 0x44ff8d
test esi, esi
je 0x44fe36
mov eax, dword [esi]
jmp 0x44fe38
push 0xc
call fcn.004c3653
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x44fe23
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x44fe25
test ebx, ebx
jne 0x450121
jmp 0x44fe25
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x45012b
jmp 0x44fdcb
xor eax, eax
mov ecx, 0x50278c
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44fe66
test dx, dx
je 0x44fe62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44fe66
add eax, 4
add ecx, 4
test dx, dx
jne 0x44fe40
xor eax, eax
jmp 0x44fe6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44ff8d
mov edi, dword [ebp + 8]
nop word [eax + eax]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x44ff7d
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.004c3a3e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44ff6b
mov ecx, dword [ebp - 0x10]
inc ecx
push ecx
push 0
push ebx
call fcn.004c53a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x44fedf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x44ff4d
push ebx
lea ecx, [ebp - 0x18]
call fcn.00431d30
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00405180
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test edi, edi
je 0x44ff4a
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x44ff43
mov eax, dword [edi]
test eax, eax
je 0x44ff21
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x44ff38
push eax
call fcn.004c3683
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x18], 0
mov edi, dword [ebp + 8]
push ebx
call fcn.004c3683
add esp, 4
cmp dword [ebp - 0x10], 0
ja 0x44fe80
mov edi, dword [ebp - 0x14]
or ebx, 0xffffffff
jmp 0x4500ca
mov edi, dword [ebp - 0x14]
or ebx, 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x4500ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or ebx, 0xffffffff
jmp 0x4500ca
test esi, esi
je 0x44ff95
mov eax, dword [esi]
jmp 0x44ff97
xor eax, eax
mov ecx, 0x50279c
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44ffc6
test dx, dx
je 0x44ffc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44ffc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x44ffa0
xor eax, eax
jmp 0x44ffcb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44ffd9
mov edi, 0xe8
jmp 0x4500ca
mov dword [ebp + 8], esi
test esi, esi
je 0x44ffe8
lock inc dword [esi + 8]
mov eax, dword [esi]
jmp 0x44ffea
xor eax, eax
mov edi, esi
mov ecx, 0x50278c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x450017
test dx, dx
je 0x450013
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x450017
add eax, 4
add ecx, 4
test dx, dx
jne 0x44fff1
xor eax, eax
jmp 0x45001c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x450027
xor edi, edi
jmp 0x4500c2
test edi, edi
je 0x45002f
mov eax, dword [esi]
jmp 0x450031
xor eax, eax
mov ecx, 0x502794
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45005c
test dx, dx
je 0x450058
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45005c
add eax, 4
add ecx, 4
test dx, dx
jne 0x450036
xor eax, eax
jmp 0x450061
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45006a
lea edi, [eax + 5]
jmp 0x4500c2
test esi, esi
je 0x450072
mov eax, dword [esi]
jmp 0x450074
xor eax, eax
mov ecx, 0x50279c
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4500a6
test dx, dx
je 0x4500a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4500a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x450080
xor eax, eax
jmp 0x4500ab
sbb eax, eax
or eax, 1
test eax, eax
mov ebx, 0x1f
mov ecx, 0x5b4
cmove ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, ebx
or ebx, 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404db0
test esi, esi
je 0x45010b
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x45010b
mov eax, dword [esi]
test eax, eax
je 0x4500e9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450100
push eax
call fcn.004c3683
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c34a9
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.004c3020
push 0x8007000e
call fcn.004c3020
int3