joyce8/EMBER2024-capa huggingface dataset:
Function at 0x108ba7e
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 0x108bb15
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 0x108bb0b
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x108bac2
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 0x108bb02
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 0x108fd3a
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 0x108fd8b
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x108fd8a
push 0x11
call esi
test ax, ax
jl 0x108fd8a
push 0x12
call esi
test ax, ax
jl 0x108fd8a
test byte [edi + 0xc8], 8
je 0x108fd8a
mov ecx, edi
call fcn.0103e338
test eax, eax
jl 0x108fd8a
push eax
mov ecx, edi
call fcn.0108f9ef
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x1096c12
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 0x1096c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1096cd3
push edi
push 0x14
push 0x1096cdc
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x1096c5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1096cb5
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 0x1096c7b
call esi
mov ebx, eax
cmp ebx, 0x420
jne 0x1096cc0
mov ebx, 0x5b4
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1096cb3
cmp dword [ebp - 0x20], 4
je 0x1096cb9
cmp dword [ebp - 0x20], 1
je 0x1096cbd
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
ja 0x1096cc0
jmp 0x1096c80
call esi
mov ebx, eax
jmp 0x1096cc0
xor ebx, ebx
jmp 0x1096cc0
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x1096ccd
push edi
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x10a078d
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.010a050e
mov ecx, esi
call fcn.0109f1b2
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.0109b392
cmp eax, 0x24
jg 0x10a0906
je 0x10a08ca
cmp eax, 0xd
je 0x10a0882
cmp eax, 0x1b
je 0x10a0849
cmp eax, 0x20
je 0x10a0882
cmp eax, 0x23
jne 0x10a0990
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 0x10a0811
mov eax, dword [eax]
jmp 0x10a0813
xor eax, eax
cmp eax, edi
jle 0x10a0990
mov eax, dword [esi + 0x90]
cmp eax, edi
je 0x10a0829
mov eax, dword [eax]
jmp 0x10a082b
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 0x10a08fa
xor edi, edi
cmp dword [esi + 0x150], edi
jne 0x10a085b
cmp dword [esi + 0x9c], edi
jne 0x10a0867
push edi
push edi
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.0104ee90
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 0x10a0990
xor edi, edi
cmp dword [esi + 0xa8], edi
je 0x10a0990
cmp eax, 0xd
jne 0x10a08a6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10a08a6
mov eax, ebx
jmp 0x10a08a8
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.01050388
jmp 0x10a0990
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 0x10a08e3
mov eax, dword [eax]
jmp 0x10a08e5
xor eax, eax
cmp eax, edi
jle 0x10a0990
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 4]
push ebx
push edi
push dword [eax]
mov ecx, esi
call fcn.0109ed71
jmp 0x10a0990
mov ecx, eax
sub ecx, 0x25
push 0
pop edi
je 0x10a0974
dec ecx
je 0x10a0919
dec ecx
je 0x10a0974
dec ecx
jne 0x10a0990
cmp dword [esi + 0xa8], edi
je 0x10a0974
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, 3
jne 0x10a093a
push edi
push ebx
push edi
jmp 0x10a08b2
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x10a0990
push ebx
push 2
push dword [esi + 0xb0]
mov ecx, esi
push dword [esi + 0xa8]
call fcn.0109dfb1
test eax, eax
jl 0x10a0990
push ebx
push dword [esi + 0xe4]
mov ecx, esi
call fcn.0109c0d1
jmp 0x10a0990
mov ecx, ebx
cmp eax, 0x25
je 0x10a0980
cmp eax, 0x26
jne 0x10a0982
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 0x10a4ff3
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x10b3a98], 0
jne 0x10a5016
push 0
push dword [0x10b10b4]
push 0x10a3958
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10b3a98], eax
ret

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

Disassembly:
cmp dword [0x10b3a9c], 0
push edi
mov edi, ecx
jne 0x10a506a
push esi
push 0
push dword [0x10b10b4]
push 0x10a39db
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x5b
mov dword [0x10b3a9c], eax
call esi
test ax, ax
jl 0x10a5069
push 0x5c
call esi
test ax, ax
jl 0x10a5069
call fcn.010a2f8c
pop esi
mov ecx, edi
pop edi
jmp fcn.01020b33
pop esi
pop edi
ret

Function at 0x10a7ced
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.0109b392
cmp eax, 0x24
jg 0x10a7dc4
je 0x10a7dc0
cmp eax, 9
je 0x10a7da0
cmp eax, 0xd
je 0x10a7d73
cmp eax, 0xf
jle 0x10a7e18
cmp eax, 0x12
jle 0x10a7e14
cmp eax, 0x1b
je 0x10a7dec
cmp eax, 0x20
je 0x10a7d73
cmp eax, 0x23
jne 0x10a7e18
push 3
jmp 0x10a7dfb
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 0x10a7d96
call dword [esi + 0x2c]
push eax
push edi
call dword [esi + 0x48]
jmp 0x10a7e1f
call dword [esi + 0x2c]
push eax
push edi
call dword [esi + 0x40]
jmp 0x10a7e1f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov ecx, esi
je 0x10a7db7
push edi
jmp 0x10a7db9
push 0
call fcn.010a6efd
jmp 0x10a7e1f
push 2
jmp 0x10a7dfb
cmp eax, 0x5d
jg 0x10a7dff
je 0x10a7e14
cmp eax, 0x25
jl 0x10a7e18
cmp eax, 0x26
jle 0x10a7dfa
cmp eax, 0x27
je 0x10a7df6
cmp eax, 0x28
jne 0x10a7e18
push 4
mov ecx, esi
call fcn.010a6efd
test eax, eax
jge 0x10a7e1f
push edi
mov ecx, esi
call fcn.01020a9d
jmp 0x10a7e1f
push 0
jmp 0x10a7dfb
push edi
mov ecx, esi
jmp 0x10a7db9
cmp eax, 0xa0
jl 0x10a7e18
cmp eax, 0xa5
jle 0x10a7e14
cmp eax, 0xff
jne 0x10a7e18
xor ebx, ebx
jmp 0x10a7e1f
mov ecx, esi
call fcn.01053e15
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x10aa04d
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 0x10aa12d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10aa12d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10aa12d
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 0x10aa0e1
dec edi
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
jne 0x10aa0d7
movzx edi, word [esi]
mov eax, 0x80
cmp edi, eax
jae 0x10aa12d
add esi, 2
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jge 0x10aa10c
cmp ebx, 0x8007007a
jne 0x10aa12d
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.01001fef
leave
ret 0x14

Function at 0x10aa145
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 0x10aa1c6
mov eax, dword [ebp + 0x18]
cmp eax, 0x20
jb 0x10aa1ad
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.01001fef
leave
ret 0x14
Function at 0x10aa1fd
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 [0x10b4128], edi
jne 0x10aa390
push 0x104
lea eax, [ebp - 0x330]
push eax
mov dword [0x10b4128], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10aa380
push 0x10aa3ec
push 0x104
lea eax, [ebp - 0x330]
push eax
call fcn.0107c709
test eax, eax
jl 0x10aa380
push dword [ebp + 0xc]
lea eax, [ebp - 0x330]
push 8
push eax
call fcn.010aadc7
mov dword [ebp - 0x340], eax
cmp eax, edi
je 0x10aa380
and dword [0x10b4128], 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.010aa1dc
mov esi, eax
test esi, esi
jl 0x10aa373
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.010a9f93
mov esi, eax
test esi, esi
jl 0x10aa373
push 0x80
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x334]
push dword [ebp + 0xc]
push dword [ebp - 0x340]
call fcn.010aa04d
mov esi, eax
test esi, esi
jl 0x10aa373
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.010aac56
xor edi, edi
cmp dword [0x10b4128], edi
jne 0x10aa390
cmp dword [ebp - 0x338], edi
je 0x10aa3d6
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 0x10aa3d6
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push ebx
call fcn.0100665f
mov esi, eax
cmp esi, edi
jl 0x10aa3d6
mov esi, 0x40203
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 0x18
Function at 0x10aa6c9
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x10b412c], edi
jne 0x10aa7e5
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x10aa730
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x10b412c], edi
pop esi
je 0x10aa7b8
dec eax
jne 0x10aa7e5
cmp dword [ebp - 0x11c], 5
jne 0x10aa7a5
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x10aa799
dec eax
je 0x10aa786
dec eax
je 0x10aa76c
mov dword [0x10b412c], 0x14
jmp 0x10aa7e5
cmp word [ebp - 0xc], 1
jb 0x10aa77d
mov dword [0x10b412c], 0x10
or dword [0x10b412c], 4
jmp 0x10aa7e5
cmp word [ebp - 0xc], 2
jb 0x10aa77d
mov dword [0x10b412c], 8
jmp 0x10aa77d
mov dword [0x10b412c], 4
jmp 0x10aa7e5
cmp dword [ebp - 0x11c], 4
ja 0x10aa7f7
mov dword [0x10b412c], 2
cmp dword [ebp - 0x11c], 4
jne 0x10aa7e5
cmp dword [ebp - 0x118], edi
je 0x10aa7db
cmp dword [ebp - 0x118], 0xa
je 0x10aa7db
cmp dword [ebp - 0x118], 0x5a
jne 0x10aa7e5
mov dword [0x10b412c], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x10b412c]
xor ecx, ebp
pop edi
call fcn.01001fef
leave
ret
mov dword [0x10b412c], 0x20
jmp 0x10aa7e5

