joyce8/EMBER2024-capa huggingface dataset:
Function at 0x107e663
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
and dword [ebp - 0xc], esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x107e6da
lea eax, [ebp - 8]
push eax
push 0
push 0x5000
push dword [ebp - 4]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jl 0x107e6cf
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call sub.SHLWAPI.dll_PathCommonPrefixW
mov ebx, eax
test ebx, ebx
je 0x107e6c7
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jne 0x107e6c7
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [eax], ebx
inc esi
push dword [ebp - 8]
call sub.ole32.dll_CoTaskMemFree
inc dword [ebp - 0xc]
add dword [ebp - 4], 0x10
test esi, esi
je 0x107e676
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x107e7b2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
push edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x107e7d2
sub eax, edx
sar eax, 1
cmp eax, 0x27
jbe 0x107e82d
lea eax, [ebp - 0x14]
push eax
push esi
call sub.SHLWAPI.dll_GUIDFromStringW
test eax, eax
je 0x107e82d
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x5000
lea eax, [ebp - 0x14]
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jl 0x107e82d
lea eax, [esi + 0x4e]
push eax
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push ebx
call fcn.010789e6
push dword [ebp - 0x18]
mov edi, eax
call sub.ole32.dll_CoTaskMemFree
test edi, edi
jge 0x107e839
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0100665f
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc

Function at 0x107e851
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
or ecx, 0xffffffff
sub ecx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
je 0x107e883
mov eax, dword [ebp + 8]
push esi
movzx edx, byte [eax]
dec dword [ebp + 0xc]
movzx esi, cl
xor edx, esi
shr ecx, 8
xor ecx, dword [edx*4 + 0x107e890]
inc eax
cmp dword [ebp + 0xc], 0
jne 0x107e866
pop esi
or eax, 0xffffffff
sub eax, ecx
pop ebp
ret 0xc
Function at 0x107f4b2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 0x107f508
push esi
call dword [eax + 0x2c]
xor edi, edi
lea eax, [ebp + 8]
push eax
push dword [edi + 0x107f50c]
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jl 0x107f4f5
cmp dword [ebp + 8], 0
je 0x107f4f5
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
push dword [ebp + 8]
call sub.SHELL32.dll_ILFree
add edi, 4
cmp edi, 0xc
jb 0x107f4c9
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x10807f1
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, 0x488
push ebx
mov dword [ebp - 0x494], eax
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 8]
mov dword [ebp - 0x45c], eax
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x460], 0x20000
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x420], 0x78
mov dword [ebp - 0x41c], 0x280
mov dword [ebp - 0x490], 0x80004005
cmp dword [ebp - 0x494], edi
jne 0x108087d
mov eax, dword [esi]
mov dword [ebp - 0x494], eax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
test eax, eax
je 0x10809f7
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
push dword [ebp - 0x494]
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0108059d
cmp eax, edi
mov dword [ebp - 0x490], eax
jl 0x10809f7
push 0x1080a10
push ebx
lea eax, [ebp - 0x414]
push eax
call fcn.010806d8
cmp eax, edi
mov dword [ebp - 0x490], eax
jl 0x10809f7
mov ebx, dword [sym.imp.ADVAPI32.dll_StartTraceW]
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x494]
lea eax, [ebp - 0x49c]
push eax
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x498], edi
call ebx
push eax
call fcn.010502a3
mov dword [ebp - 0x490], eax
cmp eax, 0x80070057
jne 0x1080960
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1080955
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x494]
lea eax, [ebp - 0x49c]
push eax
call ebx
push eax
call fcn.010502a3
jmp 0x108095a
call fcn.0101ae40
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], edi
jl 0x10809f7
mov dword [ebp - 0x494], edi
cmp dword [esi + 0x14], edi
jbe 0x10809c8
xor ebx, ebx
cmp dword [ebp - 0x490], edi
jl 0x10809d0
mov eax, dword [esi + 0x10]
push edi
push edi
push edi
push edi
add eax, ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 4
push 1
push dword [ebp - 0x498]
push dword [ebp - 0x49c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_EnableTraceEx]
push eax
call fcn.010502a3
inc dword [ebp - 0x494]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x494]
add ebx, 0x18
cmp eax, dword [esi + 0x14]
jb 0x1080979
cmp dword [ebp - 0x490], edi
jge 0x10809f7
lea eax, [ebp - 0x48c]
push eax
push edi
push dword [ebp - 0x498]
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_StopTraceW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x490]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 8
Function at 0x1089d6f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push 0x10
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
test eax, eax
setne cl
or ecx, 2
push ecx
push dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ebp - 0x28]
add ecx, 3
or ecx, 0x500
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01089cf6
xor eax, eax
inc eax
pop esi
leave
ret 8
Function at 0x108a204
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, ecx
cmp dword [edi + 0xb4], 0
jne 0x108a370
push 0
push 0x108a378
push 0x10153f0
push 0x2000000
push 0x80000001
call fcn.01015454
test eax, eax
jne 0x108a370
push 0xd3
push dword [0x10b10b4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_177]
mov dword [ebp - 4], eax
test eax, eax
je 0x108a370
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
test ax, ax
jge 0x108a2b7
push 0x11
call esi
test ax, ax
jge 0x108a2b7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
push 0x104eb4c
push 0x104ee80
push 0x80000001
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x108a2b7
cmp dword [ebp - 0xc], eax
je 0x108a2b7
push eax
push 0x7ff4
push dword [ebp - 4]
call ebx
push 0x10
call esi
test ax, ax
jge 0x108a2c9
push 0x11
call esi
test ax, ax
jl 0x108a2d8
xor esi, esi
push esi
push 0x7ff4
push dword [ebp - 4]
call ebx
jmp 0x108a2da
xor esi, esi
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x108a2fa
push 1
lea eax, [ebp - 0x14]
push eax
push esi
push dword [edi + 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x108a307
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
push edi
call dword [eax + 4]
push esi
push dword [edi + 0x38]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x102
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
cmp eax, 0x7ff3
jne 0x108a33d
push esi
mov ecx, edi
call fcn.010345fd
push 2
call fcn.0104f291
jmp 0x108a35f
cmp eax, 0x7ff4
jne 0x108a35f
push esi
mov ecx, edi
call fcn.010345fd
push esi
push esi
push 0x5b4
push dword [0x10b10f0]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x108b132
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0xf0000000
push 1
xor edi, edi
push edi
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov esi, eax
cmp esi, edi
je 0x108b1c9
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, eax
cmp esi, edi
je 0x108b1bf
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x108b176
sub eax, edx
sar eax, 1
push edi
add eax, eax
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, eax
cmp esi, edi
je 0x108b1b6
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x10
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x108f462
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp word [eax + 0xc], 0x71
push edi
mov edi, ecx
jne 0x108f4b3
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x108f4b2
push 0x11
call esi
test ax, ax
jl 0x108f4b2
push 0x12
call esi
test ax, ax
jl 0x108f4b2
test byte [edi + 0xc8], 8
je 0x108f4b2
mov ecx, edi
call fcn.0103e1b8
test eax, eax
jl 0x108f4b2
push eax
mov ecx, edi
call fcn.0108f117
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x1096216
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x1096243
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10962d7
push edi
push 0x14
push 0x10962e0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x1096260
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10962b9
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x109627f
call esi
mov ebx, eax
cmp ebx, 0x420
jne 0x10962c4
mov ebx, 0x5b4
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10962b7
cmp dword [ebp - 0x20], 4
je 0x10962bd
cmp dword [ebp - 0x20], 1
je 0x10962c1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
ja 0x10962c4
jmp 0x1096284
call esi
mov ebx, eax
jmp 0x10962c4
xor ebx, ebx
jmp 0x10962c4
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x10962d1
push edi
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x109fd7d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.0109fafe
mov ecx, esi
call fcn.0109e7a2
push 0xffffffffffffffec
push dword [esi + 4]
lea edi, [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x16
xor ebx, ebx
inc ebx
and eax, ebx
push eax
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
push eax
push dword [ebp + 8]
call fcn.0109a982
cmp eax, 0x24
jg 0x109fef6
je 0x109feba
cmp eax, 0xd
je 0x109fe72
cmp eax, 0x1b
je 0x109fe39
cmp eax, 0x20
je 0x109fe72
cmp eax, 0x23
jne 0x109ff80
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [esi + 0x90]
xor edi, edi
cmp eax, edi
je 0x109fe01
mov eax, dword [eax]
jmp 0x109fe03
xor eax, eax
cmp eax, edi
jle 0x109ff80
mov eax, dword [esi + 0x90]
cmp eax, edi
je 0x109fe19
mov eax, dword [eax]
jmp 0x109fe1b
xor eax, eax
mov ecx, dword [esi + 0x90]
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + eax*4 - 4]
mov eax, dword [edi]
push edi
call dword [eax + 0x98]
push ebx
push eax
push edi
jmp 0x109feea
xor edi, edi
cmp dword [esi + 0x150], edi
jne 0x109fe4b
cmp dword [esi + 0x9c], edi
jne 0x109fe57
push edi
push edi
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.01044438
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x6c]
add esi, 0xbc
push esi
call fcn.01002bee
jmp 0x109ff80
xor edi, edi
cmp dword [esi + 0xa8], edi
je 0x109ff80
cmp eax, 0xd
jne 0x109fe96
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x109fe96
mov eax, ebx
jmp 0x109fe98
xor eax, eax
neg eax
push edi
sbb eax, eax
push ebx
and eax, 3
push eax
push dword [esi + 0xb0]
mov ecx, esi
push dword [esi + 0xa8]
call fcn.01045930
jmp 0x109ff80
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [esi + 0x90]
xor edi, edi
cmp eax, edi
je 0x109fed3
mov eax, dword [eax]
jmp 0x109fed5
xor eax, eax
cmp eax, edi
jle 0x109ff80
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 4]
push ebx
push edi
push dword [eax]
mov ecx, esi
call fcn.0109e361
jmp 0x109ff80
mov ecx, eax
sub ecx, 0x25
push 0
pop edi
je 0x109ff64
dec ecx
je 0x109ff09
dec ecx
je 0x109ff64
dec ecx
jne 0x109ff80
cmp dword [esi + 0xa8], edi
je 0x109ff64
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, 3
jne 0x109ff2a
push edi
push ebx
push edi
jmp 0x109fea2
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x109ff80
push ebx
push 2
push dword [esi + 0xb0]
mov ecx, esi
push dword [esi + 0xa8]
call fcn.0109d5a1
test eax, eax
jl 0x109ff80
push ebx
push dword [esi + 0xe4]
mov ecx, esi
call fcn.0109b6c1
jmp 0x109ff80
mov ecx, ebx
cmp eax, 0x25
je 0x109ff70
cmp eax, 0x26
jne 0x109ff72
xor ecx, ecx
push edi
lea eax, [esi + 0x14]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x84]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10a45ed
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x10b39c0], 0
jne 0x10a4610
push 0
push dword [0x10b10b4]
push 0x10a2f5c
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10b39c0], eax
ret

Function at 0x10a4616
Capabilities:
Log keystrokes via application hook
Log keystrokes via polling

Disassembly:
cmp dword [0x10b39c4], 0
push edi
mov edi, ecx
jne 0x10a4664
push esi
push 0
push dword [0x10b10b4]
push 0x10a2fdf
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x5b
mov dword [0x10b39c4], eax
call esi
test ax, ax
jl 0x10a4663
push 0x5c
call esi
test ax, ax
jl 0x10a4663
call fcn.010a2590
pop esi
mov ecx, edi
pop edi
jmp fcn.01020a6f
pop esi
pop edi
ret

Function at 0x10a72ed
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffec
push dword [esi + 0x30]
xor edi, edi
inc edi
mov ebx, edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x1a0]
shr eax, 0x16
and eax, edi
neg ecx
sbb ecx, ecx
and ecx, 2
or eax, ecx
push eax
push dword [esi + 0x164]
push dword [ebp + 8]
call fcn.0109a982
cmp eax, 0x24
jg 0x10a73c4
je 0x10a73c0
cmp eax, 9
je 0x10a73a0
cmp eax, 0xd
je 0x10a7373
cmp eax, 0xf
jle 0x10a7418
cmp eax, 0x12
jle 0x10a7414
cmp eax, 0x1b
je 0x10a73ec
cmp eax, 0x20
je 0x10a7373
cmp eax, 0x23
jne 0x10a7418
push 3
jmp 0x10a73fb
mov eax, dword [esi + 0x118]
push 3
cdq
pop ecx
idiv ecx
cmp edx, edi
lea edi, [esi + 0x10]
mov esi, dword [edi]
push edi
jne 0x10a7396
call dword [esi + 0x2c]
push eax
push edi
call dword [esi + 0x48]
jmp 0x10a741f
call dword [esi + 0x2c]
push eax
push edi
call dword [esi + 0x40]
jmp 0x10a741f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov ecx, esi
je 0x10a73b7
push edi
jmp 0x10a73b9
push 0
call fcn.010a64f7
jmp 0x10a741f
push 2
jmp 0x10a73fb
cmp eax, 0x5d
jg 0x10a73ff
je 0x10a7414
cmp eax, 0x25
jl 0x10a7418
cmp eax, 0x26
jle 0x10a73fa
cmp eax, 0x27
je 0x10a73f6
cmp eax, 0x28
jne 0x10a7418
push 4
mov ecx, esi
call fcn.010a64f7
test eax, eax
jge 0x10a741f
push edi
mov ecx, esi
call fcn.010209d9
jmp 0x10a741f
push 0
jmp 0x10a73fb
push edi
mov ecx, esi
jmp 0x10a73b9
cmp eax, 0xa0
jl 0x10a7418
cmp eax, 0xa5
jle 0x10a7414
cmp eax, 0xff
jne 0x10a7418
xor ebx, ebx
jmp 0x10a741f
mov ecx, esi
call fcn.010516dd
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x10a9655
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push esi
mov ebx, 0x80004005
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10a9735
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10a9735
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10a9735
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
and edi, 0xf
jbe 0x10a96e9
dec edi
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
jne 0x10a96df
movzx edi, word [esi]
mov eax, 0x80
cmp edi, eax
jae 0x10a9735
add esi, 2
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jge 0x10a9714
cmp ebx, 0x8007007a
jne 0x10a9735
xor eax, eax
mov word [ebp + edi*2 - 0x104], ax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x108]
call fcn.0100665f
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0x14

