Function at 0x48b560
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5910fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x600f80]
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 esi, ecx
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0xc9
push 0
push esi
call fcn.00540250
mov eax, dword [ebp - 0x2c]
add esp, 0xc
add esi, 0xc9
xorps xmm0, xmm0
add eax, 0xd4
push 0x594
movq qword [esi], xmm0
push 0
mov word [esi + 8], 0
push eax
mov byte [esi + 0xa], 0
call fcn.00540250
add esp, 0xc
push edi
push 0xc8
push dword [ebp - 0x2c]
call fcn.0054630a
add esp, 0xc
push ebx
push 0xc8
push esi
call fcn.0054630a
mov ebx, dword [ebp - 0x2c]
lea esi, [ebp + 0xd8]
mov eax, dword [ebp + 0x4d8]
mov ecx, 0x100
add esp, 0xc
lea edi, [ebx + 0x19c]
mov dword [ebx + 0x59c], eax
mov eax, dword [ebp + 0x5a4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x19
mov dword [ebx + 0x1680], eax
lea esi, [ebp + 0x10]
lea edi, [ebx + 0xd4]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x138]
mov ecx, 0x19
lea esi, [ebp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x604]
mov ecx, 0x19
lea esi, [ebp + 0x540]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x5a0]
mov ecx, 0x19
lea esi, [ebp + 0x4dc]
rep movsd dword es:[edi], dword [esi]
call fcn.0048b400
mov dword [ebx + 0x1688], eax
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x48b692
xor ecx, ecx
jmp 0x48b6a0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48b697
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004085a0
push 4
mov dword [ebp - 4], 0
call fcn.0053e4af
mov esi, eax
add esp, 4
test esi, esi
je 0x48b6d8
push 0
push 0
push 0
push 1
push 0x5e62d0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
jmp 0x48b6da
xor esi, esi
mov dword [ebx + 0x168c], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x48b703
imul eax, dword [ebx + 0x1680], 0x3e8
push 0x124f80
push 0x7530
push eax
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 4
call fcn.0053e4af
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x48b765
mov ecx, dword [ebx + 0x168c]
mov edi, dword [ecx]
test edi, edi
je 0x48b75f
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.0042cf60
cmp dword [eax + 0x14], 8
jb 0x48b739
mov eax, dword [eax]
push 0
push 0x1bb
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
cmp dword [ebp - 0x30], 8
mov edi, eax
jb 0x48b761
push dword [ebp - 0x44]
call fcn.0053e195
add esp, 4
mov dword [esi], edi
jmp 0x48b767
xor edi, edi
mov dword [esi], edi
jmp 0x48b767
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebx + 0x168c]
mov dword [ebx + 0x1690], esi
cmp dword [eax], 0
jne 0x48b80d
push 0x39
push str.Erro_durante_inicializacao_interna_para_acesso_a_internet
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004085a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
push 0xb
push str.winhttp.dll
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.004085a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0048d0d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x10
jb 0x48b7f2
push dword [ebp - 0x5c]
call fcn.0053e195
add esp, 4
push 0x5fa2a8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], vtable.WinHTTPException.0
push eax
call fcn.005491a6
cmp dword [esi], 0
jne 0x48b843
push str.Erro_ao_preparar_a_conexao
lea ecx, [ebp - 0x44]
call fcn.00407be0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd0]
call fcn.0048b490
push 0x5fa2a8
lea eax, [ebp - 0xd0]
push eax
call fcn.005491a6
cmp dword [ebp - 0x14], 0x10
jb 0x48b854
push dword [ebp - 0x28]
call fcn.0053e195
add esp, 4
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.0053cd12
mov esp, ebp
pop ebp
ret 0x5a0