Function at 0x73162680
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x731f70b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20c
lea eax, [ebp - 0x258]
mov dword [ebp - 0xac0], 0
push 0
push eax
mov ebx, edx
mov dword [ebp - 0xabc], 0
mov esi, ecx
mov dword [ebp - 0xab4], 0
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb30]
add esp, 0xc
mov dword [ebx + 0x90], 0
test eax, eax
jne 0x73162744
lea eax, [ebp - 0xa84]
mov dword [ebp - 0xa84], esi
mov esi, dword [0x731f853c]
mov ecx, esi
push eax
call dword [0x731fd4e8]
call esi
mov esi, eax
test esi, esi
jns 0x73162726
mov ecx, ebx
call fcn.73163440
mov ecx, esi
call fcn.731674f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa80]
mov dword [ebx + 0xb30], eax
mov eax, dword [ebp - 0xa74]
mov dword [ebx + 0xb3c], eax
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 0x20c
mov dword [ebp - 0x258], 0
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x73163362
xor eax, eax
mov word [ebp - 0x4e], ax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x680], eax
test eax, eax
jne 0x731627d2
mov ecx, ebx
call fcn.73163440
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x241
neg eax
sbb eax, eax
and eax, 0xfff93dc4
add eax, 0x80070241
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0xab4]
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0xa6c]
push eax
mov dword [ebp - 0xa68], 0xb
mov dword [ebp - 0xa60], 4
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x73162826
cmp dword [ebp - 0xab4], 0
jne 0x73163362
push 0x7315439c
push dword [ebx + 0x680]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0xa70], edi
test edi, edi
je 0x73163362
mov edx, dword [0x731f84d4]
mov esi, 0xc0000001
mov dword [ebp - 0xa5c], edx
test edx, edx
je 0x73162707
mov eax, dword [ebx + 0xb30]
xor ecx, ecx
mov dword [ebp - 0xa88], ecx
mov dword [ebp - 0xa84], ecx
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa7c], ecx
mov dword [ebp - 0xa78], ecx
mov dword [ebp - 0xa74], ecx
mov dword [ebp - 0xa8c], ecx
or ecx, 1
mov dword [ebp - 0xa94], eax
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa90], ecx
mov ecx, edx
push eax
call dword [0x731fd4e8]
call dword [ebp - 0xa5c]
mov ecx, dword [ebp - 0xa8c]
mov esi, eax
mov dword [ebx], ecx
test esi, esi
js 0x73162707
push 0x7fc
lea eax, [ebp - 0xa58]
mov dword [ebp - 0xb0c], 0x73160c80
push 0
push eax
mov dword [ebp - 0xb08], 0x7315fb90
mov dword [ebp - 0xb04], 0x73160ce0
mov dword [ebp - 0x20], 0x5002
mov dword [ebp - 0x1c], 0x5001
mov dword [ebp - 0x18], 0x4002
mov dword [ebp - 0x14], 0x3004
mov dword [ebp - 0x10], 0x2003
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb34]
add esp, 0xc
mov dword [ebp - 0xa50], eax
mov eax, dword [ebx + 0xb38]
mov dword [ebp - 0xa4c], eax
mov eax, dword [ebx + 0xb3c]
mov dword [ebp - 0xa48], eax
lea eax, [ebp - 0xa58]
push eax
mov dword [ebp - 0xa58], 0xfffffffe
mov dword [ebp - 0xa54], 0x7fc
call dword [sym.imp.USER32.dll_DisplayConfigGetDeviceInfo]
test eax, eax
jne 0x7316299a
cmp dword [ebp - 0x700], 0x4b0
lea eax, [ebp - 0x718]
jne 0x7316299c
mov ecx, dword [ebp - 0x714]
cmp ecx, 0x1002
je 0x73162990
cmp ecx, 0x4d4f4351
jne 0x7316299c
mov eax, dword [eax + 0x18]
mov esi, 3
jmp 0x731629ac
xor eax, eax
xor esi, esi
test eax, eax
je 0x731629a7
mov eax, dword [eax + 0x18]
jmp 0x731629ac
mov eax, 0x3e8
xor ecx, ecx
cmp eax, 0x4b0
mov eax, dword [ebx + 0x8c]
setge cl
and eax, 0xffffffbf
dec ecx
and ecx, 0x40
or ecx, eax
mov dword [ebx + 0x8c], ecx
lea ecx, [ebx + 0x8c8]
jmp 0x731629d9
mov edi, dword [ebp - 0xa70]
mov eax, dword [ebx + 0xb30]
mov dword [ebp - 0xa88], eax
mov eax, dword [ebp + esi*4 - 0x20]
mov dword [ebp - 0xa5c], eax
mov dword [ebp - 0xa80], eax
lea eax, [ebp - 0xb0c]
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa88]
mov dword [ebp - 0xa78], ecx
mov ecx, edi
push eax
mov dword [ebp - 0xa84], 8
mov dword [ebp - 0xa74], 0
call dword [0x731fd4e8]
call edi
mov edi, eax
test edi, edi
jns 0x73162a40
inc esi
lea ecx, [ebx + 0x8c8]
cmp esi, 5
jb 0x731629d3
jmp 0x73162a58
mov eax, dword [ebp - 0xa88]
mov dword [ebx + 0xb1c], eax
mov eax, dword [ebp - 0xa74]
mov dword [ebx + 0x1184], eax
test edi, edi
jns 0x73162a76
mov ecx, ebx
call fcn.73163440
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
and dword [ebx + 0x8c], 0xffffffdf
cmp dword [ebx + 0x1184], 1
jbe 0x73162adb
mov dword [ebx + 0x1174], 0
mov dword [ebx + 0x1178], 0
mov dword [ebp - 0xaf0], 0
mov dword [ebp - 0xaec], 0
mov dword [ebp - 0xae8], 0
mov dword [ebp - 0xae4], 0
mov dword [ebp - 0xae0], 0
mov dword [ebp - 0xadc], 0
jmp 0x73162c42
push 0x30
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x73162b08
mov ecx, ebx
call fcn.73163440
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov esi, dword [0x731f8514]
mov ecx, esi
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xab0]
push eax
mov dword [ebp - 0xaac], 0
mov dword [ebp - 0xaa8], 0
mov dword [ebp - 0xaa4], 0
mov dword [ebp - 0xaa0], 0
mov dword [ebp - 0xa9c], 0
mov dword [ebp - 0xa98], 8
call dword [0x731fd4e8]
call esi
mov esi, eax
test esi, esi
js 0x73162707
mov dword [edi + 0x28], 0
test byte [ebx + 0x8c], 0x20
mov eax, dword [ebp - 0xa90]
mov dword [ebp - 0xaf0], eax
mov eax, dword [ebp - 0xa8c]
mov dword [ebp - 0xaec], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xae8], eax
mov eax, dword [ebp - 0xa84]
mov dword [ebp - 0xae4], eax
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xae0], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebx + 0x1174], edi
mov dword [ebx + 0x1178], edi
mov dword [ebp - 0xadc], eax
je 0x73162be9
mov eax, dword [ebp - 0xa78]
mov dword [ebp - 0xad0], eax
mov eax, dword [ebp - 0xa74]
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xa94]
mov dword [edi], eax
mov eax, dword [ebp - 0xa90]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xa8c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa88]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xa84]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xa80]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xa7c]
mov dword [edi + 0x18], eax
test byte [ebx + 0x8c], 0x20
je 0x73162c42
mov eax, dword [ebp - 0xa78]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xa74]
mov dword [edi + 0x24], eax
push 0xfc
lea eax, [ebp - 0xc10]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edi, [ebx + 0x68c]
push 0x23c
push 0
push edi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xa5c]
add esp, 0xc
mov esi, dword [ebx + 0x8cc]
mov ecx, esi
and dword [ebp - 0xad4], 2
mov dword [ebp - 0xaf8], eax
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xaf4], eax
lea eax, [ebp - 0xb00]
push eax
push dword [ebx + 0xb1c]
mov dword [ebp - 0xc10], 0x73160690
mov dword [ebp - 0xc0c], 0x73160790
mov dword [ebp - 0xc08], 0x73160a80
mov dword [ebp - 0xc04], 0x73160b20
mov dword [ebp - 0xbf8], 0x7315f6c0
mov dword [ebp - 0xc00], 0x73160070
mov dword [ebp - 0xbfc], 0x73160210
mov dword [ebp - 0xbf4], 0x731603c0
mov dword [ebp - 0xbf0], 0x731605a0
mov dword [ebp - 0xbec], 0x73160d70
mov dword [ebp - 0xbd8], 0x73160e30
mov dword [ebp - 0xbd4], 0x73161010
mov dword [ebp - 0xbd0], 0x731610e0
mov dword [ebp - 0xbcc], 0x73161250
mov dword [ebp - 0xbc8], 0x731612c0
mov dword [ebp - 0xbc4], 0x73161440
mov dword [ebp - 0xbc0], 0
mov dword [ebp - 0xbe8], 0
mov dword [ebp - 0xbe4], 0
mov dword [ebp - 0xbe0], 0
mov dword [ebp - 0xbdc], 0
mov dword [ebp - 0xbbc], 0x73160170
mov dword [ebp - 0xbb0], 0x73161180
mov dword [ebp - 0xbac], 0x73161370
mov dword [ebp - 0xba8], 0x731614f0
mov dword [ebp - 0xbb8], 0x73161760
mov dword [ebp - 0xbb4], 0x731617a0
mov dword [ebp - 0xb9c], 0x731618d0
mov dword [ebp - 0xb98], 0x73161970
mov dword [ebp - 0xb94], 0x73161a50
mov dword [ebp - 0xb90], 0x73161ae0
mov dword [ebp - 0xb8c], 0x73161b70
mov dword [ebp - 0xb88], 0x73161c10
mov dword [ebp - 0xb54], 0x73161ca0
mov dword [ebp - 0xb84], 0x73161d90
mov dword [ebp - 0xb80], 0x73161e30
mov dword [ebp - 0xb7c], 0x73161ea0
mov dword [ebp - 0xb78], 0x73161f30
mov dword [ebp - 0xb74], 0x73161f80
mov dword [ebp - 0xb6c], 0x73162050
mov dword [ebp - 0xb70], 0x73162120
mov dword [ebp - 0xb68], 0x73162200
mov dword [ebp - 0xb64], 0x73162290
mov dword [ebp - 0xb60], 0x73162350
mov dword [ebp - 0xb5c], 0x73162460
mov dword [ebp - 0xb58], 0x73160850
mov dword [ebp - 0xb50], 0x73160a60
mov dword [ebp - 0xb4c], 0x73161ff0
mov dword [ebp - 0xb48], 0x731619f0
mov dword [ebp - 0xb44], fcn.73161620
mov dword [ebp - 0xb40], 0x73160a60
mov dword [ebp - 0xb00], ebx
mov dword [ebp - 0xafc], 8
mov dword [ebp - 0xad8], edi
call dword [0x731fd4e8]
call esi
mov esi, eax
test esi, esi
js 0x73163395
mov ecx, dword [ebx + 0x1184]
cmp ecx, 0x4001
jb 0x73162f24
cmp dword [ebx + 0x8a4], 0
je 0x73162f24
cmp dword [ebx + 0x8a0], 0
je 0x73162f24
cmp dword [ebx + 0x8a8], 0
je 0x73162f24
cmp dword [ebx + 0x89c], 0
je 0x73162f24
cmp dword [ebx + 0x8ac], 0
je 0x73162f24
cmp ecx, 0x4001
jbe 0x73162f1d
cmp dword [ebx + 0x8b4], 0
je 0x73162f24
cmp dword [ebx + 0x8b8], 0
je 0x73162f24
mov edx, 1
jmp 0x73162f26
xor edx, edx
xor eax, eax
mov dword [ebx + 0x1188], edx
cmp ecx, 0x4002
jb 0x73162fd3
cmp dword [edi + 0x44], eax
jne 0x73162f4b
cmp dword [edi + 0x1e8], eax
je 0x73162f4b
xor ecx, ecx
jmp 0x73162f50
mov ecx, 1
cmp dword [edi + 0x48], eax
jne 0x73162f61
cmp dword [edi + 0x1ec], eax
je 0x73162f61
xor eax, eax
jmp 0x73162f66
mov eax, 1
cmp dword [edi + 0x40], 0
jne 0x73162f79
cmp dword [edi + 0x1e4], 0
je 0x73162f79
or eax, ecx
jmp 0x73162f7e
mov eax, 1
cmp dword [edi + 0x94], 0
jne 0x73162f94
cmp dword [edi + 0x200], 0
je 0x73162f94
xor ecx, ecx
jmp 0x73162f99
mov ecx, 1
or eax, ecx
test edx, edx
je 0x73162fd3
cmp dword [edi + 0xa4], 0
jne 0x73162fb1
cmp dword [edi + 0x210], 0
jne 0x73162fb6
mov eax, 1
cmp dword [edi + 0xa0], 0
jne 0x73162fcc
cmp dword [edi + 0x220], 0
je 0x73162fcc
xor ecx, ecx
jmp 0x73162fd1
mov ecx, 1
or eax, ecx
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x73163395
mov eax, dword [ebp - 0xb00]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebx + 0x684], eax
mov eax, dword [ebx + 0xb30]
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xa64], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xa6c]
push eax
mov dword [ebp - 0xa68], 3
mov dword [ebp - 0xa60], 0x18
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x7316337f
mov edi, dword [ebp - 0x38]
add edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
adc eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x48]
adc eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
jne 0x73163072
cmp edi, 0x7fff0000
jbe 0x7316311a
lea eax, [ebp - 0xa70]
mov dword [ebp - 0xa5c], 0
push eax
push 0x731540c0
push 0x80000002
mov esi, 0xffff0000
mov dword [ebp - 0xac4], 4
mov dword [ebp - 0xa70], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x73163105
lea eax, [ebp - 0xac4]
push eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0xac8]
push eax
push 0
push 0x7315438c
push dword [ebp - 0xa70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x73163100
cmp dword [ebp - 0xac8], 4
jne 0x73163100
cmp dword [ebp - 0xa5c], esi
mov esi, 0x7fff0000
jne 0x73163105
mov esi, 0xffff0000
cmp dword [ebp - 0x10], 0
jb 0x7316311a
ja 0x73163111
cmp edi, esi
jb 0x7316311a
mov edi, esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa64], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xa6c]
push eax
mov dword [ebx + 0x1148], edi
mov dword [ebx + 0x114c], 0
mov dword [ebp - 0xa68], 5
mov dword [ebp - 0xa60], 0xc
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x73163344
mov eax, dword [ebp - 0x2c]
mov edx, 0x731543a8
mov dword [ebx + 0x1160], eax
mov ecx, 0xb
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1164], eax
mov eax, dword [ebp - 0x24]
and eax, 1
mov dword [ebx + 0x1168], eax
lea eax, [ebp - 0xac0]
push 8
push eax
call fcn.73198490
add esp, 8
test eax, eax
jne 0x731631ca
mov dword [ebp - 0xac0], 0x2000000
mov dword [ebp - 0xabc], eax
mov eax, dword [ebx + 0x1148]
lea edi, [ebx + 0x8d4]
mov dword [ebx + 0x1150], eax
lea esi, [ebx + 0x68c]
mov eax, dword [ebx + 0x114c]
mov ecx, 0x8f
mov dword [ebx + 0x1154], eax
mov eax, dword [ebx + 0x8c8]
mov dword [ebx + 0xb10], eax
mov eax, dword [ebx + 0x8cc]
mov dword [ebx + 0xb14], eax
mov eax, dword [ebx + 0x8d0]
mov dword [ebx + 0xb18], eax
mov eax, dword [ebx + 0xb30]
mov dword [ebp - 0xa6c], eax
lea eax, [ebx + 0x119c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0xa6c]
push eax
mov dword [ebp - 0xa68], 0xf
mov dword [ebp - 0xa60], 4
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x73163362
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x731f8500]
mov ecx, esi
mov dword [ebp - 0xa6c], eax
lea eax, [ebx + 0x1190]
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0xa6c]
push eax
mov dword [ebp - 0xa68], 0x11
mov dword [ebp - 0xa60], 0xc
call dword [0x731fd4e8]
call esi
test eax, eax
js 0x73163362
cmp dword [ebx + 0x684], 0
mov dword [ebx + 0x11a0], 0
je 0x73163331
cmp dword [ebx + 0x8bc], 0
je 0x73163331
mov esi, dword [0x731f8554]
xor eax, eax
mov dword [ebp - 0xa74], eax
mov ecx, esi
mov eax, dword [ebx + 0xb34]
mov dword [ebp - 0xa88], eax
mov eax, dword [ebx + 0xb38]
mov dword [ebp - 0xa84], eax
mov eax, dword [ebx]
mov dword [ebp - 0xa80], eax
lea eax, [ebp - 0xa88]
push eax
mov dword [ebp - 0xa7c], 0x73162620
mov dword [ebp - 0xa78], ebx
call dword [0x731fd4e8]
call esi
test eax, eax
jns 0x73163325
mov ecx, ebx
call fcn.73163440
mov eax, dword [ebp - 0xa74]
mov dword [ebx + 0x11a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1160], 0
mov dword [ebx + 0x1164], 0
mov dword [ebx + 0x1168], 0
mov ecx, ebx
call fcn.73163440
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1148], 0
mov dword [ebx + 0x114c], 0
jmp 0x73163362
cmp esi, 0x88760870
jne 0x731633a2
mov esi, 0x80004005
mov ecx, ebx
call fcn.73163440
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.731efbf0
mov esp, ebp
pop ebp
ret