Function at 0x10aa808
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10aa85c
push 3
lea eax, [ebp - 0x44]
push 0x10aa86c
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret
Function at 0x10aa877
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x10b4130]
jne 0x10aa912
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x10aaa08
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10aa911
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x10aaac0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10aa911
push 3
push dword [esi*8 + 0x10aa928]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x10aa903
inc esi
cmp esi, 0x1c
jae 0x10aa911
jmp 0x10aa8e2
mov ax, word [esi*8 + 0x10aa92c]
mov word [0x10b4130], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x10b4130]
xor ecx, ebp
call fcn.01001fef
leave
ret
Function at 0x10abc59
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], eax
xor esi, esi
push 6
push 0x4ff
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, eax
cmp ebx, esi
je 0x10abccf
jmp 0x10abd09
cmp dword [ebp - 0x1c], 0x12
je 0x10abce0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x1c], 0x20
jne 0x10abcc5
mov eax, 0xfffe
cmp word [ebp - 0x14], ax
je 0x10abcc5
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10abccf
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x10abcee
jmp 0x10abc8f
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ebx, 0x102
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x10abd01
mov ebx, 0x102
cmp ebx, esi
je 0x10abc75
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x10ac215
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1048f98
push 0x10ac2f0
push 2
push 0
mov dword [ebp - 0x418], 0x104
call sub.SHLWAPI.dll_AssocQueryStringW
mov ebx, eax
test ebx, ebx
jl 0x10ac2cb
push edi
push 0x10ac2e0
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0103456a
push 0x38
lea eax, [ebp - 0x450]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x440], eax
add esp, 0x1c
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x438], 1
call sub.SHELL32.dll_ShellExecuteExW
test eax, eax
jne 0x10ac2cb
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 4
Function at 0x10ac2ff
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x20e0
call fcn.01054768
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x20a4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2098], eax
lea eax, [ebp - 0x209c]
push eax
lea eax, [ebp - 0x104c]
push eax
push 0
push 0xffff
push 0x10ac4b0
push 0x101c218
mov esi, 0x80004005
mov dword [ebp - 0x209c], 0x1048
call sub.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM
test eax, eax
jne 0x10ac472
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x10ac4a0
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
je 0x10ac3a6
mov ebx, 0x10ac48c
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
jne 0x10ac470
mov ebx, 0x10ac484
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrStrIW
mov dword [ebp - 0x20a0], eax
test eax, eax
je 0x10ac470
lea ecx, [ebp - 0x104c]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
mov esi, 0x824
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.0101cdca
push dword [ebp - 0x20a4]
lea eax, [ebp - 0x2094]
push esi
push eax
call fcn.01010e33
push ebx
call edi
mov ecx, dword [ebp - 0x20a0]
lea eax, [ecx + eax*2]
push eax
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.01010e33
push 0x38
lea eax, [ebp - 0x20dc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2098]
mov dword [ebp - 0x20d8], eax
lea eax, [ebp - 0x2094]
mov dword [ebp - 0x20d0], eax
add esp, 0xc
lea eax, [ebp - 0x20e0]
push eax
mov dword [ebp - 0x20e0], 0x3c
mov dword [ebp - 0x20c4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 8
Function at 0x10ac4e5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x94], ecx
mov esi, 0x80004005
je 0x10ac528
dec eax
je 0x10ac5dd
dec eax
je 0x10ac5d4
dec eax
jne 0x10ac5c2
lea ecx, [ebp - 0x90]
call fcn.0107f536
push 0xffffffffffffffff
push 0x10ac5e8
lea ecx, [ebp - 0x90]
call fcn.0107f754
mov esi, eax
test esi, esi
jl 0x10ac5b7
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.010ac170
mov esi, eax
test esi, esi
jl 0x10ac5b7
push 0x38
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc0], eax
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], 0x3c
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xb4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
lea ecx, [ebp - 0x90]
call fcn.0107f553
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 0xc
push ebx
push ecx
call fcn.010ac2ff
jmp 0x10ac5e3
push ecx
call fcn.010ac215
mov esi, eax
jmp 0x10ac5c2