joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ded
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x10060eb
cmp eax, 0xffffffec
je 0x10244eb
cmp eax, 0xfffffff1
je 0x102447a
cmp eax, 0xfffffff4
jne 0x100611e
push 0
push edi
mov ecx, esi
call fcn.01003e3a
pop edi
pop esi
pop ebx
leave
ret 4
je 0x10188db
cmp eax, 0xfffffd33
je 0x10188e7
cmp eax, 0xfffffd37
je 0x100a621
cmp eax, 0xfffffd3a
je 0x10243f5
cmp eax, 0xfffffdee
jne 0x100611e
jmp 0x102438f
xor eax, eax
jmp 0x1003e2e
cmp dword [esi + 0x64], 0
jne 0x102445a
test byte [edi + 0x14], 2
jne 0x1024462
jmp 0x100611e
mov ecx, esi
call fcn.01011c01
jmp 0x100611e
push edi
mov ecx, esi
call fcn.0102f8b2
jmp 0x100611e
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0102d88f
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.01002380
test eax, eax
je 0x10243d9
cmp dword [eax], ebx
jne 0x10243d9
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.0100535d
push eax
push 0x1024524
push 0x50
push ebx
call fcn.0100ae15
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0100435a
jmp 0x100611e
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102d88f
mov ecx, esi
mov edi, eax
call fcn.010027da
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x102442c
push eax
mov ecx, esi
call fcn.010029a7
cmp eax, edi
jne 0x102442c
push 0x11
call ebx
test ax, ax
jge 0x1024436
push 0
push edi
mov ecx, esi
call fcn.0100407f
push 0x11
call ebx
test ax, ax
jl 0x100611e
push 0
push edi
mov ecx, esi
call fcn.0100407f
push edi
mov ecx, esi
call fcn.0102ef4a
jmp 0x100611e
xor eax, eax
inc eax
jmp 0x1003e2e
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0102d88f
push eax
mov ecx, esi
call fcn.01003fc0
jmp 0x100611e
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x102448b
cmp edi, 0x20
jne 0x100611e
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x102445a
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x80000004
call fcn.010023ef
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.01003bf7
push 1
push 0
push ebx
mov ecx, esi
call fcn.01002380
push 0
push eax
push ebx
mov ecx, esi
call fcn.0102f813
jmp 0x102445a
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102d88f
push 1
push 0
push eax
mov ecx, esi
call fcn.01002380
test eax, eax
je 0x100611e
cmp dword [eax], 0
je 0x100611e
mov ecx, esi
call fcn.010027da
mov dword [esi + 0x48], eax
jmp 0x100611e
Function at 0x1003e3a
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x1003e5c
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1003e9a
sub eax, 0x10000
jne 0x1003ea3
test byte [ebx + 0x28], 8
jne 0x1003ec3
test byte [esi + 4], 1
jne 0x1023c91
test byte [esi + 4], 0x20
jne 0x10060df
cmp dword [esi], 0
je 0x1023cfb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x1003e90
dec eax
jne 0x1003e90
cmp dword [esi], 0
je 0x1023c42
test byte [ebx + 0x28], 8
je 0x1003e90
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1003e90
call fcn.01003eee
test eax, eax
jne 0x1003e73
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
jmp 0x1003e73
mov dword [ebp + 8], 4
jmp 0x1003e87
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0102d88f
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x1003eaf
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.0100535d
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.0102ebca
mov edi, dword [ebp - 4]
jmp 0x1003eaf
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1023cc3
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x1003e7d
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x1023cef
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x1003e7d
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0102d88f
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.0100535d
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.0102ebca
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x1003e90

