Function at 0x100758a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101421b6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1019bc84]
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 dword [ebp - 0x24c], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov ecx, str.ComputerZ_Tray
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1007592c
test dx, dx
je 0x10075928
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1007592c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10075906
xor eax, eax
jmp 0x10075931
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x230]
push 0x1c
push eax
jne 0x10075971
call fcn.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1007594e
mov eax, dword [eax]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0x244]
call fcn.1003a860
lea ecx, [ebp - 0x230]
call fcn.100106a0
jmp 0x100759ac
call fcn.10038b20
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10075981
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x244]
call fcn.1003a860
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.100106a0
test esi, esi
jne 0x10075aca
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10075afd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
push dword [edi + 8]
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push dword [edi]
push str._s__s
push eax
call fcn.1000ade0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
mov edi, dword [ebp - 0x244]
lea eax, [ebp - 0x234]
add esp, 0x1c
mov dword [ebp - 0x234], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10075a4e
mov eax, dword [ebp - 0x248]
cmp eax, 1
je 0x10075a3c
cmp eax, 2
jne 0x10075a4e
cmp dword [ebp - 0x234], 0
jne 0x10075a4e
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1010dcf2
add esp, 8
test eax, eax
je 0x10075a95
test esi, esi
je 0x10075a95
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10075a71
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x24c]
push 0
push str.Computer_Z
call fcn.10076b90
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10075ac3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10075ad2
mov edi, dword [ebp - 0x244]
xor esi, esi
test edi, edi
je 0x10075add
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.1009de58
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000aab0
int3