Function at 0x41aa10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d005
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
push 0x1023
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
mov dword [eax], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.00422276
add esp, 4
test eax, eax
je 0x41aca2
lea edi, [eax + 0x23]
and edi, 0xffffffe0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x60], edi
mov dword [edi - 4], eax
lea esi, [edi + 0x1000]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov ax, word [eax]
mov dword [ebp - 0x58], esi
cmp ax, word [ecx]
jne 0x41aad4
push 0x1000
push 0
push edi
call fcn.00424350
add esp, 0xc
jmp 0x41aae0
mov ecx, 0x400
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x5c], esi
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push edi
push 0x21
push dword [ebp - 0x38]
mov dword [ebp - 0x34], 0xffe
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41ab19
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], 0
mov dword [eax], 9
jmp 0x41ac57
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41ab4e
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00419fe0
add esp, 0xc
test al, al
jne 0x41ab6f
mov eax, dword [ebp - 0x30]
mov ecx, 0xa
mov dword [eax], ecx
jmp 0x41ac09
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x41ab8a
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00405750
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x28]
or ecx, 0x200000
push 0
push ecx
push 0
push 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
jne 0x41abbf
mov eax, dword [ebp - 0x30]
mov ecx, 5
mov dword [eax], ecx
jmp 0x41ac09
push 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 4
push ecx
push dword [ebp - 0x40]
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41abeb
mov eax, dword [ebp - 0x30]
mov ecx, 6
mov dword [eax], ecx
jmp 0x41ac09
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, 0xc8
je 0x41ac09
cmp eax, 0x12c
jb 0x41ac09
mov byte [ebp - 0x29], 1
cmp eax, 0x190
jb 0x41ac0d
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41ac43
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ac39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca2
push ecx
push edx
call fcn.004222a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x41ac84
sub esi, edi
mov eax, edi
and esi, 0xfffffffe
cmp esi, 0x1000
jb 0x41ac7a
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aca2
push esi
push edi
call fcn.004222a6
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret
call fcn.00425eae
int3