Function at 0x1003eee
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x10238d7
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x10238eb
cmp ax, 2
jne 0x1003f05
xor eax, eax
inc eax
ret
Function at 0x1005e99
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 1
push 0
push 0
push 0x1005f18
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1005ef6
mov ecx, dword [esi + 0x68]
call fcn.01005f43
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x1005efc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x10088cb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x1026bea
push ebx
lea eax, [esi + 0xb4]
cmp word [eax], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, 0x400
je 0x101b7a1
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x101b7b9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1026bf1
push ebx
mov ecx, esi
call fcn.01021f7f
mov eax, dword [esi + 0x1b0]
cmp eax, ebx
je 0x100894b
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008b18
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sar edi, 1
cmp eax, dword [ebp - 0x18]
jle 0x1008984
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008a3a
mov eax, dword [ebp - 0xc]
add eax, edi
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x101a44e
xor edi, edi
cmp dword [esi + 0x1b0], edi
je 0x10089b8
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x104674c]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
push eax
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [0x1046748]
mov eax, dword [0x10460a0]
mov edx, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
sub esi, edx
cmp esi, eax
jge 0x1008a1b
lea ecx, [edx + eax]
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop ebx
pop esi
leave
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10089a2
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x101a464
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.0101a48d
mov eax, dword [ebp - 0xc]
add edi, eax
lea eax, [edi + ebx]
cmp eax, dword [ebp + 0xc]
jl 0x1026bf8
jmp 0x10089a2
push 0x28
push eax
push 0x1003
push ebx
call edi
and word [esi + 0x104], 0
jmp 0x1008909
push 0x28
push eax
push 0x1f
push ebx
call edi
and word [esi + 0x60], 0
jmp 0x1008916
xor eax, eax
jmp 0x1008a30
xor eax, eax
jmp 0x1008a2e
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10089a2
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x10089a2
mov dword [ebp - 0x18], ecx
jmp 0x10089a2
Function at 0x100a7ed
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ebx, ebx
mov edi, ecx
cmp dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x100a853
cmp dword [ebp + 8], ebx
push esi
push 5
pop eax
lea esi, [edi + 8]
jne 0x1026ced
inc dword [esi]
cmp dword [esi], eax
ja 0x100a852
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push 0x100a6f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a852
push 4
push esi
push 4
push ebx
push 0x100a76c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov dword [edi + 0xc], ebx
pop edi
pop ebx
leave
ret 4
mov dword [esi], eax
jmp 0x100a813

Function at 0x100ad26
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1046064]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x100adb8
lea eax, [ebp - 0x40c]
push 0x100
push eax
call fcn.0100ae15
and word [ebp - 0x20c], 0
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x80000001
mov dword [ebp - 0x410], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x100ada7
cmp word [ebp - 0x20c], ax
je 0x100ada7
push 0x20013
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.WINMM.dll_PlaySoundW
mov ecx, dword [ebp - 4]
call fcn.01001b01
leave
ret 4

Function at 0x100ae92
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov esi, ecx
jne 0x100aebb
mov eax, dword [esi + 0x2bc]
mov eax, dword [eax + 0x28c]
and eax, 0xf
mov ecx, dword [esi + 0x2bc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add ecx, 8
push ecx
push eax
push 0x421
push dword [esi + 0x20]
call ebx
mov eax, dword [esi + 0x2bc]
test byte [eax + 0x28c], 0x10
jne 0x100af06
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [ebp + 0xc]
cmp eax, 0x1388
jb 0x100af06
call edi
push 0x100afa8
mov dword [ebp - 4], eax
call fcn.0100ad26
mov ecx, esi
call fcn.01007b80
mov ecx, 0x10460d8
call fcn.0100aa97
push 0xb
pop ecx
xor eax, eax
mov dword [0x10460f8], 1
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2bc]
add eax, 0x88
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x439
push dword [esi + 0x20]
mov dword [ebp - 0x34], 0x30
call ebx
xor edi, edi
inc edi
push 0
mov ecx, esi
mov dword [esi + 0x2c4], edi
call fcn.0100a9cb
lea eax, [ebp - 0x34]
push eax
push edi
push 0x411
push dword [esi + 0x20]
call ebx
lea eax, [esi + 0x2b8]
push eax
mov eax, dword [esi + 0x2bc]
push dword [eax + 0x288]
mov ecx, esi
push 0x43e
push 2
call fcn.01007c50
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100c93a
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
je 0x1028fe8
xor eax, eax
pop edi
pop ebp
ret 4
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x1029023
push 0x11
call esi
test ax, ax
jl 0x1029023
push 0x12
call esi
test ax, ax
jl 0x1029023
test byte [edi + 0x48], 8
je 0x1029023
mov ecx, edi
call fcn.0101e7eb
test eax, eax
jl 0x1029023
push eax
mov ecx, edi
call fcn.0103fad6
pop esi
jmp 0x100c950

Function at 0x100f081
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [eax], ebx
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1028cd3
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x100f110
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x100bbe8
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1028cda
mov ecx, edi
call fcn.0100f136
test eax, eax
mov dword [ebp + 8], eax
je 0x100f110
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1028ceb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
je 0x100f7b4
cmp esi, 1
jne 0x100f128
test byte [edi + 0xc], 0x10
jne 0x1028cfb
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4
test byte [edi + 0xc], 8
je 0x1028cf3
jmp 0x100f128
xor eax, eax
jmp 0x100f12b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x100f110
mov esi, dword [ebp - 4]
jmp 0x100f107
xor esi, esi
inc esi
jmp 0x100f128
push 2
pop esi
jmp 0x100f128
Function at 0x100f1b5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
push esi
xor edi, edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x100f239
lea eax, [ebp - 8]
push eax
push 0x100d34c
push esi
push dword [ebp - 0xc]
push esi
call fcn.0100baf1
test eax, eax
jl 0x100f230
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x60
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100f227
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x100f34c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, dword [ebp + 0x10]
pop edi
sbb eax, eax
inc eax
pop esi
leave
ret 0xc
cmp dword [ebp + 0xc], esi
je 0x100f377
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0100f37f
test eax, eax
jne 0x100f377
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHFree]
cmp edi, dword [ebp + 0x10]
jae 0x100f21e
jmp 0x100f203
inc edi
jmp 0x100f360

Function at 0x100f967
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0100f9f9
test eax, eax
je 0x1010035
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1010035
call fcn.0100e12b
test eax, eax
je 0x102572d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x1010047
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + 0x43c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0100fb66
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.01030021
pop esi
ret

Function at 0x100f9f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100fa48
push 0x100bbe8
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100e12b
test eax, eax
je 0x102570c
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x1025725
dec eax
jne 0x102571e
mov ecx, esi
call fcn.0100fb66
xor eax, eax
jmp 0x100fa45
xor eax, eax
inc eax
jmp 0x100fa45
Function at 0x100fb0d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, edi
mov byte [ebp - 1], 0
je 0x100fb4e
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100fb4e
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
mov dword [ecx], edi
push 0x17
mov dword [eax], edi
call esi
test eax, eax
jne 0x100fb56
push 0x16
call esi
test eax, eax
jne 0x100fb56
push 0x15
call esi
test eax, eax
jne 0x100fb56
pop esi
mov al, byte [ebp - 1]
pop edi
leave
ret 8
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
jmp 0x102285e
test eax, eax
je 0x100fb4d
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
push 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1022c20
push 0x1022bb8
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10228b7
cmp dword [ebp - 8], eax
je 0x10228b7
mov eax, dword [ebp + 8]
mov dword [eax], 0x1022ba8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1022b94
jmp 0x1022989
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1022b6c
push 0x1022af8
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10228e9
cmp dword [ebp - 0x10], edi
jne 0x10228e9
cmp dword [ebp - 8], eax
jne 0x102298d
push 0x15
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x102298d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1022ae8
push 0x1022a78
mov ebx, 0x80000001
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022921
cmp dword [ebp - 8], eax
je 0x102298d
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1022a68
push 0x10229f0
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022948
cmp dword [ebp - 8], eax
je 0x102298d
call fcn.0102b391
test al, al
jne 0x102298d
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1022bb8
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1022977
cmp dword [ebp - 8], eax
je 0x102298d
mov eax, dword [ebp + 8]
mov dword [eax], 0x10229d8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1022998
mov byte [ebp - 1], 1
pop ebx
jmp 0x100fb4d

Function at 0x100fb66
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x100fa48
push 0x100bbe8
push 0x80000001
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
leave
ret
Function at 0x10106c1
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046064]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x101076e
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x101076e
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x101076d
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.01004cfc
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x101077c
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01007284
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1026188
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b01
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01004cfc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01008c55
test byte [ebp - 0x86c], 0x10
je 0x10261de
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x102620b
push 0x1026230
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1032daf
push 0x14
push dword [0x10460c0]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x1026221
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1026188
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x101076d