joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6185f0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61879b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x61877c
mov dl, 1
mov eax, dword [0x48efa0]
call fcn.004b3428
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a684
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x61876b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0053f338
test al, al
je 0x61875e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x6187ac
lea eax, [ebp - 0x394]
call fcn.00426d50
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x61875e
xor eax, eax
push ebp
push 0x618757
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x61881c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x618740
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b38c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x618740
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b38c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61875e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x618661
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b334c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6187a2
lea eax, [ebp - 0x3a0]
call fcn.0040a684
ret

Function at 0x619354
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x7b0184]
cmp byte [eax + 0xc5], 0
jne 0x6193c6
cmp dword [0x7b01a8], 0
jne 0x619386
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x7a45e0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7b01a8], eax
cmp dword [0x7b01a4], 0
jne 0x6193a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x7b01a4], eax
cmp dword [0x7b01ac], 0
jne 0x6193c6
push esp
push 0
push 0
mov eax, dword [0x7a45dc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x7b01ac], eax
pop edx
ret
Function at 0x6197e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x6197ff
add esp, 0xfffffff0
call fcn.00408f20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5c40
mov eax, dword [0x7a8e84]
cmp byte [eax], 0
jne 0x61982c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x7a9334]
cmp word [eax + 2], 0
jne 0x619846
mov eax, dword [0x7a9334]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0061bac0
mov eax, dword [0x7a9530]
cmp word [eax + 2], 0
jne 0x619860
mov eax, dword [0x7a9530]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0061bcc4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4fc01c]
call fcn.00502324
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x61c23c
mov dl, 1
mov eax, dword [0x48b620]
call fcn.00408868
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48b620]
call fcn.00408868
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x500a44]
call fcn.0050ba44
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x619a48
mov eax, dword [0x7a915c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0050bedc
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x61c524
mov dl, 1
mov eax, dword [0x48b620]
call fcn.00408868
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7a915c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426b50
test eax, eax
je 0x61997a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004269a8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00426b34
test eax, eax
je 0x619992
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b38c
push ebx
push 0x61b49c
call fcn.0060e884
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x7a8e84]
cmp byte [eax], 0
jne 0x6199e3
mov eax, ebx
call fcn.00619c30
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.0061c75c
mov eax, ebx
call fcn.0061d3bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x619a40
call fcn.00408f78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x619f74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x61a016
cmp dword [ebx + 0xac], 0
jne 0x61a010
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x619eb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x61a010
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x619fd6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x61a010
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004ae9a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x619fe5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x61a254
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x7b0184]
cmp dword [eax + 0x188], 0
je 0x61a3ce
test bl, bl
jne 0x61a319
cmp dword [esi + 0xb4], 0
jne 0x61a30e
mov eax, esi
call fcn.0061d20c
push eax
push 0x61a148
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x61a2df
mov eax, dword [0x7b0184]
cmp byte [eax + 0xeb], 0
je 0x61a2df
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x61a2c0
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x61a2df
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x61a2c8
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x61a30e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ae9a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x61a2ee
inc dword [esi + 0xb4]
jmp 0x61a3ce
cmp dword [esi + 0xb4], 0
jle 0x61a3ce
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x61a3ce
cmp dword [esi + 0x58], 0
je 0x61a383
mov eax, dword [0x7b0184]
cmp byte [eax + 0xeb], 0
je 0x61a383
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x61a364
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x61a383
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x61a36c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x61a3b2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ae9a0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x61a392
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x60afbc]
call fcn.0040cb88
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x61b028
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x61b085
cmp byte [ebx + 0xeb], 0
jne 0x61b085
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a80c
mov eax, dword [esi]
test eax, eax
je 0x61b072
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x61b092
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa64
jmp 0x61b092
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa64
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x61c944
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x61c9b5
mov eax, esi
call fcn.00538e48
test al, al
je 0x61c9b5
mov eax, dword [ebx + 0x98]
call fcn.00538a74
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x61c9b5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x128]
test al, al
je 0x61c9a6
push 0
mov eax, dword [ebx + 0x98]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0052f5a4
jmp 0x61c9b5
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0061c77c
pop esi
pop ebx
ret
Function at 0x631804
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x631832
mov eax, ebx
call fcn.006322c0
cmp dword [ebx + 0x40], 0
je 0x63182b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6318a3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x631895
cmp dword [ebx + 8], 0
je 0x631854
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x631866
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x631895
cmp dword [ebx + 8], 0
je 0x631847
cmp eax, 3
je 0x631879
dec eax
jne 0x631847
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x631847
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x631847
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6318c1
cmp dword [ebx + 0x14], 0xcc
je 0x6318c1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006318cc
pop ebx
ret
Function at 0x657d00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7b0608], 0
jne 0x657d17
call fcn.00657cbc
mov eax, edi
dec eax
test eax, eax
jl 0x657d3f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7b0208]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x657d21
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x6601e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x66025a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b464
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b2d0
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x660238
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b70c
jmp 0x660244
mov eax, ebx
mov edx, 0x660274
call fcn.0040aa64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x660261
lea eax, [ebp - 4]
call fcn.0040a684
ret

