joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100db39
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp byte [esi + 0x40], 0
je 0x101f899
mov eax, dword [ebp + 8]
push edi
mov edi, 0x80070057
test eax, eax
je 0x100dc20
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100db62
sub eax, edx
sar eax, 1
cmp eax, dword [esi + 0x10]
ja 0x100dc20
push ebx
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0100bb3e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jbe 0x100dbf1
and dword [ebp - 4], edi
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
test eax, eax
je 0x101f8a0
push eax
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10194cf
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
sub eax, dword [ecx + edx + 4]
cmp eax, dword [esi + 0xc]
ja 0x101f8a0
cmp eax, dword [ebp - 8]
jbe 0x100dbe7
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
add dword [ebp - 4], 0xc
inc edi
cmp edi, dword [esi + 8]
jb 0x100dba1
mov ecx, dword [esi + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp ecx, dword [esi + 4]
jae 0x101f8b8
imul ecx, ecx, 0xc
add ecx, dword [esi + 0x14]
call fcn.010126d0
mov edi, eax
test edi, edi
jl 0x100dc17
inc dword [esi + 8]
lea ecx, [ebp - 0x14]
call fcn.0100bb5c
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 8
call ebx
imul edi, edi, 0xc
mov ecx, dword [esi + 0x14]
mov dword [ecx + edi + 4], eax
xor edi, edi
jmp 0x100dc17
mov edi, eax
cmp edi, 1
je 0x100dbf1
jmp 0x100dc17
xor eax, eax
jmp 0x100dc23
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
imul ecx, ecx, 0xc
add ecx, dword [esi + 0x14]
call fcn.010126d0
jmp 0x10194e2
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xc
add ecx, dword [esi + 0x14]
call fcn.010126d0
mov edi, eax
jmp 0x100dc17
Function at 0x100dea2
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov ebx, ecx
call fcn.0100df58
mov esi, eax
cmp esi, 1
jne 0x100df40
call sym.spoolsv.exe_PrvRevertToPrinterSelf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
xor esi, esi
push edi
mov dword [ebp - 0x38], esi
call fcn.0100d81f
cmp eax, esi
je 0x101fae8
lea ecx, [ebp - 0x20]
call fcn.0100cd82
lea ecx, [ebp - 0x34]
call fcn.0100cd82
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
mov ecx, ebx
call fcn.0100d359
mov esi, eax
test esi, esi
jne 0x101fb5f
lea eax, [ebp - 0x20]
push eax
push edi
mov ecx, ebx
call fcn.01013cfd
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0100cdf3
lea ecx, [ebp - 0x20]
call fcn.0100cdf3
push dword [ebp - 0x3c]
call sym.spoolsv.exe_PrvImpersonatePrinterClient
test eax, eax
je 0x101fba1
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 4
cmp dword [ebp - 0x38], esi
je 0x101fb55
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 8], esi
call fcn.0103c1c0
push dword [ebp - 0x38]
mov esi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
test esi, esi
jne 0x101fb55
push 0x24
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x101fb23
push edi
mov ecx, eax
call fcn.0100d618
mov esi, eax
jmp 0x101fb25
xor esi, esi
test esi, esi
je 0x101fb2e
mov eax, dword [esi + 0x20]
jmp 0x101fb33
mov eax, 0x8007000e
test eax, eax
jl 0x101fb49
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push esi
call fcn.0100d227
test eax, eax
jl 0x101fb49
xor esi, esi
test esi, esi
je 0x101fb55
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov esi, 0x80004005
jmp 0x100df30
and eax, 0xffff
cmp eax, 0x2af9
jne 0x100df20
lea ecx, [ebp - 0xc]
call fcn.0100bb83
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0103ff89
mov esi, eax
test esi, esi
jne 0x101fb94
push edi
push dword [ebp - 8]
mov ecx, ebx
call fcn.01040723
mov esi, eax
lea ecx, [ebp - 0xc]
call fcn.0100bba4
jmp 0x100df20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100e32e
Capabilities:
Get token privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call sym.spoolsv.exe_PrvWaitForSpoolerInitialization
mov esi, dword [ebp + 8]
push dword [esi]
call fcn.01011bc4
test eax, eax
jne 0x100e39a
push edi
lea edi, [esi + 4]
push edi
push ebx
call fcn.01010f87
test eax, eax
je 0x100e369
push 1
push edi
call fcn.010111d5
push ebx
push ebx
push ebx
push ebx
push 3
call sym.spoolsv.exe_PrvRouterBroadcastMessage
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
pop edi
test eax, eax
je 0x100e39a
push esi
push dword [ebp - 4]
push 1
push 1
call fcn.0100bd19
mov eax, dword [esi]
cmp eax, ebx
jne 0x101e76b
lea eax, [esi + 4]
push eax
call fcn.0100ec85
push esi
call sym.spoolsv.exe_PrvDllFreeSplMem
pop esi
pop ebx
leave
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e3a4

Function at 0x100e521
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push 0x84c
mov dword [ebp - 4], ebx
call sym.spoolsv.exe_PrvDllAllocSplMem
mov esi, eax
cmp esi, ebx
je 0x101e777
push edi
push 0x2001f
call sym.spoolsv.exe_PrvSplGetClientUserHandle
lea edi, [esi + 4]
mov dword [edi], eax
push esi
cmp eax, ebx
je 0x101e785
push 1
push 0xe
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x101e77e
pop edi
cmp esi, ebx
je 0x100e5a8
cmp dword [0x1049174], ebx
jne 0x10191e5
lea eax, [ebp - 8]
push eax
push ebx
push esi
push fcn.0100e32e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x101e791
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
push esi
call fcn.0100e32e
jmp 0x100e5a8
xor eax, eax
jmp 0x100e5ab
push edi
call fcn.0100ec85
push esi
call sym.spoolsv.exe_PrvDllFreeSplMem
xor esi, esi
jmp 0x100e575
push dword [esi]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
push eax
call fcn.0100ec85
push esi
call sym.spoolsv.exe_PrvDllFreeSplMem
jmp 0x100e5a8

Function at 0x100ed29
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 8]
push eax
push 2
push 0
push 0x100ed90
push 0x80000002
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100ed6e
push 2
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp - 8], 0
je 0x100ed7d
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 4
Function at 0x100f32d
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push dword [esi + 4]
mov dword [esi + 8], eax
push eax
push dword [esi]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
push eax
call fcn.010035a1
mov dword [esi + 0x10], eax
pop esi
leave
ret
Function at 0x100f46c
Capabilities:
Set registry value

Disassembly:
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
lea eax, [esi + 0x436]
push ebx
push edi
push eax
call fcn.0100f695
add esp, 0x14
and dword [esi + 0x14], 0
jmp 0x100f590
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x41c], ecx
test eax, eax
je 0x100f5f9
push edi
push 0x100f624
push 0x100f61c
mov edi, 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0100f695
lea eax, [ebp - 0x414]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100f4cc
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x41c], 0
jne 0x101e6fc
push dword [ebx]
mov edx, edi
push 0x100f638
push 0x100f60c
sub edx, eax
lea ecx, [ebp + eax*2 - 0x414]
push edx
push ecx
mov dword [ebp - 0x41c], ecx
call fcn.0100f695
add esp, 0x14
inc dword [ebx]
call sym.spoolsv.exe_PrvRevertToPrinterSelf
push dword [ebp - 0x41c]
mov ebx, eax
call fcn.0100ed29
test ebx, ebx
je 0x100f52c
push ebx
call sym.spoolsv.exe_PrvImpersonatePrinterClient
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100f535
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push dword [ebp - 0x418]
push dword [esi + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp dword [esi + 0x14], 0
mov ebx, 0x100e5b0
je 0x100f590
lea eax, [esi + 0x436]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [esi + 0x18], eax
jne 0x100f440
xor eax, eax
cmp dword [esi + 0x1c], eax
je 0x100f650
cmp word [esi + 0x434], ax
jne 0x100f5ad
cmp dword [ebp + 0x10], eax
jne 0x100f650
push 0x100f640
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.01010597
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
pop edi
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100f5c9
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push dword [ebp - 0x418]
push dword [esi + 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret 0x14
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
lea eax, [esi + 0x24]
push ebx
push edi
push eax
call fcn.0100f695
xor ecx, ecx
inc ecx
lea eax, [esi + 0x434]
add esp, 0x14
cmp word [eax], 0
mov dword [esi + 0x1c], ecx
jne 0x100f5ad
cmp dword [ebp + 0x10], 0
je 0x100f5ad
jmp 0x101e731
push dword [ebp - 0x41c]
mov ecx, edi
sub ecx, eax
lea ebx, [ebp + eax*2 - 0x414]
push ecx
push ebx
call fcn.0100bc84
push 0x2c
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x100f52c
xor ecx, ecx
mov word [eax], cx
jmp 0x100f52c
mov word [eax], cx
jmp 0x100f5ad
Function at 0x10121c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x120]
push eax
xor esi, esi
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10121fd
cmp byte [ebp - 6], 3
je 0x101c0ac
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100327d
leave
ret
lea eax, [ebp - 0x124]
push eax
push 0x20019
push esi
push 0x101c168
push 0x80000002
mov dword [ebp - 0x124], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x101c124
push esi
push esi
push esi
push esi
push 0x101c150
push dword [ebp - 0x124]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x101c113
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x101c110
test byte [eax + 0x1c], 1
je 0x101c110
push 0x1013298
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01023f56
xor esi, esi
inc esi
push dword [ebp - 0x124]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x10121fd
mov eax, dword [0x1049104]
cmp eax, 0x1049104
je 0x101c148
test byte [eax + 0x1c], 1
je 0x101c148
push 0x1013298
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01023f56
xor esi, esi
inc esi
jmp 0x10121fd
Function at 0x1012625
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp + 0xc], esi
push dword [ecx + 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x101265f
cmp edx, esi
jne 0x101fd56
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x1013eab
mov ecx, dword [ebp + 0x1c]
pop esi
test ecx, ecx
jne 0x101fd5e
test eax, eax
jg 0x1012817
pop ebp
ret 0x18
and eax, 0xffff
or eax, 0x80070000
jmp 0x101267e
mov esi, dword [ebp + 0x10]
mov dword [ecx], esi
jmp 0x101266a
push 0x57
pop eax
jmp 0x101265f
mov dword [ecx], edx
jmp 0x1012676

Function at 0x1012687
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [0x1049124], esi
jne 0x1013672
mov eax, dword [0x1049124]
pop esi
leave
ret
lea eax, [ebp - 8]
push eax
push 1
push esi
push 0x1013710
push 0x80000002
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x101269e
push ebx
push edi
mov edi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 4]
push eax
push 0x1049124
push esi
push esi
push 0x10136e4
push dword [ebp - 8]
mov dword [0x1049124], esi
mov dword [ebp - 4], ebx
call edi
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x101c2e3
cmp dword [0x1049124], esi
jne 0x101c2ee
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
pop edi
pop ebx
jmp 0x101269e
mov dword [0x1049124], esi
jmp 0x10136c5
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0104306e
test eax, eax
je 0x101c307
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0xc], esi
jne 0x10136d1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x101c350
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call edi
cmp eax, esi
jne 0x10136d1
cmp dword [ebp - 0x10], esi
jne 0x10136d1
cmp dword [ebp - 0x14], esi
je 0x10136d1
mov dword [0x1049124], esi
jmp 0x10136d1
Function at 0x1012d8f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x1049180], ebx
jne 0x1012ec4
push 0x1012f98
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x1012f2a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xfe
push edi
call esi
cmp eax, ebx
je 0x1012f2a
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call eax
push 0x1012f88
push edi
call esi
push 0x1012f78
push edi
mov dword [0x1049240], eax
call esi
push 0x1012f64
push edi
mov dword [0x1049244], eax
call esi
push 0x1012f4c
push edi
mov dword [0x1049250], eax
call esi
push 0x1012f38
push edi
mov dword [0x1049248], eax
call esi
push 0xd4
push edi
mov dword [0x104924c], eax
call esi
push 0xd5
push edi
mov dword [0x1049254], eax
call esi
push 0xd6
push edi
mov dword [0x1049258], eax
call esi
push 0xd7
push edi
mov dword [0x104925c], eax
call esi
push 0xfb
push edi
mov dword [0x1049260], eax
call esi
mov dword [0x1049264], eax
cmp dword [0x1049240], ebx
je 0x1012f2e
cmp dword [0x1049244], ebx
je 0x1012f2e
cmp dword [0x1049250], ebx
je 0x1012f2e
cmp dword [0x104924c], ebx
je 0x1012f2e
cmp dword [0x1049248], ebx
je 0x1012f2e
cmp dword [0x1049254], ebx
je 0x1012f2e
cmp dword [0x1049258], ebx
je 0x1012f2e
cmp dword [0x104925c], ebx
je 0x1012f2e
cmp eax, ebx
je 0x1012f2e
mov dword [0x1049180], 1
mov eax, dword [ebp + 8]
mov ecx, dword [0x1049240]
mov dword [eax], ecx
mov ecx, dword [0x1049244]
mov dword [eax + 4], ecx
mov ecx, dword [0x1049250]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x1049248]
mov dword [eax + 8], ecx
mov ecx, dword [0x104924c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x1049254]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x1049258]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x104925c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0x1049260]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x1049264]
mov dword [eax + 0x24], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
jmp 0x1012f23
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1012f2a

Function at 0x10132c5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10120b8
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1013324
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x101332c
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x101be2c
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
mov esi, dword [ebp - 8]
jmp 0x101331b
Function at 0x1013e5d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp + 0x10], esi
push dword [ecx + 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1013e9d
cmp dword [ebp + 0x10], esi
jne 0x101fd3f
mov ecx, dword [ebp - 4]
mov dword [edi], ecx
pop edi
pop esi
test eax, eax
jg 0x101fd47
leave
ret 0xc
push 0x57
pop eax
jmp 0x1013e98
and eax, 0xffff
or eax, 0x80070000
jmp 0x1013ea7
Function at 0x10152e9
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.01014e00
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
xor esi, esi
push esi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x414]
push eax
mov edi, 0x80000003
mov ebx, 0x104
push edi
mov dword [ebp - 0x430], ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x101e7b4
mov eax, dword [ebp - 0x428]
cmp eax, 1
jb 0x101e7c0
imul eax, eax, 0x848
push eax
call sym.spoolsv.exe_PrvDllAllocSplMem
mov dword [ebp - 0x424], eax
cmp eax, esi
je 0x10154b4
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x41c], esi
cmp dword [ebp - 0x428], esi
jbe 0x1015453
lea eax, [ebp - 0x440]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x420]
mov dword [ebp - 0x42c], ebx
push edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x101e7c8
lea eax, [ebp - 0x20c]
push 0x10154b8
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x101543b
lea eax, [ebp - 0x20c]
push 0x5f
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x101543b
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.01010f87
test eax, eax
je 0x101543b
add dword [ebp - 0x418], 0x848
inc dword [ebp - 0x41c]
inc dword [ebp - 0x420]
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x428]
jb 0x10153b5
push dword [ebp - 0x41c]
push dword [ebp - 0x424]
call fcn.010111d5
mov ebx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], eax
cmp ebx, esi
jbe 0x1015489
mov edi, dword [ebp - 0x424]
push edi
call fcn.0100ec85
add edi, 0x848
dec ebx
jne 0x101547a
push esi
push esi
push esi
push esi
push 5
call sym.spoolsv.exe_PrvRouterBroadcastMessage
push dword [ebp - 0x424]
call sym.spoolsv.exe_PrvDllFreeSplMem
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100327d
leave
ret
xor eax, eax
jmp 0x10154a5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10154b4
xor eax, eax
inc eax
jmp 0x10154a5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x101543b
Function at 0x1015a13
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1015a98
push 0x80000002
mov esi, 0x3200000
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1015a77
and dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1015a7c
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x101aa7e
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
mov esi, dword [ebp - 4]
jmp 0x1015a6e

Function at 0x1015aeb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SystemCurrentControlSetControlPrint
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1015b4a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x1015b50
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x101aa86
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
pop esi
leave
ret
mov eax, dword [ebp - 8]
mov dword [0x1049ec4], eax
jmp 0x1015b41
Function at 0x1015f49
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1015fd0
push 0x80000002
mov dword [ebp - 0xc], ebx
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1015fbf
push esi
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
push edi
push 4
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1016020
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
je 0x101bc94
cmp dword [0x1049efc], ebx
jne 0x101bca1
push dword [ebp - 0xc]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
pop edi
pop esi
cmp dword [0x1049efc], ebx
pop ebx
jne 0x101bcf6
leave
ret
mov eax, dword [ebp - 4]
mov dword [0x1049efc], eax
jmp 0x1015fa8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x101bd08
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x101bcc7
mov eax, dword [ebp - 4]
mov dword [0x1049f98], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x101bd3c
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x1015fb4
mov eax, dword [ebp - 4]
mov dword [0x104a114], eax
jmp 0x1015fb4
push 0x103235a
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
jmp 0x1015fcc