Function at 0x45eb10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5923af
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x78], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004170e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0041d970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041d970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004170e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004170e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.004170e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.0041ea50
mov byte [ebp - 4], 7
push SHChangeNotifyDeregister
lea ecx, [ebp - 0x34]
call fcn.00417210
push SHChangeNotifyDeregister
lea ecx, [ebp - 0x6c]
call fcn.00417210
push 0
lea eax, [ebp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x290]
push ecx
call fcn.0041e090
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 8
push ecx
mov eax, esp
mov dword [ebp - 0x28c], esp
push str.UserChoice
mov ecx, dword [ebp - 0x2c8]
push ecx
push eax
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
push SHChangeNotifyDeregister
lea ecx, [ebp - 0x6c]
call fcn.00417490
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.0041dab0
cmp dword [ebp - 0x288], 0
je 0x45eccc
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push 0x5b16cc
call fcn.0041d9b0
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push str.Progid
call fcn.0041d9b0
mov dword [ebp - 0x2dc], eax
lea ecx, [ebp - 0x74]
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00417760
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call fcn.0041e310
movzx edx, al
test edx, edx
jne 0x45ecc0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041dad0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.0041dab0
lea ecx, [ebp - 0x38]
call fcn.0041e310
movzx ecx, al
test ecx, ecx
je 0x45ed8f
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x29c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0041d990
mov dword [ebp - 0x2e4], eax
push SHChangeNotifyDeregister
lea ecx, [ebp - 0x58]
call fcn.00417490
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 0x5b175c
call fcn.0041d9b0
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x5b1760
call fcn.0041d9b0
mov dword [ebp - 0x2f0], eax
lea ecx, [ebp - 0x2a8]
push ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00417760
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041dad0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a8]
call fcn.0041dab0
push 0x5b1764
lea ecx, [ebp - 0x38]
push ecx
call fcn.0041e180
add esp, 8
movzx edx, al
test edx, edx
je 0x45efcb
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x2ac], esp
push 0x5b1768
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x2fc], eax
push SHChangeNotifyDeregister
lea ecx, [ebp - 0x58]
call fcn.00417490
xor edx, edx
mov word [ebp - 0x284], dx
push 0x206
push 0
lea eax, [ebp - 0x282]
push eax
call fcn.005533a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x284]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2b4], esp
push 0x5b1784
call fcn.0041d9b0
mov dword [ebp - 0x300], eax
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x304], edx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push 0x5b1788
call fcn.0041d9b0
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x2bc]
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00417760
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], ecx
mov ecx, dword [ebp - 0x310]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2ad], al
lea ecx, [ebp - 0x2bc]
call fcn.0041dab0
movzx edx, byte [ebp - 0x2ad]
test edx, edx
je 0x45ef2d
push 0x5b178c
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov eax, dword [ebp - 0x2c0]
or eax, 1
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00424080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00417180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00417180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00417180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00417180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
jmp 0x45f04d
lea ecx, [ebp - 0x284]
push ecx
push 0x5b1790
lea edx, [ebp - 0x70]
push edx
call fcn.00423c30
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov ecx, dword [ebp - 0x2c0]
or ecx, 1
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00424080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00417180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00417180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00417180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00417180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
jmp 0x45f04d
push 0x5b1798
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov edx, dword [ebp - 0x2c0]
or edx, 1
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00424080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00417180
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00417180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00417180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00417180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x78]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret