joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaba694
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push esi
mov esi, 0xc96478
mov ecx, esi
call fcn.00aba8f3
push ecx
test al, al
je 0xaba746
mov ecx, esi
call fcn.00aba8bd
push ecx
test al, al
mov ecx, esi
push 1
setne byte [esp + 0x10]
push dword [esp + 0x10]
call fcn.00ab9fa8
lea ecx, [esp + 8]
mov dword [esp + 8], 6
call fcn.00ab914e
push 0x3c
pop esi
push esi
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00ab4bf6
and dword [esp + 0x20], 0
lea eax, [esp + 0x18]
add esp, 0xc
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x500
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], 0x9f96d4
push eax
mov dword [esp + 0x20], 0x9f9d40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0xaba74b
call fcn.00a4ae3f
lea ecx, [esp + 8]
mov dword [esp + 8], eax
call fcn.00ab91a2
call fcn.00a4ae3f
jmp 0xaba74d
call fcn.00b75904
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xabb91e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb0129a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xc940a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00abbbfd
test eax, eax
jne 0xabba5f
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.api_ms_win_security_lsalookup_l1_1_2.dll_LsaLookupUserAccountType]
test eax, eax
jns 0xabb975
push eax
push ecx
mov ecx, dword [ebp + 4]
call fcn.00abbea5
jmp 0xabb97f
cmp dword [ebp - 0x14], 5
je 0xabba5f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
push 0x20010010
push 0x9f1ee0
push 0x9f1e60
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp dword [ebp - 0x1c], esi
jne 0xabba5f
call fcn.00bb3820
test eax, eax
jne 0xabba5f
call fcn.00bb37e0
test eax, eax
jne 0xabba5f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USERENV.dll_GetProfileType]
mov ecx, eax
call fcn.00a5e63d
test eax, eax
jns 0xabb9f5
mov ecx, dword [ebp + 4]
push eax
push 0x9fa3ac
push 0x74
pop edx
call fcn.00ab606d
jmp 0xabb9fb
test byte [ebp - 0x20], 1
jne 0xabba5f
push 0x43
call dword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
test eax, eax
jne 0xabba5f
mov ebx, 0x9f40ec
mov ecx, edi
push 0x9f4114
mov edx, ebx
call fcn.00a9f593
cmp eax, 1
jne 0xabba2d
push ecx
mov edx, ebx
mov ecx, edi
call fcn.00bb418a
test eax, eax
jne 0xabba5f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x20019
push esi
push 0x9f40a0
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0xabba71
cmp dword [ebp - 0x10], esi
je 0xabba71
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call fcn.00a9f489
test al, al
jne 0xabba5f
jmp 0xabba61
Function at 0xad19b7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0xafcd1c
call fcn.00af8df7
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push 0x9f3a6c
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
push 0x9f3a24
push eax
call fcn.00a5ce21
mov esi, eax
add esp, 0x10
test esi, esi
js 0xad1a55
push ebx
lea ecx, [ebp - 0x10]
call fcn.00a483e3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xad1a40
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x9fc098
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0xad1a4d
jle 0xad1a55
movzx esi, si
or esi, 0x80070000
jmp 0xad1a55
mov eax, dword [edi + 4]
mov esi, ebx
mov byte [eax], 1
lea ecx, [ebp - 0x24]
call fcn.00a4539d
lea ecx, [ebp - 0x10]
call fcn.00a4833a
mov eax, esi
call fcn.00af8dc0
ret
Function at 0xad80bf
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, 0xc96570
push edi
call fcn.00ad84e6
mov bh, byte [ebp + 8]
test al, al
je 0xad8144
mov al, byte [esi + 0x8f]
test bh, bh
je 0xad80f9
test al, al
je 0xad8128
mov ecx, esi
call fcn.00ad6472
test al, al
je 0xad8108
jmp 0xad8128
test al, al
jne 0xad8128
mov ecx, esi
call fcn.00ad6472
test al, al
je 0xad8128
mov bl, bh
xor bl, 1
mov cl, bl
call fcn.00ae64d4
test eax, eax
jns 0xad8128
mov cl, bl
call fcn.00ae64d4
test eax, eax
setne byte [0xc958a1]
cmp byte [0xc958a1], 0
je 0xad8144
mov cl, bh
xor cl, 1
call fcn.00ae64d4
test eax, eax
setne byte [0xc958a1]
mov ecx, 0xc96290
call fcn.00ad838d
mov bl, byte [ebp + 0xc]
test al, al
je 0xad81c2
test bl, bl
je 0xad8160
and dword [esi + 0x88], 0xfffffffc
mov ecx, esi
call fcn.00ad6472
cmp byte [esi + 0x8f], al
je 0xad817c
mov ecx, esi
call fcn.00ad6472
mov byte [esi + 0x8f], al
mov ecx, esi
call fcn.00ad6472
test al, al
jne 0xad81f3
xor edi, edi
push edi
push dword [esi + 0x34]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
cmp dword [esi + 0x84], 3
jne 0xad8289
call fcn.00adb3ba
test al, al
je 0xad8289
push edi
mov ecx, esi
call fcn.00ad2ab1
push eax
mov ecx, esi
call fcn.00ad8025
jmp 0xad8289
call fcn.00adb3ba
cmp byte [esi + 0x8f], al
je 0xad81da
call fcn.00adb3ba
mov byte [esi + 0x8f], al
call fcn.00adb3ba
test al, al
jne 0xad81f3
push 0
push dword [esi + 0x34]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
jmp 0xad8289
push ecx
push ecx
xor edi, edi
mov ecx, 0xc95fc8
push edi
call fcn.00ac6aac
test bh, bh
je 0xad8209
push edi
jmp 0xad820b
push 5
push dword [esi + 0x34]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
mov ecx, 0xc95fb8
call fcn.00ac7552
test al, al
je 0xad822f
call fcn.00adb3ba
test al, al
jne 0xad822f
test bl, bl
je 0xad823f
push edi
mov ecx, esi
call fcn.00ad2ab1
push eax
mov ecx, esi
call fcn.00ad8025
cmp byte [esi + 0x8c], 0
je 0xad8289
call fcn.00ae6785
mov ecx, dword [esi + 0x78]
cmp byte [ecx + 0x7e], al
je 0xad8289
mov byte [ecx + 0x7e], al
mov ecx, 0xc96250
call fcn.00ad8352
mov ecx, esi
test al, al
je 0xad827c
push 1
call fcn.00ad94ef
movzx eax, al
mov ecx, esi
push eax
call fcn.00ad7f3c
jmp 0xad8289
mov eax, dword [esi + 0x78]
movzx eax, byte [eax + 0x7e]
push eax
call fcn.00ad6077
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push esi
push edi
push ecx
push dword [eax]
xor esi, esi
mov edi, 0x811c9dc5
mov dword [ebp - 4], esi
call fcn.00ab5401
mov edx, eax
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
test ecx, ecx
je 0xadad8b
movzx eax, byte [esi + edx]
xor eax, edi
imul edi, eax, 0x1000193
inc esi
cmp esi, ecx
jb 0xadad7a
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0xadbea7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x138]
mov dword [ebp - 0x128], 1
push eax
lea eax, [ebp - 0xd4]
mov edi, 0x9f95c8
push eax
lea eax, [ebp - 0x128]
mov ebx, reloc.SHCORE.dll_Ordinal_1
push eax
push 2
push 0x9fc8c8
push edi
mov esi, 0xc8
push ebx
mov dword [ebp - 0x138], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jle 0xadbf10
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0xadbf3c
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x128]
push eax
push 2
push 0x9fc8dc
push edi
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
call fcn.00ad63cf
mov esi, dword [eax + 4]
cmp dword [esi], 5
jbe 0xadbfc3
push 0x4000
xor edi, edi
mov ecx, esi
push edi
call fcn.00a5996e
test al, al
je 0xadbfc3
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x134], 0x1000000
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x130], edi
call fcn.00a48f02
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.00a48f02
lea eax, [ebp - 0x134]
mov dword [ebp - 0x100], edi
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x124]
push eax
push 5
push edi
push edi
push 0xa0d87d
push esi
mov dword [ebp - 0xfc], 8
mov dword [ebp - 0xf8], edi
call fcn.00a552bc
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 4

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

