joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45a16a
cmp dword [ebx + 0x64], 0
jne 0x45a16a
cmp dword [ebx + 0x6c], 0
jne 0x45a16a
mov esi, edi
jmp 0x45a1f8
cmp esi, 0xffffffff
jne 0x45a175
dec esi
jmp 0x45a1f8
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x45a1f8
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004597a8
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45a1c0
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45a1c5
mov word [edx], 0
dec eax
test eax, eax
jne 0x45a1a6
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45a1ec
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45a1f1
mov word [edx], 0
dec eax
test eax, eax
jne 0x45a1d2
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x45a256
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00459ec8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45a241
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45a256
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45a14a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x465d9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x465db1
add esp, 0xfffffff0
call fcn.00403930
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040480c
xor eax, eax
push ebp
push 0x465e8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00461044
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004130a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004130a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004130a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004130a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004130c8
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465e93
lea eax, [ebp - 4]
call fcn.0040435c
ret
Function at 0x46b894
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46b990
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x46b9a8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004043b0
push 0xffffffffffffffff
mov ecx, 0x46b9b8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x46b9d4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b8c60
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46b9f0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b8b4c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46ba04
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b8b4c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46ba1c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b8b4c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x46ba38
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004b8c60
mov byte [ebx + 0x44], al
mov ecx, 0x46ba4c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00460b90
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b997
lea eax, [ebp - 4]
call fcn.0040435c
ret

Function at 0x48adb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x48adf0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48adce
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48addd
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48adec
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x48b72c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x431f90]
call fcn.00403798
test al, al
je 0x48b76e
mov eax, dword [0x4c0fa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x48b76e
mov edx, dword [0x4c0fa0]
xor edx, edx
call fcn.0044ed40
push 0
mov eax, dword [0x4c0fa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4b39a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
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 dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.004b4680
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004b3928
pop ecx
call fcn.004b8658
test al, al
je 0x4b3a50
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x4b3a50
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0043c67c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.0043c67c
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x4b3a39
mov eax, dword [edi]
call fcn.0043c67c
xor edx, edx
call fcn.004b8694
jmp 0x4b3a50
mov eax, dword [edi]
call fcn.0043c67c
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.004b8694
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.0043c67c
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.00435db4
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x4b3ae9
cmp byte [ebx + 0x60], 0
je 0x4b3ae9
call fcn.004b8658
test al, al
je 0x4b3ae9
mov eax, dword [0x4c0fa0]
mov eax, dword [eax]
call fcn.004555b0
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x4b3ad9
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x4b3acb
mov ebx, eax
mov eax, dword [edi]
call fcn.0043c67c
mov edx, ebx
call fcn.004b8694
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x4b3aa3
mov eax, dword [edi]
call fcn.004b4bb4
mov eax, dword [edi]
call fcn.0043c67c
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x10001f1d
mov esi, eax
xor eax, eax
cmp byte [edi + esi - 1], 0xa
je 0x10001efa
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, 0x1000e0fc
lock xchg dword [ecx], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x10001f1f
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x10002690
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
xor eax, eax
test ebx, ebx
je 0x10002818
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0
jne 0x10002745
mov eax, dword [0x1000e108]
test eax, eax
je 0x100027e2
push ebx
call eax
mov dword [ebx + 8], eax
test eax, eax
js 0x10002737
lea ebx, [ebp - 0x220]
push 0x104
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
push str.MODULE
push eax
call dword [ecx + 0xc]
push 0x104
push ebx
push str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
mov ebx, dword [ebp + 0x14]
push str.SystemRoot
push eax
call dword [ecx + 0xc]
cmp dword [ebx], 0
mov eax, 0
je 0x10002818
push 0
push 0
push esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x18]
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edi, eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x30]
lea ecx, [edi*2 + 2]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x100027d6
mov ebx, eax
mov eax, edi
inc eax
push eax
push ebx
push dword [ebp - 0x10]
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov word [ebx + edi*2], 0
xor eax, eax
mov esi, dword [ebp + 0x14]
cmp dword [esi + 4], 0
sete al
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebx
push ecx
call dword [edx + eax*4 + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
not eax
shr eax, 0x1f
jmp 0x10002818
mov eax, dword [ebp + 0x14]
mov dword [eax + 8], 0x8007000e
jmp 0x10002816
push str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x1000e10c], eax
test eax, eax
je 0x1000280f
push str.AtlCreateRegistrar
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1000e108], eax
test eax, eax
jne 0x100026e4
mov dword [ebx + 8], 0x80004002
xor eax, eax
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x1000435b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000437a
xor eax, eax
jmp 0x100043f5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004390
xor eax, eax
jmp 0x100043f5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100043d8
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x100043d8
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100043b1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100043e4
xor eax, eax
jmp 0x100043f5
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x100043f2
xor eax, eax
jmp 0x100043f5
mov eax, dword [ebp - 4]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x10004d4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x10004d4b
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10004d4b
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10004ce9
mov byte [ebp - 1], 1
jmp 0x10004d4b
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10004cf3
jmp 0x10004d4b
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10004d2e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x10004d2e
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x10004d46
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x10004d46
jmp 0x10004d4b
jmp 0x10004ca6
jmp 0x10004d6f
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10004d6f
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4
Function at 0x1000e2d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x1000e2dd
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000e31a
mov eax, dword [ebp - 0xc]
jmp 0x1000e370
cmp dword [ebp - 4], 1
je 0x1000e32b
cmp dword [ebp - 4], 2
je 0x1000e32b
push 0xd
pop eax
jmp 0x1000e370
cmp dword [ebp + 0xc], 0
je 0x1000e364
cmp dword [ebp - 8], 0
je 0x1000e35d
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1000e356
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x1000e35b
push 0xd
pop eax
jmp 0x1000e370
jmp 0x1000e364
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc

Function at 0x1000e39b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.100223dd
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.1000e13e
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000e3f9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.1000e1b0
mov eax, dword [ebp - 0x21c]
jmp 0x1000e488
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000e45e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e39b
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000e455
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.1000e1b0
mov eax, dword [ebp - 0x220]
jmp 0x1000e488
mov dword [ebp - 4], 0x100
jmp 0x1000e400
lea ecx, [ebp - 0x10]
call fcn.1000e183
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.1000e23a
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.1000e1b0
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100771ba
leave
ret 4
Function at 0x10013dae
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.100771d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100e2964
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x10013e65
jmp 0x10013ed9
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100771ba
leave
ret

Function at 0x10017f2d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.1002501f
test eax, eax
je 0x10017f92
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x10017f88
cmp dword [ebp + 8], 0x1b
jne 0x10017f6e
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10025106
jmp 0x10017f88
cmp dword [ebp + 8], 0xd
jne 0x10017f88
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10025106
push 0
mov ecx, dword [ebp - 4]
call fcn.1001803c
leave
ret 0xc
Function at 0x1002e590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.10013f8a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002e5c1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002e5c1
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x100379d2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x10037a03
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x10037ae1
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.10013c7b
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10037ad7
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.10036dd5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x10037ad7
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.10013d01
mov ecx, dword [ebp - 8]
call fcn.1002a613
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10037ab9
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x10037ab9
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x10037ad7
mov ecx, dword [ebp - 8]
call fcn.1000dcd1
test eax, eax
je 0x10037ad7
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.1000dcd1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x10037b42
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.100399d0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10039a2f
mov ecx, eax
call fcn.10005b69
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x1003adee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1003ae11
jmp 0x1003ae9e
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 1
je 0x1003ae3e
cmp dword [ebp - 8], 2
je 0x1003ae3e
jmp 0x1003ae9e
mov ecx, dword [ebp + 0xc]
call fcn.10004816
mov eax, dword [ebp - 0xc]
shr eax, 1
inc eax
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1000455b
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1003ae80
jmp 0x1003ae9e
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.1000e4eb
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
leave
ret 8