Function at 0x493a20
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53add0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5857cc]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
xor eax, eax
xor ebx, ebx
lea ecx, [ebp - 0xac]
push ecx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x493add
cmp dword [ebp - 0xac], ebx
je 0x493c7f
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x493c7f
mov dword [ebp - 0x94], eax
mov eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x94], ebx
je 0x493afc
mov dword [ebp - 0x9c], 2
jmp 0x493b0c
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 3
push ebx
push ebx
push ebx
push ebx
push 0x564338
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
cmp esi, ebx
je 0x493c7f
lea edx, [ebp - 0x48]
push edi
push edx
call fcn.004f3cd0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x493b3a
mov eax, dword [eax]
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x9c]
push edx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [ebp - 0x34], 8
mov edi, eax
jb 0x493b64
mov eax, dword [ebp - 0x48]
push eax
call fcn.0052142e
add esp, 4
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp edi, ebx
je 0x493c7f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x493b90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00421790
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.004f3a90
add esp, 8
cmp dword [ebp - 0x34], 8
jb 0x493bce
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0052142e
add esp, 4
mov esi, dword [ebp - 0x1c]
mov ecx, esi
cmp esi, 1
jb 0x493bdd
mov ecx, 1
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp edi, 0x10
jae 0x493beb
lea eax, [ebp - 0x2c]
push ecx
push 0x5558fc
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x493c0f
cmp esi, 1
jb 0x493c0f
xor eax, eax
cmp esi, 1
setne al
cmp eax, ebx
je 0x493c6d
mov ecx, esi
cmp esi, 2
jb 0x493c1b
mov ecx, 2
mov eax, dword [ebp - 0x2c]
cmp edi, 0x10
jae 0x493c26
lea eax, [ebp - 0x2c]
push ecx
push 0x5558f8
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x493c4a
cmp esi, 2
jb 0x493c4a
xor eax, eax
cmp esi, 2
setne al
cmp eax, ebx
je 0x493c6d
mov eax, dword [ebp - 0x2c]
cmp edi, 0x10
jae 0x493c55
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x84]
push eax
push 0x2714
push edx
call fcn.00494cc0
mov edi, dword [ebp - 0x18]
add esp, 0xc
cmp edi, 0x10
jb 0x493d90
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x493d88
mov edx, dword [ebp - 0xa4]
cmp edx, ebx
je 0x493d90
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x493ca2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x80]
call fcn.00421790
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], 3
call fcn.004f3a90
add esp, 8
cmp dword [ebp - 0x6c], 8
jb 0x493ce4
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0052142e
add esp, 4
mov esi, dword [ebp - 0x54]
mov ecx, esi
cmp esi, 1
jb 0x493cf3
mov ecx, 1
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x64]
mov eax, ebx
cmp edi, 0x10
jae 0x493d03
lea eax, [ebp - 0x64]
push ecx
push 0x5558fc
push eax
call fcn.00401040
add esp, 0xc
test eax, eax
jne 0x493d25
cmp esi, 1
jb 0x493d25
cmp esi, 1
setne al
test eax, eax
je 0x493d82
mov ecx, esi
cmp esi, 2
jb 0x493d31
mov ecx, 2
mov eax, ebx
cmp edi, 0x10
jae 0x493d3b
lea eax, [ebp - 0x64]
push ecx
push 0x5558f8
push eax
call fcn.00401040
add esp, 0xc
test eax, eax
jne 0x493d5d
cmp esi, 2
jb 0x493d5d
cmp esi, 2
setne al
test eax, eax
je 0x493d82
mov eax, ebx
cmp edi, 0x10
jae 0x493d67
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x84]
push eax
push 0x2714
push edx
call fcn.00494cc0
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x64]
add esp, 0xc
cmp edi, 0x10
jb 0x493d90
push ebx
call fcn.0052142e
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.00521458
mov esp, ebp
pop ebp
ret