Function at 0x1002b5a0
Capabilities:
Check for software breakpoints
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100514db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
mov eax, dword [0x100778dc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x824], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov byte [eax], 0
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0x20000013
xor edi, edi
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1002b61f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
jmp 0x1002b7ea
push 1
push str.1zoHHNCmda__d5TIaWnFqOf4Fy49_
call fcn.100254b0
add esp, 4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.100264f0
push str.Upgrade
lea ecx, [esp + 0x14]
mov dword [esp + 0x838], edi
call fcn.10026770
mov eax, dword [esp + 0x1c]
cmp eax, 0xcc
jne 0x1002b66f
push str.Initial
call fcn.1001dbb0
add esp, 4
jmp 0x1002b7d6
cmp eax, 0xc8
jne 0x1002b6ac
mov al, byte [esi + 0x1a4]
test al, al
je 0x1002b7d6
push str.Initial
call fcn.1001dbb0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x834], 0xffffffff
call fcn.10026790
mov al, 1
jmp 0x1002b7ec
cmp eax, 0x12e
jne 0x1002b7d0
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x428]
push edx
push 0x21
push eax
mov dword [esp + 0x28], 0x400
mov dword [esp + 0x2c], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1002b7d6
mov ecx, dword [str.X_Messaging]
mov eax, dword [0x10055420]
mov edx, dword [0x1005541c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], edx
mov ecx, 0xfd
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
push 0xffff
push ecx
mov dword [esp + 0x28], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
neg eax
sbb eax, eax
lea edx, [esp + 0x24]
push ecx
and eax, edx
push eax
mov ecx, esi
call fcn.1002b440
test al, al
je 0x1002b7d6
mov eax, dword [ebx]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp + 8]
push 0
push closesocket
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x430]
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
mov dword [ebx], eax
jne 0x1002b78d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002b7d6
mov al, byte [esi + 0x1a4]
test al, al
jne 0x1002b7d6
mov edx, dword [ebp + 0x10]
push 0
push 0
push edx
push ebx
push edi
mov ecx, esi
mov byte [esi + 0x1a4], 1
call fcn.1002b5a0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esi + 0x1a4], 0
mov dword [esp + 0x834], 0xffffffff
call fcn.10026790
mov al, bl
jmp 0x1002b7ec
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x834], 0xffffffff
call fcn.10026790
xor al, al
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x824]
call fcn.1004189e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14