Function at 0x4b7f60
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4b7f80
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4b7f99
mov eax, dword [ecx]
xor ecx, ecx
xorps xmm0, xmm0
mov word [eax], cx
push ecx
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], ecx
movaps xmmword [esp + 0x24], xmm0
call fcn.005c0e63
add esp, 4
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b8129
push 0x1388
push 0x1388
push 0x2710
push 0x2710
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x4b8129
xorps xmm0, xmm0
lea eax, [esp + 0x20]
push eax
movaps xmmword [esp + 0x34], xmm0
movq qword [esp + 0x44], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x4b8129
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test ecx, ecx
jne 0x4b8037
test edx, edx
jne 0x4b804f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b8129
jmp 0x4b8057
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b806b
mov dword [esp + 0x30], 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 1
test ecx, ecx
jne 0x4b8073
test eax, eax
je 0x4b80dd
cmp dword [esi + 0x14], 8
jb 0x4b807b
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x1c]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x4b80d9
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4b80b9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b80a1
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00409060
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4b8129
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4b80c6
sub edx, ecx
sar edx, 1
push edx
push esi
jmp 0x4b8121
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4b80fe
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b80e6
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00409060
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4b8129
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b8110
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, dword [ebp + 8]
call fcn.00409060
cmp dword [edi + 0x10], 0
push 0
setne byte [esp + 0x13]
call fcn.005c0e63
mov eax, dword [esp + 0x2c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x4b814d
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4b8158
push eax
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b8163
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b816e
push eax
call esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b8179
push ecx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b8188
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov esp, ebp
pop ebp
ret