joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b0d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
cmp dword [ebp + 8], 0
jne 0x42b0f6
xor eax, eax
jmp 0x42b19a
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0058abd0
add esp, 0xc
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
xor ecx, ecx
mov byte [ebp - 0x20d], cl
lea ecx, [ebp - 0x20d]
call fcn.0042b1b0
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x661418
mov edx, dword [ebp - 0x21c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42b198
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b198
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005b0cd4
add esp, 0xc
mov eax, 1
jmp 0x42b19a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 8
Function at 0x42b770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6101c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 8], 0
jne 0x42b7a6
jmp 0x42b8d8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab00
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x42b810
push 0x661474
mov edx, dword [ebp - 0x34]
add edx, 4
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00425070
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040ef80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040aae0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414a80
xor ecx, ecx
mov byte [ebp - 0x2d], cl
push 0
lea ecx, [ebp - 0x2d]
call fcn.0042b900
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c2c0
cmp eax, 0xffffffff
je 0x42b886
lea ecx, [ebp - 0x2c]
call fcn.0040f070
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b842
jmp 0x42b884
lea ecx, [ebp - 0x28]
call fcn.0040eb50
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0xffffffff
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040f070
push eax
call fcn.0042bc60
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ea10
xor edx, edx
jne 0x42b82d
jmp 0x42b8c9
lea ecx, [ebp - 0x2c]
call fcn.0040f070
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b8aa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040aae0
jmp 0x42b8d8
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f070
push eax
call fcn.00528e80
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040aae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 8
Function at 0x42ba50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x42ba66
jmp 0x42bb05
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x42baa3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x42ba81
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
sar ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x42baa5
jmp 0x42bb05
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx]
mov word [ebp - 4], ax
add dword [ebp - 0xc], 2
cmp word [ebp - 4], 0
jne 0x42bab7
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
sar ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret 4
Function at 0x42bc60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x672cd8
push fcn.00589eb0
mov eax, dword fs:[0]
push eax
add esp, 0xfffff784
mov eax, dword [0x68e4d8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
call fcn.00417bd0
mov dword [ebp - 0x84c], eax
cmp dword [ebp + 8], 0
jne 0x42bccd
mov dword [ebp - 0x82c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x82c]
jmp 0x42bf03
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x42bcfc
mov dword [ebp - 0x830], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x830]
jmp 0x42bf03
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x820], ecx
mov edx, dword [ebp - 0x820]
add edx, 2
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x820]
mov cx, word [eax]
mov word [ebp - 0x822], cx
add dword [ebp - 0x820], 2
cmp word [ebp - 0x822], 0
jne 0x42bd14
mov edx, dword [ebp - 0x820]
sub edx, dword [ebp - 0x834]
sar edx, 1
mov dword [ebp - 0x838], edx
cmp dword [ebp - 0x838], 0x104
jbe 0x42bd7e
push 0x661458
mov ecx, dword [ebp + 0x14]
call fcn.0040e980
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x83c]
jmp 0x42bf03
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bdb5
push str.lost
mov ecx, dword [ebp + 0x14]
call fcn.0040e980
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x840]
jmp 0x42bf03
mov dword [ebp - 0x850], 0x400
push 0x800
push 0
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0058abd0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x661478
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00429ec0
add esp, 0x10
push 0x3c
push 0
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0058abd0
add esp, 0xc
mov dword [ebp - 0x88c], 0x3c
lea edx, [ebp - 0x81c]
mov dword [ebp - 0x87c], edx
mov dword [ebp - 0x880], str.open
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x870], ecx
mov dword [ebp - 0x888], 0x440
mov dword [ebp - 0x828], 0
lea edx, [ebp - 0x88c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0
je 0x42be83
push str.start_succ
mov ecx, dword [ebp + 0x14]
call fcn.0040e980
mov eax, dword [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42be9b
push str.start_fail
mov ecx, dword [ebp + 0x14]
call fcn.0040e980
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x844], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x844]
jmp 0x42bf03
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret
Function at 0x42edb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x42eda0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x431670
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.0058abd0
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x218]
mov ax, word [edx]
mov word [ebp - 0x21e], ax
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x4316c5
mov ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x224]
sar ecx, 1
mov dword [ebp - 0x228], ecx
jne 0x43170f
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 2
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x21c]
mov ax, word [edx]
mov word [ebp - 0x220], ax
add dword [ebp - 0x21c], 2
cmp word [ebp - 0x220], 0
jne 0x43172a
mov ecx, dword [ebp - 0x21c]
sub ecx, dword [ebp - 0x22c]
sar ecx, 1
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 2
jb 0x4317f5
mov edx, 2
shl edx, 0
movzx eax, word [ebp + edx - 0x214]
cmp eax, 0x3a
jne 0x4317f5
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edx, 2
imul eax, edx, 0
mov ecx, 2
imul edx, ecx, 0
mov ax, word [ebp + eax - 0x214]
mov word [ebp + edx - 0xc], ax
mov ecx, 2
shl ecx, 0
mov edx, 0x3a
mov word [ebp + ecx - 0xc], dx
mov eax, 2
shl eax, 1
mov ecx, 0x5c
mov word [ebp + eax - 0xc], cx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 3
je 0x4317f5
push 0
push 0
push 0x465
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret
Function at 0x435980
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.00537800
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110c], 0x400
push 0x800
push 0
lea eax, [ebp - 0x1104]
push eax
call fcn.0058abd0
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x904]
push ecx
call fcn.0058abd0
add esp, 0xc
lea edx, [ebp - 0x1104]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1110], 0xa
push 0x100
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.0058abd0
add esp, 0xc
mov dword [ebp - 0x1108], 0
jmp 0x435a1a
mov ecx, dword [ebp - 0x1108]
add ecx, 1
mov dword [ebp - 0x1108], ecx
cmp dword [ebp - 0x1108], 0xa
jge 0x435a92
push 0x80
lea edx, [ebp - 0x104]
push edx
call fcn.00415020
add esp, 8
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x1104]
push ecx
lea edx, [ebp - 0x904]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea eax, [ebp - 0x904]
push eax
call fcn.004169b0
add esp, 8
lea ecx, [ebp - 0x904]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435a8d
lea edx, [ebp - 0x904]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040aac0
mov eax, 1
jmp 0x435a94
jmp 0x435a0b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret

Function at 0x435ab0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x435b29
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x435b1f
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret
Function at 0x439420
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61136b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040ab00
mov dword [ebp - 4], 0
push 0x663180
lea ecx, [ebp - 0x424]
call fcn.00414a80
push 0x410
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058abd0
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.GeeksUninstProliveupd
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.updatecfg.ini
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 3
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040f070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x439512
push 7
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x424]
call fcn.0040f070
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0040aae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret

Function at 0x43cf00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x43cf21
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x43cf39
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x43cf51
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x43cf67
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x43cf7f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44ada0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x44adc5
xor eax, eax
jmp 0x44ae5d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x44add5
xor eax, eax
jmp 0x44ae5d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00537690
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x44ae05
xor eax, eax
jmp 0x44ae5d
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
add ecx, 0x1d4
call fcn.004474f0
push 0
push 0
push 0
push 0x62f1e0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00442880
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x466f20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x41
je 0x466f50
cmp dword [ebp - 8], 0x43
je 0x466f8e
cmp dword [ebp - 8], 0x58
je 0x466fc4
jmp 0x466ff8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x466f8c
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
call fcn.00467480
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.selectallkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00442880
jmp 0x466ff8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x466fc2
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.copykey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00442880
jmp 0x466ff8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x466ff8
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.cutkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00442880
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46eb70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x594], 0
je 0x46ec1d
cmp dword [ebp + 8], 0x100
jne 0x46ebed
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x46ebed
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59a]
test eax, eax
je 0x46ebc6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x46ebed
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59b]
test eax, eax
jne 0x46ebed
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x46ebe9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.00442880
xor eax, eax
jmp 0x46ec22
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x594]
call fcn.0046b2d0
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x46ec22
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x470390
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x10], 0
jne 0x4703bc
xor eax, eax
jmp 0x4705d2
cmp dword [ebp + 8], 0
je 0x4703d0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4703d7
xor eax, eax
jmp 0x4705d2
cmp dword [ebp + 0xc], 0
je 0x4703ed
mov edx, dword [ebp + 0xc]
push edx
call fcn.005afdb4
add esp, 4
test eax, eax
jne 0x4703fa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x260], 1
push 0x697b18
push 0x208
call fcn.00537378
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x258], ecx
push 0x697b18
push 0x208
call fcn.00537378
add esp, 8
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.005b0cd4
add esp, 0xc
push 0x630a80
push 0x104
mov edx, dword [ebp - 0x258]
push edx
call fcn.005b0db0
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
jne 0x4704af
mov dword [ebp - 0x260], 0
jmp 0x470596
push 0x62e284
lea edx, [ebp - 0x228]
push edx
call fcn.005b2cdc
add esp, 8
test eax, eax
je 0x4704df
push 0x630a88
lea eax, [ebp - 0x228]
push eax
call fcn.005b2cdc
add esp, 8
test eax, eax
jne 0x4704e4
jmp 0x470572
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005b0cd4
add esp, 0xc
push 0x630a7c
push 0x104
mov eax, dword [ebp - 0x25c]
push eax
call fcn.005b0db0
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
push 0x104
mov edx, dword [ebp - 0x25c]
push edx
call fcn.005b0db0
add esp, 0xc
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.004705f0
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x470572
jmp 0x47058e
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4704af
xor ecx, ecx
jne 0x47044c
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
push eax
call fcn.0053705b
add esp, 4
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
push edx
call fcn.0053705b
add esp, 4
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 8
Function at 0x470d50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x470d63
cmp dword [ebp + 0xc], 0
jne 0x470d67
xor eax, eax
jmp 0x470dd6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 6]
mov word [eax + 4], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 6], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xa]
mov word [eax + 8], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xc]
mov word [eax + 0xa], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xe]
mov word [eax + 0xc], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xe], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x12], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x16], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8