Function at 0x40acfd
Capabilities:
Check http status code

Disassembly:
push 0xa8
mov eax, 0x436454
call fcn.00433ea9
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.wininet.dll_HttpQueryInfoW]
mov dword [ebp - 0xb0], eax
xor eax, eax
push eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x20000013
push dword [edi + 8]
mov dword [ebp - 0xb4], 4
call ebx
test eax, eax
je 0x40af8e
cmp dword [ebp - 0xac], 0xc8
jne 0x40af8e
push 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x16
push dword [edi + 8]
call ebx
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x40af8e
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402667
pop ecx
mov ecx, dword [ebp - 0xa8]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
lea eax, [ebp - 0xa8]
push 0
push eax
push esi
push 0x16
push dword [edi + 8]
call ebx
test eax, eax
je 0x40af8e
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402667
and dword [ebp - 4], 0
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
mov edi, dword [sym.imp.MSVCR110.dll_wcslen]
mov ebx, dword [ebp - 0xb0]
pop ecx
mov esi, 0x43fd60
push esi
call edi
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402667
cmp eax, 0xffffffff
je 0x40af7e
push esi
call edi
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402667
push eax
xor esi, esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402667
push 0x43fd68
mov byte [ebp - 4], 1
call edi
pop ecx
push eax
push ecx
push 0x43fd68
lea ecx, [ebp - 0x44]
call fcn.00402667
cmp eax, 0xffffffff
je 0x40af23
push 0x43fd68
call edi
pop ecx
push eax
push ecx
push 0x43fd68
lea ecx, [ebp - 0x44]
call fcn.00402667
push eax
push esi
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402667
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00402667
mov esi, 0x43fd68
push esi
call edi
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00402667
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402667
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00402667
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.004068f7
mov esi, eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.004068f7
push esi
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0040250a
pop ecx
mov ecx, eax
call fcn.00402667
lea ecx, [ebp - 0xa4]
call fcn.004023b1
lea ecx, [ebp - 0x74]
call fcn.004023b1
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402667
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00402667
push 0x43fd60
call edi
pop ecx
push eax
push ecx
push 0x43fd60
lea ecx, [ebp - 0x2c]
call fcn.00402667
push 0xffffffffffffffff
add eax, 2
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402667
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402667
push esi
push 1
lea ecx, [ebp - 0x74]
call fcn.00402667
mov esi, 0x43fd60
push esi
call edi
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00402667
jmp 0x40adf7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402667
mov al, 1
jmp 0x40af90
xor al, al
call fcn.00433e58
ret 4