Disassembly:
push 0xc
mov eax, 0xb03a93
call fcn.00af8df7
mov edi, ecx
xor ebx, ebx
cmp dword [edi], ebx
je 0xae2c9d
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0xae2c9d
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x10]
push eax
push 1
push SysReAllocString
push ebx
push dword [ebp + 0xc]
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00b60956
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 1
test eax, eax
je 0xae2c7d
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0xc99200]
call esi
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00ae261c
cmp dword [ebp - 0x10], 0
je 0xae2c98
lea ecx, [ebp - 0x10]
call fcn.00ad8c2c
mov eax, dword [ebp + 8]
jmp 0xae2ca2
mov eax, dword [ebp + 8]
mov dword [eax], ebx
call fcn.00af8dc0
ret 8
Function at 0xaebb99
Capabilities:
Shutdown system

Disassembly:
cmp byte [ecx + 8], 0
je 0xaebba8
mov byte [ecx + 8], 0
jmp fcn.00aec60d
ret

Function at 0xaebec7
Capabilities:
Delete registry value

Disassembly:
push 0xd8
mov eax, 0xb063c0
call fcn.00af8e2b
mov ebx, dword [ecx]
push ecx
push 0x9f2b88
lea ecx, [ebp - 0xd0]
call fcn.00a7d3fc
mov dword [ebp - 0xd0], 0x9d403c
and dword [ebp - 4], 0
lea eax, [ebx + 0x104]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00a9859a
lea ecx, [ebp - 0xd0]
call fcn.00a7d7c2
call fcn.00a93f45
test dword [ebx + 0x68], 0x4000
mov esi, eax
je 0xaebf2d
lea ecx, [esi - 0xd]
neg ecx
sbb ecx, ecx
and esi, ecx
lea eax, [ebp - 0xe4]
mov edi, 0x9f2b54
push eax
push edi
mov edx, 0x9f2ad8
mov ecx, reloc.SHCORE.dll_Ordinal_1
call fcn.00a7d8ab
test eax, eax
jns 0xaebf83
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0xe4]
mov edx, 0x9f2ad8
push eax
push edi
call fcn.00bff932
mov ecx, dword [ebp + 4]
test eax, eax
jns 0xaebf83
push eax
push 0x9f6984
mov edx, 0x7f8
call fcn.00ab606d
push 0xc
pop edi
cmp esi, 0xd
jae 0xaebfcf
mov eax, esi
push 0x4c
pop edi
sub eax, 4
je 0xaebfb4
sub eax, 1
je 0xaebfa6
sub eax, 1
jne 0xaebff9
mov edi, 0x44c
jmp 0xaebfab
mov edi, 0x24c
push 1
push 0x9f2a28
jmp 0xaebfbe
push 0x6c
pop edi
push 1
push 0x9f2a80
mov edx, 0x9f05b0
mov ecx, reloc.SHCORE.dll_Ordinal_1
call fcn.00b60688
jmp 0xaebff9
push 0x9f2a80
push 0x9f05b0
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
push 0x9f2a28
push 0x9f05b0
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
test byte [ebx + 0x68], 2
je 0xaec009
cmp esi, 0xb
ja 0xaec009
call fcn.00c4da96
and dword [ebp - 0xd4], 0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 1
push eax
call fcn.00a7d17e
push eax
push 0x9f43c8
push 3
push 0
push 0x9f02cc
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0xaec047
mov ebx, 0x9f6984
mov edx, 0x826
jmp 0xaec06e
mov eax, dword [ebp - 0xd4]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, eax
mov ebx, 0x9f6984
test esi, esi
jns 0xaec078
mov edx, 0x829
mov ecx, dword [ebp + 4]
push esi
push ebx
call fcn.00ab606d
push esi
lea ecx, [ebp - 0xd0]
call fcn.00a968d4
lea ecx, [ebp - 0xd4]
call fcn.00a39d42
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x9d403c
call fcn.00a7d880
lea ecx, [ebp - 0xd0]
call fcn.00a7d45f
test esi, esi
jns 0xaec0c2
mov ecx, dword [ebp + 4]
mov edx, 0x842
push esi
push ebx
call fcn.00ab606d
push 0x9f291c
push 0
push 2
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0xd8], esi
call fcn.00a4ae3f
test esi, esi
jne 0xaec0f5
mov ecx, dword [ebp + 4]
mov edx, 0x844
push eax
push ebx
call fcn.00ab606d
test esi, esi
je 0xaec101
push dword [ebp - 0xd8]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x9d3fb4
call fcn.00a95ad5
call fcn.00af8dd5
ret
Function at 0xaec457
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xcc]
push eax
mov edx, dword [eax]
mov esi, dword [edx + 0x10]
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, 0x9f6984
test eax, eax
jns 0xaec494
mov ecx, dword [ebp + 4]
mov edx, 0xd79
push eax
push esi
call fcn.00ab606d
mov eax, dword [edi]
cmp byte [eax + 0x79], 0
je 0xaec4e3
call fcn.00c1c884
dec eax
neg eax
push 0
sbb eax, eax
and eax, 0xd
add eax, 3
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push dword [0x9f80ec]
push dword [0x9f80e8]
call dword [sym.imp.ntdll.dll_RtlPublishWnfStateData]
or eax, 0x10000000
jge 0xaec53e
mov ecx, dword [ebp + 4]
mov edx, 0xd84
push eax
push esi
call fcn.00ab606d
jmp 0xaec53e
cmp byte [eax + 0x7a], 0
je 0xaec53e
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0xaec50b
call fcn.00c7d640
test eax, eax
jns 0xaec50b
mov ecx, dword [ebp + 4]
mov edx, 0xd8e
push eax
push esi
call fcn.00ab606d
call fcn.00a9ce72
mov dword [ebp - 8], eax
call fcn.00c1c4e9
mov dword [ebp - 0xc], eax
call fcn.00c1c884
mov dword [ebp - 0x10], eax
call fcn.00c1c523
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00c16004
push 0x9fe3fc
push 0x9fe368
mov edi, reloc.SHCORE.dll_Ordinal_1
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
test eax, eax
je 0xaec567
mov ecx, dword [ebp + 4]
mov edx, 0xd93
push eax
push esi
call fcn.00b5b6e5
push 0x9fe7d4
push 0x9f3d98
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
test eax, eax
je 0xaec58b
mov ecx, dword [ebp + 4]
mov edx, 0xd94
push eax
push esi
call fcn.00b5b6e5
push 0x9fe438
mov ebx, 0x9f8bd0
push ebx
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
test eax, eax
je 0xaec5b0
mov ecx, dword [ebp + 4]
mov edx, 0xd95
push eax
push esi
call fcn.00b5b6e5
push 0x9fe424
push ebx
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
test eax, eax
je 0xaec5d0
mov ecx, dword [ebp + 4]
mov edx, 0xd96
push eax
push esi
call fcn.00b5b6e5
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb5d8ea
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x214], eax
mov dword [eax], esi
lea eax, [ecx - 1]
cmp eax, 1
jbe 0xb5d937
mov ecx, dword [ebp + 4]
mov esi, 0x80070057
push esi
push 0x9f86f4
mov edx, 0x4c9
call fcn.00aa4c55
mov eax, esi
jmp 0xb5dad5
push edi
push ecx
push 0xa14e70
lea eax, [ebp - 0x204]
push pe_nt_image_headers32
push eax
call fcn.00a60c0c
mov edi, eax
add esp, 0x10
test edi, edi
jns 0xb5d972
mov ecx, dword [ebp + 4]
mov edx, 0x4cd
push edi
push 0x9f86f4
call fcn.00aa4c55
mov eax, edi
jmp 0xb5dad4
push ebx
push 0xc96c04
mov edi, 0x124
push edi
call fcn.00ab4242
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0xb5d998
push edi
push esi
push ebx
call fcn.00ab4bf6
add esp, 0xc
jmp 0xb5d99a
mov ebx, esi
test ebx, ebx
jne 0xb5d9bb
mov ecx, dword [ebp + 4]
mov esi, 0x8007000e
push esi
push 0x9f86f4
mov edx, 0x4d1
call fcn.00aa4c55
jmp 0xb5dad1
lea eax, [ebp - 0x20c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x204]
push eax
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0xb5da9c
lea eax, [ebp - 0x208]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x208], 4
push eax
push esi
push 0x10
push 0xa14ec8
push esi
push dword [ebp - 0x20c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
test edi, edi
jne 0xb5da8c
cmp dword [ebp - 0x210], esi
mov dword [ebp - 0x208], 0x20
setne al
mov byte [ebx], al
lea eax, [ebp - 0x208]
push eax
lea eax, [ebx + 2]
push eax
push esi
push 2
push 0xa14ed8
push esi
push dword [ebp - 0x20c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
test edi, edi
je 0xb5da60
cmp edi, 0xea
jne 0xb5da8c
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], 0x102
push eax
lea eax, [ebx + 0x22]
push eax
push esi
push 2
push 0xa14ef0
push esi
push dword [ebp - 0x20c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
push dword [ebp - 0x20c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0xb5dac9
cmp edi, 0xea
je 0xb5dac9
push 0x124
push ebx
call fcn.00ab420c
pop ecx
pop ecx
cmp edi, 2
je 0xb5dad1
test edi, edi
jg 0xb5dabe
mov esi, edi
jmp 0xb5dad1
movzx esi, di
or esi, 0x80070000
jmp 0xb5dad1
mov eax, dword [ebp - 0x214]
mov dword [eax], ebx
mov eax, esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00ab3c50
leave
ret 8
Function at 0xb5db8c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 2
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0x20001009
mov edi, 0x400
push edi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
jle 0xb5dbdb
xor esi, esi
push esi
push pe_nt_image_headers32
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call fcn.00b5dae4
push eax
push dword [ebp - 4]
push edi
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetCalendarInfoW]
test eax, eax
jg 0xb5dbf9
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0xb5dbf2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0xb5dbf9
mov esi, 0x80004005
pop edi
mov eax, esi
pop esi
leave
ret 0x1c

Function at 0xb5e708
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], 2
lea edi, [ebp - 0x14]
mov esi, 0xa14f20
mov dword [ebp - 0x24], 4
xor ebx, ebx
mov dword [ebp - 0x20], 0x14
push ebx
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push 0x9f1514
mov dword [ebp - 0x1c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_FindWindowW]
test eax, eax
je 0xb5e768
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0x4a
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
and al, 1
mov bl, al
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret
Function at 0xb6073b
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ebx
push edi
mov edi, ecx
test edx, edx
je 0xb6076d
cmp word [edx], bx
je 0xb6076d
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push edx
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp - 4]
jmp 0xb60772
mov eax, edi
mov dword [ebp - 4], eax
test esi, esi
jne 0xb6079a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
cmp dword [ebp - 4], edi
je 0xb6079a
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0xb66be2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
xor edx, edx
mov dword [ebp - 8], 4
lea eax, [ebp - 4]
mov dword [ebp - 4], edx
push eax
push edx
push 0x10
push ecx
push 0x9f0528
push reloc.SHCORE.dll_Ordinal_1
mov dword [edi], edx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0xb66c31
push dword [ebp - 4]
call fcn.00a7e478
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
cmp esi, 0x490
je 0xb66c29
cmp esi, 2
je 0xb66c29
test esi, esi
jle 0xb66c4d
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0xb66c60
mov ecx, dword [ebp + 4]
push esi
push 0xa1638c
push 0x7d
pop edx
call fcn.00aa4c55
mov eax, esi
jmp 0xb66c2b

Function at 0xb67ee0
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
push 0xb76c30
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_EnumWindows]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0xb68e5b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
mov edi, edx
mov dword [ebp - 4], esi
push 0x9f1058
push reloc.SHCORE.dll_Ordinal_1
mov dword [edi], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0xb68e95
push eax
push 0xa16578
push 0x44
jmp 0xb68ebd
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push edi
push esi
push esi
push 0x9f10bc
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0xb68ec8
push eax
push 0xa16578
push 0x4e
mov ecx, dword [ebp + 4]
pop edx
call fcn.00b667e8
mov esi, eax
cmp dword [ebp - 4], 0
je 0xb68ed7
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0xb69c23
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0
push 0x10
push 0x9f10bc
push 0x9f1058
push reloc.SHCORE.dll_Ordinal_1
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
cmp eax, 2
jne 0xb69c5f
xor al, al
leave
ret
test eax, eax
je 0xb69c76
mov ecx, dword [ebp + 4]
push eax
push 0xa14744
push 0x50
pop edx
call fcn.00b5b6e5
jmp 0xb69c5b
cmp dword [ebp - 4], 1
sete al
leave
ret