Function at 0x419bd0
Capabilities:
Check http status code
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf55e
mov eax, dword fs:[0]
push eax
mov eax, 0x2488
call fcn.004ac400
mov eax, dword [0x52de08]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x14]
push edi
call fcn.00412bf0
lea ecx, [ebp - 0x247c]
call fcn.0040b520
mov ecx, dword [str.http]
push 4
push ecx
lea edx, [ebp - 0x247c]
mov eax, 0x50
push 0x21
push edx
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 4
mov word [ebp - 0x30], ax
call fcn.0040b460
mov edi, dword [edi]
add esp, 0x10
push 0
push edi
lea ecx, [ebp - 0x247c]
call fcn.00412ed0
test eax, eax
jne 0x419c6d
mov eax, 0x2ee5
jmp 0x419efd
lea eax, [ebp - 0x243a]
push eax
lea ecx, [ebp - 0x2484]
call fcn.00409830
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 3
movzx eax, word [ebp - 0x30]
mov edi, dword [esi + 0x20]
jne 0x419c99
or edi, 0x800000
push eax
lea ecx, [ebp - 0x2484]
push ecx
mov ecx, esi
call fcn.0040cf70
lea edx, [ebp - 0x2034]
push edx
lea ecx, [ebp - 0x2480]
mov dword [ebp - 0x2488], eax
call fcn.00409830
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1032]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419cd0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1032]
push eax
lea ecx, [ebp - 0x2480]
call fcn.004104a0
cmp dword [ebp - 0x2488], 0
je 0x419d50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2480]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2484]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x419d45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2488]
jmp 0x419efd
push 0x4e6ea0
lea ecx, [ebp - 0x248c]
call fcn.00409830
mov byte [ebp - 4], 4
push str.HEAD
lea ecx, [ebp - 0x2488]
call fcn.00409830
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
push 0
push 0
push edi
push 0
lea edx, [ebp - 0x248c]
push edx
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x2480]
push ecx
lea edx, [ebp - 0x2488]
push edx
mov ecx, esi
call fcn.004173c0
mov edi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2488]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419dce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x248c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x419e45
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2480]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419e1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2484]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x419e3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x419efd
mov eax, dword [esi + 0x2c]
push 0
lea ecx, [ebp - 0x2494]
push ecx
lea edx, [ebp - 0x2490]
push edx
push 0
push 0x20000013
push eax
mov dword [ebp - 0x2490], 0
mov dword [ebp - 0x2494], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x419ea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2480]
call fcn.00406650
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2484]
call fcn.00406650
mov eax, esi
jmp 0x419efd
mov ecx, esi
call fcn.00419870
cmp dword [ebp - 0x2490], 0xc8
je 0x419ede
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2480]
call fcn.00406650
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2484]
call fcn.00406650
mov eax, 0x2f78
jmp 0x419efd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2480]
call fcn.00406650
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2484]
call fcn.00406650
xor eax, eax
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.004aaa9b
mov esp, ebp
pop ebp
ret 0xc