Function at 0x660284
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6602fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b464
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b2d0
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6602db
push ebx
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b70c
jmp 0x6602e7
mov eax, ebx
mov edx, 0x660318
call fcn.0040aa64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x660304
lea eax, [ebp - 4]
call fcn.0040a684
ret
Function at 0x67bb54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x67bc0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040a6cc
mov eax, dword [0x7a9878]
cmp dword [eax], 2
jne 0x67bbc3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040b22c
mov eax, dword [ebx]
call fcn.0040ab54
push eax
mov eax, dword [ebx]
call fcn.0040b140
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.0040ab54
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040b22c
jmp 0x67bbf5
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.00426c38
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.0040b3dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67bc15
lea eax, [ebp - 0x7d8]
call fcn.0040a684
ret
Function at 0x68e098
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
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 - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0068b5d0
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.007137e4
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x68e1d8
cmp edi, dword [ebp - 0x1c]
jge 0x68e1d8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0068b9e4
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x68e114
mov ebx, esi
sar ebx, 1
jns 0x68e114
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x68e12d
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x68e12d
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x68e1d8
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x68e14a
cmp eax, dword [ebp - 8]
jle 0x68e14a
mov dword [ebp - 0xc], 1
jmp 0x68e1d8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x68e15b
mov dword [ebp - 0xc], 0xffffffff
jmp 0x68e1d8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x68e177
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x68e177
mov dword [ebp - 0xc], 5
jmp 0x68e1d8
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x68e1a7
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x68e1a7
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x68e19e
mov dword [ebp - 0xc], 4
jmp 0x68e1d8
mov dword [ebp - 0xc], 2
jmp 0x68e1d8
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x68e1d8
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x68e1d8
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x68e1d1
mov dword [ebp - 0xc], 4
jmp 0x68e1d8
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x68e1e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
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 edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0068b5d0
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.007137f8
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x68e320
cmp edi, dword [ebp - 0x1c]
jge 0x68e320
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0068b9e4
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x68e25c
mov ebx, esi
sar ebx, 1
jns 0x68e25c
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x68e275
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x68e275
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x68e320
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x68e292
cmp eax, dword [ebp + 8]
jle 0x68e292
mov dword [ebp - 8], 1
jmp 0x68e320
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x68e2a3
mov dword [ebp - 8], 0xffffffff
jmp 0x68e320
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x68e2bf
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x68e2bf
mov dword [ebp - 8], 5
jmp 0x68e320
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x68e2ef
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x68e2ef
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x68e2e6
mov dword [ebp - 8], 4
jmp 0x68e320
mov dword [ebp - 8], 2
jmp 0x68e320
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x68e320
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x68e320
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x68e319
mov dword [ebp - 8], 4
jmp 0x68e320
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6c9ee4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6c9f55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x7a8718]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x6c9f3f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.006c9ecc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6c95d4]
call fcn.006ca9a8
mov dword [0x7a877c], eax
mov eax, dword [ebp - 4]
call fcn.006c9e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9f5c
lea eax, [ebp - 8]
call fcn.0040e340
ret

Function at 0x6ccf68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6cd00e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
lea eax, [ebp - 4]
lea edx, [esi + esi*4]
mov ecx, dword [ebx + 0x21c]
mov edx, dword [ecx + edx*4 + 0x10]
call fcn.0040aaac
cmp word [ebx + 0x22a], 0
je 0x6ccfbf
lea eax, [ebp - 5]
push eax
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x22c]
call dword [ebx + 0x228]
cmp dword [ebp - 4], 0
setne al
and al, byte [ebp - 5]
je 0x6ccff8
movzx eax, byte [ebx + 0x220]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b2d0
push eax
push 0x6cd01c
mov eax, dword [0x7a94d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cd015
lea eax, [ebp - 4]
call fcn.0040a684
ret
Function at 0x6eb70c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x70], 0
jne 0x6eb724
mov eax, ebx
call fcn.006eb4d4
cmp dword [ebx + 0x64], 0
jne 0x6eb731
mov eax, ebx
call fcn.006eb42c
mov esi, dword [ebx + 0x70]
test esi, esi
je 0x6eb8c7
cmp dword [ebx + 0x64], 0
je 0x6eb8c7
mov edx, esp
mov eax, esi
call fcn.00713734
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.006eb3b0
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x6eb798
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x6eb780
adc ecx, 0
lea edi, [esp + 0x14]
push edi
sub eax, edx
add eax, esi
sar eax, 1
jns 0x6eb790
adc eax, 0
mov edx, eax
pop eax
call fcn.004134e8
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0xe0]
test eax, eax
je 0x6eb7ae
call fcn.00538a74
mov esi, eax
jmp 0x6eb7b1
mov esi, dword [ebx + 0x74]
mov edx, 0xffffffec
mov eax, esi
call fcn.0041652c
test al, 8
je 0x6eb7c6
or esi, 0xffffffff
jmp 0x6eb7d0
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov eax, dword [ebx + 0x64]
mov edx, dword [esp + 0x14]
call fcn.006174e0
mov eax, dword [ebx + 0x64]
mov edx, dword [esp + 0x18]
call fcn.0061751c
mov eax, dword [ebx + 0x64]
mov edx, dword [esp]
call fcn.0052eb4c
mov eax, dword [ebx + 0x64]
mov edx, dword [esp + 4]
call fcn.0052eb84
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00713780
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.00713dd8
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x64]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebx + 0x64]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
mov eax, dword [ebx + 0x64]
call fcn.00538a74
mov edx, 0xffffffec
pop ecx
call fcn.00416810
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x70]
call fcn.00509d18
call fcn.005042cc
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x64]
call fcn.00538a74
push eax
mov eax, dword [0x7a8fd4]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x64]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6f11f0
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x6f1200
call sub.user32.dll_FindWindowW
ret