joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040adf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100407de
pop ebx
invalid

Function at 0x10041346
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.100407ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100407a3
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
invalid
test edi, esp
cli

Function at 0x1004172b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x30fffffc], ebx
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
sub al, 0xc6
test dword [ebp + 0x26fffffc], ebx
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
jmp [esi + eax*8]
test dword [edx + 0x14fffffc], ebp
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100407ee
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100407a3
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100407de
retf 0x9aa4

Function at 0x10041c42
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
invalid
test esp, ebx

Function at 0x10042362
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
invalid
movsd dword es:[edi], dword [esi]
invalid
Function at 0x1005aa0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x1005aa27
xor esi, esi
jmp 0x1005aa55
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.100b1f10
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x1005aa92
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1005aa7d
call esi
mov esi, eax
jmp 0x1005ab27
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1005ab27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1005aac3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x1005aad6
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1005ab1e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x1005aada
jmp 0x1005aaa5
call esi
jmp 0x1005ab1c
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x1005ab10
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.100b1f10
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.100b1600
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.1005ab8e
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1005b544
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.1005b506
mov edi, eax
cmp edi, esi
je 0x1005b584
cmp dword [ebp - 4], esi
je 0x1005b57d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1005b621
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1005b5f5
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.1005b544
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x1005b5e2
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x1005b5a7
cmp dword [ebp - 4], esi
je 0x1005b5f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x1005b621
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1005b608
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x1005b61f
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1005b628
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.100b1f10
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.1005ace7
xor edi, edi
cmp eax, edi
jl 0x1005b7e0
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.1005b7ed
pop ecx
test eax, eax
pop ecx
jne 0x1005b673
mov eax, 0x80020009
jmp 0x1005b7e0
mov ecx, esi
call fcn.1005acbf
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.1005ace7
cmp eax, edi
jl 0x1005b7e0
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x1005b7a8
sub eax, 9
je 0x1005b70d
dec eax
dec eax
jne 0x1005b7cf
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x1005b6b8
xor ebx, ebx
jmp 0x1005b6ed
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.100b1f10
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x1005b7c0
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x1005b749
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.100b1f10
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.100b1940
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x1005b753
mov eax, 0x80004005
jmp 0x1005b7e0
cmp dword [ebp - 8], 0
jle 0x1005b78d
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.1005b874
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x1005b759
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x1005b7cf
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1005ace7
cmp eax, edi
jl 0x1005b7e0
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1005c219
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor edi, edi
push eax
push 0x20019
push edi
mov dword [ebp - 8], edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push SysReAllocStringLen
call ebx
mov esi, eax
cmp esi, edi
jne 0x1005c291
lea eax, [ebp + 8]
push eax
push edi
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, edi
jne 0x1005c291
push dword [ebp + 8]
mov ecx, 0x100cf2e0
call fcn.10018dac
mov esi, eax
mov dword [ebp - 8], eax
neg esi
sbb esi, esi
and esi, 0xfffffff2
add esi, 0xe
jne 0x1005c291
lea ecx, [ebp + 8]
push ecx
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp dword [ebp - 4], edi
je 0x1005c2a2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x1005c2ba
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp - 8]
push SysReAllocStringLen
call ebx
cmp dword [ebp - 8], edi
pop edi
pop esi
pop ebx
je 0x1005c2cf
push dword [ebp - 8]
mov ecx, 0x100cf2e0
call fcn.10018e64
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1005c2d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x1005c348
lea eax, [ebp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push edi
push edi
push edi
push edi
push dword [ebp - 4]
call ebx
mov esi, eax
cmp esi, edi
jne 0x1005c348
push dword [ebp + 0xc]
mov ecx, 0x100cf2e0
call fcn.10018dac
mov esi, eax
mov dword [ebp - 8], esi
neg esi
sbb esi, esi
and esi, 0xfffffff2
add esi, 0xe
jne 0x1005c348
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
call ebx
mov esi, eax
cmp dword [ebp - 4], edi
je 0x1005c359
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
cmp esi, edi
je 0x1005c372
cmp dword [ebp - 8], edi
je 0x1005c372
push dword [ebp - 8]
mov ecx, 0x100cf2e0
call fcn.10018e64
mov dword [ebp - 8], edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005c37a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1005c3b5
push dword [ebp + 0xc]
call fcn.100b1580
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push 1
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], 0
je 0x1005c3c4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x1005cb6f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
mov dword [ebp - 4], esi
test eax, eax
je 0x1005cb8e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [edi], 0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jne 0x1005cba1
push 0x100cf3e0
jmp 0x1005cbfc
lea esi, [eax + 1]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.100b1f10
mov eax, dword [ebp - 4]
mov ebx, esp
push esi
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1005cc0d
test ebx, ebx
jne 0x1005cbcb
xor eax, eax
jmp 0x1005cbfb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.100b1f10
mov edi, esp
push esi
push edi
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
push eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
mov dword [edi], eax
test eax, eax
setne cl
mov eax, ecx
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1005fb3d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff7c
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [esi + 0x90]
lea eax, [esi + 0x90]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x1005fb6c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10061518
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x100cf654], 0
push esi
push edi
jne 0x100615b7
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebx
push 0x8001
mov dword [0x100cf654], 1
call esi
push str.imm32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
mov edi, eax
call esi
test edi, edi
pop ebx
je 0x100615b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmGetContext
push edi
call esi
test eax, eax
mov dword [0x100cf658], eax
je 0x100615b7
push str.ImmReleaseContext
push edi
call esi
test eax, eax
mov dword [0x100cf65c], eax
je 0x100615b7
push str.ImmSetCompositionWindow
push edi
call esi
test eax, eax
mov dword [0x100cf660], eax
je 0x100615b7
push str.ImmSetCompositionFontA
push edi
call esi
test eax, eax
mov dword [0x100cf664], eax
je 0x100615b7
push 0x100c5ef0
push edi
call esi
mov dword [0x100cf668], eax
mov dword [0x100cf654], 2
pop edi
pop esi
ret
Function at 0x10061632
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
lea ecx, [ebp - 0xc]
push 7
push ecx
push 0x1004
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1006167b
push esi
lea eax, [ebp - 4]
push 0xa
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100451dd
add esp, 0x10
test eax, eax
je 0x1006167b
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
leave
ret
Function at 0x10068e04
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x128e], 0
je 0x10068e4f
mov eax, dword [esi + 0x1238]
xor edi, edi
mov ebx, dword [eax + 0x10]
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x10068e4f
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
mov eax, dword [ebx]
push ecx
push 0x100bf9c8
push ebx
call dword [eax]
cmp dword [ebp - 4], edi
jne 0x10068e56
and byte [ebp + 0xb], 0
jmp 0x10068f22
xor al, al
jmp 0x10068f2b
cmp byte [esi + 0x128c], 0
lea eax, [esi + 0x128c]
jne 0x10068ebc
mov byte [eax], 1
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.10067516
test al, al
je 0x10068eaf
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x10068ebc
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push edx
push 0x100bfa58
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x10068eaf
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x10068eaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x10068ebc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 9
xor esi, esi
pop eax
xor ebx, ebx
push edi
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
or al, 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
xor ecx, ecx
cmp dword [ebp + 8], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
jge 0x10068ef9
push 1
pop ecx
mov eax, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
inc bl
cmp eax, edi
je 0x10068f1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp + 0xb], bl
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1006b000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
xor bl, bl
call fcn.100679ba
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
jne 0x1006b025
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl bl
mov al, bl
pop esi
pop ebx
ret 4

Function at 0x1006b02c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
xor bl, bl
call fcn.100679ba
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
jne 0x1006b051
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
mov al, bl
pop esi
pop ebx
ret 4
Function at 0x1006b0a6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
mov esi, str.StringFileInfo_
lea edi, [ebp - 0x44]
lea eax, [ebp - 0x148]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x100c6240
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 0x20], str.explorer
mov dword [ebp - 0x1c], str.iexplore
mov dword [ebp - 0x18], 0x100c6224
mov byte [ebp - 1], bl
movsw word es:[edi], word [esi]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1006b202
lea eax, [ebp - 0x148]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1006b202
push eax
call fcn.1006efdc
mov esi, eax
pop ecx
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x1006b202
push esi
lea eax, [ebp - 0x148]
push dword [ebp - 0xc]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1006b1f9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1006b1f9
lea eax, [ebp - 0x44]
push 0x10
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.100b1600
mov eax, dword [ebp - 0x10]
mov ax, word [eax]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1006b20a
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 2]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.1006b20a
lea eax, [ebp - 0x30]
push 0xe
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.100b1600
add esp, 0x28
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x148]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1006b1f9
xor edi, edi
cmp dword [ebp - 8], ebx
je 0x1006b1f9
lea esi, [ebp - 0x20]
cmp edi, 3
jae 0x1006b1f9
push dword [esi]
push dword [ebp - 8]
call fcn.100611a2
pop ecx
test eax, eax
pop ecx
je 0x1006b1f5
inc edi
add esi, 4
cmp dword [ebp - 8], ebx
jne 0x1006b1d5
jmp 0x1006b1f9
mov byte [ebp - 1], 1
push dword [ebp - 0x14]
call fcn.1006efe7
pop ecx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1006b20a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
shr word [ebp + 0xc], 4
and eax, 0xf
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x32
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x35
mov byte [ebp - 0xa], 0x36
mov byte [ebp - 9], 0x37
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x39
mov byte [ebp - 6], 0x41
mov byte [ebp - 5], 0x42
mov byte [ebp - 4], 0x43
mov byte [ebp - 3], 0x44
mov byte [ebp - 2], 0x45
mov byte [ebp - 1], 0x46
mov al, byte [ebp + eax - 0x10]
mov byte [ecx + 3], al
mov eax, dword [ebp + 0xc]
shr word [ebp + 0xc], 4
and eax, 0xf
mov al, byte [ebp + eax - 0x10]
mov byte [ecx + 2], al
movzx eax, word [ebp + 0xc]
mov edx, eax
shr eax, 4
and edx, 0xf
and eax, 0xf
mov dl, byte [ebp + edx - 0x10]
mov al, byte [ebp + eax - 0x10]
mov byte [ecx + 1], dl
mov byte [ecx], al
leave
ret

Function at 0x1006f178
Capabilities:
Check os version
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [ebp + 8], 7
push esi
jl 0x1006f21e
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1006f216
cmp dword [ebp - 0x84], 2
jne 0x1006f1b9
cmp dword [ebp - 0x90], 5
jae 0x1006f1d4
cmp dword [ebp - 0x84], 1
jne 0x1006f216
cmp dword [ebp - 0x90], 4
jne 0x1006f216
cmp dword [ebp - 0x8c], 0x5a
jb 0x1006f216
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1006f1fc
push str.GetUserDefaultUILanguage
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1006f200
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x1006f22b
push edi
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call fcn.1006f22e
pop ecx
pop edi
jmp 0x1006f22b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x1006f224
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push eax
call fcn.1006f22e
pop ecx
pop esi
leave
ret