Function at 0x10a974d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
mov dword [ebp - 0x48], 0x80004005
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push edi
push esi
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
pop esi
test eax, eax
jne 0x10a97ce
mov eax, dword [ebp + 0x18]
cmp eax, 0x20
jb 0x10a97b5
push 0x20
pop eax
xor ecx, ecx
mov word [ebp + eax*2 - 0x46], cx
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x50]
call fcn.0100665f
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
call fcn.01001feb
leave
ret 0x14
Function at 0x10a9805
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x334], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x348], eax
xor eax, eax
xor edi, edi
push 0xfe
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x126]
push edi
push eax
mov esi, 0x80004005
mov dword [ebp - 0x338], edi
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x344], 0x100
mov word [ebx], ax
cmp dword [0x10b3fc0], edi
jne 0x10a9998
push 0x104
lea eax, [ebp - 0x330]
push eax
mov dword [0x10b3fc0], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10a9988
push 0x10a99f4
push 0x104
lea eax, [ebp - 0x330]
push eax
call fcn.0107bea8
test eax, eax
jl 0x10a9988
push dword [ebp + 0xc]
lea eax, [ebp - 0x330]
push 8
push eax
call fcn.010aa3cf
mov dword [ebp - 0x340], eax
cmp eax, edi
je 0x10a9988
and dword [0x10b3fc0], 0
push 8
pop ecx
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
rep stosd dword es:[edi], eax
push 0x12
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x334]
mov dword [ebp - 0x338], 1
push dword [ebp - 0x33c]
call fcn.010a97e4
mov esi, eax
test esi, esi
jl 0x10a997b
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.010a9599
mov esi, eax
test esi, esi
jl 0x10a997b
push 0x80
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x334]
push dword [ebp + 0xc]
push dword [ebp - 0x340]
call fcn.010a9655
mov esi, eax
test esi, esi
jl 0x10a997b
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push ebx
call fcn.0100665f
mov esi, eax
xor eax, eax
test esi, esi
setl al
mov dword [ebp - 0x338], eax
push dword [ebp - 0x340]
call fcn.010aa25e
xor edi, edi
cmp dword [0x10b3fc0], edi
jne 0x10a9998
cmp dword [ebp - 0x338], edi
je 0x10a99de
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push edi
push dword [ebp - 0x348]
mov esi, 0x80004005
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10a99de
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push ebx
call fcn.0100665f
mov esi, eax
cmp esi, edi
jl 0x10a99de
mov esi, 0x40203
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0x18