Function at 0x45a8f0
Capabilities:
Access peb ldr_data
Get common file path
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543491
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2e8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x14], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
xor ecx, ecx
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], cx
mov byte [ebp - 4], 4
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov dword [esi], ecx
push 0x24
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
call fcn.00511c75
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00433a50
push 0
mov byte [ebp - 4], 7
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.00513df0
add esp, 0xc
lea eax, [ebp - 0x2f8]
push 0x104
push eax
push str._NT_SYMBOL_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x45ad03
lea eax, [ebp - 0x2f8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x45ad03
mov dword [ebp - 0xe8], 0x671764
mov dword [ebp - 0xd8], 0x671f34
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd0]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 1
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x84], 0x50
movlpd qword [ebp - 0xe0], xmm0
call fcn.0045bff0
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xdc], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xec], eax
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xe8]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xec], eax
mov dword [ebp - 0xd0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00511c75
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 0xe
call fcn.0051083c
mov dword [esi + 4], eax
add esp, 4
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xd0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov edx, str.srv
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd8]
call fcn.0045c180
lea edx, [ebp - 0x2f8]
mov ecx, eax
call fcn.0045c180
mov edx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
mov ecx, eax
call fcn.0045c180
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x11
xor eax, eax
mov byte [ebp - 4], 0x10
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x94]
and al, 0x22
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x21
movq qword [ebp - 0x38], xmm0
cmp al, 2
je 0x45ac76
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
test ecx, ecx
je 0x45ac76
cmp ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xc0]
cmovb ecx, dword [ebp - 0x98]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x45acab
test byte [ebp - 0x94], 4
jne 0x45aca5
mov eax, dword [ebp - 0xb4]
mov esi, dword [eax]
test esi, esi
je 0x45aca5
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, esi
sar ecx, 1
jmp 0x45acab
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x45acb9
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00413180
lea eax, [ebp - 0x2c]
lea esi, [edi + 0x18]
cmp esi, eax
je 0x45acf0
mov ecx, esi
call fcn.00413120
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
nop
lea ecx, [ebp - 0x2c]
call fcn.00413120
lea ecx, [ebp - 0xe8]
call fcn.0045add0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret