joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101078f0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x10107955.8
mov eax, dword [ebp - 0x214]
jmp dword [eax*4 + 0x101079ec]
mov ecx, dword [ebp - 0x210]
or ecx, 0x100
mov dword [ebp - 0x210], ecx
cmp dword [ebp + 0x10], 0
je 0x10107986
mov edx, dword [ebp - 0x210]
or edx, 0x1000000
mov dword [ebp - 0x210], edx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.1014aba0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10088bd0
mov ecx, dword [ebp - 0x218]
or ecx, 1
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1010795c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x10107955.8
mov eax, dword [ebp - 0x214]
jmp dword [eax*4 + 0x101079ec]
mov ecx, dword [ebp - 0x210]
or ecx, 0x100
mov dword [ebp - 0x210], ecx
cmp dword [ebp + 0x10], 0
je 0x10107986
mov edx, dword [ebp - 0x210]
or edx, 0x1000000
mov dword [ebp - 0x210], edx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.1014aba0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10088bd0
mov ecx, dword [ebp - 0x218]
or ecx, 1
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1010f35e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1010f385
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1010f388
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1010f33a
pop esi
leave
ret 8

Function at 0x101148a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x101148cb
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x101148b9
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x101229c6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.101625a8
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x10122a05
sub eax, 1
je 0x10122a00
sub eax, 1
je 0x101229fc
xor eax, eax
leave
ret
push 3
jmp 0x10122a07
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x101381b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x101381f4
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x101381c4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101381f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x101381e5.4
movzx eax, byte [eax + 0x10138218]
jmp dword [eax*4 + 0x10138210]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
push 0
push 0x5e
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.10129610
lea eax, [esi + 4]
push eax
call fcn.10138240
in al, dx
adc dword [ebx], 327288592
adc byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3
Function at 0x10138240
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1023fedd
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x10138418
je case.0x1013828e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1013828e.4
movzx eax, byte [eax + 0x101384b0]
jmp dword [eax*4 + 0x10138474]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10127290
push 0x102e5f64
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10127170
push 0x102e603c
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10127240
push 0x102e5f1c
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10126e00
push 0x102e6084
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10126f30
push 0x102e615c
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101279e0
push 0x102e60cc
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101277c0
push 0x102e6114
lea eax, [ebp - 0x38]
push eax
call fcn.1014a5a6
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.10054880
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.101271c0
push 0x102e5ed8
lea eax, [ebp - 0x64]
push eax
call fcn.1014a5a6
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.10054880
mov dword [ebp - 4], 1
jmp 0x1013835f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.10054880
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.10127790
push 0x102e6114
jmp 0x10138374
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.10054880
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.101279b0
push 0x102e60cc
jmp 0x10138374
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.10054880
mov dword [ebp - 4], 4
jmp 0x1013835f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.101276d0
push 0x102e5e50
jmp 0x10138374
cmp esi, 0x781
je case.0x1013828e.3
cmp esi, 0x1779
je 0x10138447
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.101271f0
push 0x102e5ed8
lea eax, [ebp - 0x90]
jmp 0x10138377
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.101272e0
push 0x102e5ff4
jmp 0x10138374
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10127680
push 0x102e5fac
jmp 0x10138374
Function at 0x10138590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x101385b7
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x101385a4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101385cd
shr eax, 4
and al, 1
pop esi
ret
push 0
push 0x9f
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.10129610
lea eax, [esi + 4]
push eax
call fcn.10138240
int3

Function at 0x101385e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x101385f0
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1013861f
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x10138604
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10138635
and eax, 0x410
cmp eax, 0x400
pop esi
sete al
ret
push 0
push 0xaa
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.10129610
lea eax, [esi + 4]
push eax
call fcn.10138240
int3

Function at 0x101397a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102400c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.101231a2
mov edi, eax
add esp, 4
test edi, edi
je 0x10139840
push 1
mov dword [ebp - 4], 0
call fcn.1010a9ef
add esp, 4
mov dword [edi + 4], eax
jmp 0x10139842
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.10055660
mov eax, dword [esi + 0xc]
mov ecx, 0
mov dword [esi + 0x38], 0xffffffff
mov byte [esi + 0x3c], 0
mov edx, dword [ebp + 0xc]
test edx, 1
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, 0x48
cmovne eax, ecx
mov dword [esi], vtable.Poco::Base64EncoderBuf.0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
mov dword [esi + 0x54], eax
mov eax, 0x102548e0
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x58], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1013a090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024017d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.101231a2
mov esi, eax
add esp, 4
test esi, esi
je 0x1013a130
push 1
mov dword [ebp - 4], 0
call fcn.1010a9ef
add esp, 4
mov dword [esi + 4], eax
jmp 0x1013a132
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10055660
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], 0xffffffff
mov byte [edi + 0x3c], 0
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov dword [eax], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, 1
mov dword [edi], vtable.Poco::Base64DecoderBuf.0
mov dword [edi + 0x40], esi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], 0x102f31c0
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x102f2fb8
mov dword [edi + 0x50], eax
mov eax, 0x102f30c0
cmove eax, ecx
mov ecx, 0x102f31c0
mov dword [edi + 0x54], eax
call fcn.10077700
test esi, 1
je 0x1013a225
cmp byte [0x102f30b9], 0
jne 0x1013a271
push 0x100
push 0xff
push 0x102f30c0
call fcn.1014aba0
add esp, 0xc
xor ecx, ecx
movzx eax, byte [ecx + 0x102548e0]
mov byte [eax + 0x102f30c0], cl
inc ecx
cmp ecx, 0x40
jb 0x1013a202
mov byte [0x102f30fd], 0
mov byte [0x102f30b9], 1
jmp 0x1013a271
cmp byte [0x102f30b8], 0
jne 0x1013a271
push 0x100
push 0xff
push 0x102f2fb8
call fcn.1014aba0
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x102f2fb8], al
inc eax
cmp eax, 0x40
jb 0x1013a250
mov byte [0x102f2ff5], 0
mov byte [0x102f30b8], 1
lea ecx, [ebp + 0xc]
call fcn.1012feb0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1013c8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10240333
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.1013f950
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101231a2
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.10126490
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x78], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1013dd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024055f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.101231a2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
mov dword [ebp - 4], 0
call fcn.1013d960
lea esi, [edi + 8]
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101231a2
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
movzx eax, byte [ebx + 0x1c]
mov byte [edi + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [edi + 0x1d], al
cmp byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
jne 0x1013de18
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1013de0e
push esi
call fcn.10056ce0
add esp, 4
lock inc dword [eax]
lea eax, [ebp - 0x18]
mov ebx, 1
jmp 0x1013de29
push 0
lea ecx, [ebp - 0x28]
call fcn.1013dca0
mov ebx, 2
mov esi, dword [eax]
mov dword [edi + 0x20], esi
mov ecx, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x1013de56
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.1013df70
test bl, 1
je 0x1013de63
lea ecx, [ebp - 0x18]
call fcn.1013df70
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov al, byte [ecx + 0x30]
mov byte [edi + 0x30], al
lea eax, [ecx + 8]
push eax
mov ecx, edi
call fcn.1013eb80
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1013dea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024057d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.101231a2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101231a2
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov al, cl
and al, 1
shr ecx, 1
mov byte [edi + 0x1c], al
and cl, 1
mov byte [edi + 0x1d], cl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x101458a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10240c95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
xorps xmm0, xmm0
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x34], 0
push esi
movups xmmword [ebp - 0x44], xmm0
mov esi, ecx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 4]
push eax
call fcn.1012b730
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x44]
or ecx, 0x20019
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
push edx
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x101459a7
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.1012b730
add esp, 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
sete byte [ebp - 0xd]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x101459a7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1014599d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101459f0
push ecx
push edx
call fcn.10123601
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x101459dd
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101459d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101459f5
push ecx
push edx
call fcn.10123601
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10154fbf
call fcn.10154fbf
int3
Function at 0x10145ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10240cfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov esi, ecx
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call fcn.101468a0
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.1012b730
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10145c48
cmp dword [ebp - 0x18], 3
jne 0x10145c48
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10145bfe
mov eax, dword [edi + 4]
mov edx, dword [edi]
sub eax, edx
cmp ecx, eax
jae 0x10145bb1
lea eax, [edx + ecx]
mov dword [edi + 4], eax
jmp 0x10145bdf
jbe 0x10145bdf
mov eax, dword [edi + 8]
sub eax, edx
cmp ecx, eax
jbe 0x10145bca
lea eax, [ebp + 0xf]
push eax
push ecx
mov ecx, edi
call fcn.10145010
jmp 0x10145bdf
lea esi, [edx + ecx]
push esi
push dword [edi + 4]
call fcn.10070740
mov dword [edi + 4], esi
add esp, 8
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x10]
push ecx
push dword [edi]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push 0
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x10145c34
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10145c2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10145c73
push ecx
push edx
call fcn.10123601
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.101465a0
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.10127550
push 0x102e5da8
lea eax, [ebp - 0x78]
push eax
call fcn.1014a5a6
call fcn.10154fbf
int3