joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416387
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x23c
mov eax, 0x49e5df
call fcn.0045cd4f
mov edx, ecx
xor ebx, ebx
lea ecx, [ebp - 0x230]
call fcn.004164e6
push ecx
lea edx, [ebp - 0x230]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x248]
call fcn.004172ee
pop ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004117ee
lea ecx, [ebp - 0x248]
call fcn.00408cf0
lea ecx, [ebp - 0x230]
call fcn.00408b05
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x416430
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0045e560
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x230]
call fcn.00408b05
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
test eax, eax
jne 0x4164d3
lea ecx, [ebp - 0x230]
mov esi, ebx
call fcn.00408b05
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4164a0
lea ecx, [ebp - 0x230]
call fcn.00408b05
mov edx, eax
lea ecx, [ebp - 0x248]
call fcn.0041630a
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.0040f3b1
test al, al
je 0x416480
lea ecx, [ebp - 0x248]
call fcn.00408cf0
jmp 0x4164d3
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409086
lea ecx, [ebp - 0x248]
call fcn.00408cf0
xor esi, esi
inc esi
push ebx
push 0x2000000
push 3
push ebx
push 7
lea eax, [esi*2 + 2]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408b05
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4164d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x230]
call fcn.00408cf0
mov al, bl
call fcn.0045ccf9
ret
Function at 0x416e17
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x416e96
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp eax, 0x6400000
jae 0x416e8f
add eax, 0xa
push eax
call fcn.0045c5fc
mov edi, eax
pop ecx
test edi, edi
je 0x416e8f
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov byte [edi + eax], 0
test ebx, ebx
je 0x416e8b
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, edi
jmp 0x416e98
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a63c
Capabilities:
Get file size
Read file on windows

Disassembly:
push 4
mov eax, 0x49ea4d
call fcn.0045cd1b
mov edi, edx
mov esi, ecx
push 0x78
call fcn.0045c429
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0041e650
or dword [ebp - 4], 0xffffffff
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a6ee
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
call fcn.0045c5fc
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push esi
mov byte [esi + eax], 0
mov ecx, dword [edi]
call fcn.0041e6ff
push 1
push esi
test al, al
je 0x41a6d8
call fcn.0045c181
pop ecx
pop ecx
mov al, 1
jmp 0x41a6f0
call fcn.0045c181
pop ecx
pop ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x41a6eb
push ecx
call fcn.0041a6f6
and dword [edi], 0
xor al, al
call fcn.0045cce4
ret
Function at 0x41a9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x828
mov eax, 0x49ead9
call fcn.0045cd4f
mov edi, ecx
mov dword [ebp - 0x82c], edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x834]
mov ebx, dword [ebp + 0xc]
push eax
push 1
push 0
push ecx
mov dword [ebp - 0x82c], edi
and dword [ebp - 0x834], 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x834], 0
jne 0x41aa32
mov ecx, edi
call fcn.004097a0
jmp 0x41ab2e
push 0x800
xor esi, esi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0045e560
add esp, 0xc
lea ecx, [ebp - 0x828]
call fcn.004097a0
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push ecx
lea eax, [ebp - 0x830]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push dword [ebp - 0x834]
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41aaf1
cmp dword [ebp - 0x830], 1
je 0x41aaa1
cmp dword [ebp - 0x830], 2
je 0x41aaa1
cmp dword [ebp - 0x830], 7
jne 0x41aaf1
cmp dword [ebp - 0x82c], 0x800
jae 0x41aab5
lea esi, [ebp - 0x810]
jmp 0x41aac3
push dword [ebp - 0x82c]
call fcn.0045c5fc
pop ecx
mov esi, eax
lea eax, [ebp - 0x82c]
push eax
push esi
lea eax, [ebp - 0x830]
push eax
push 0
push ebx
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41aaf1
push esi
lea ecx, [ebp - 0x828]
call fcn.0040848d
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41ab15
lea eax, [ebp - 0x810]
cmp esi, eax
je 0x41ab15
push 2
push esi
call fcn.0045c181
pop ecx
pop ecx
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00409c89
lea ecx, [ebp - 0x828]
call fcn.00408cf0
mov eax, edi
call fcn.0045ccf9
ret

Function at 0x41ab58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 1
push edi
push edx
push SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], edi
jne 0x41ab80
xor eax, eax
jmp 0x41abd9
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41abcd
push 4
pop eax
cmp dword [ebp - 8], eax
je 0x41abb1
cmp dword [ebp - 8], 5
jne 0x41abcd
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
leave
ret
Function at 0x41abdc
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x82c
mov eax, 0x49eb0c
call fcn.0045cd4f
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x82c]
push eax
push 9
push edi
push edx
push ecx
mov dword [ebp - 0x82c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x82c], edi
je 0x41ad71
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], edi
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], edi
push eax
push edi
push edi
push edi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x41ad5e
mov ebx, dword [ebp - 0x834]
test ebx, ebx
je 0x41ad5e
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0045e560
mov eax, dword [ebp - 0x830]
add esp, 0xc
push 2
pop edx
cmp eax, 0x400
jae 0x41ac8e
lea edi, [ebp - 0x810]
jmp 0x41acbb
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045c5fc
mov ecx, dword [ebp - 0x830]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.0045e560
mov ebx, dword [ebp - 0x834]
add esp, 0x10
mov ecx, dword [ebp - 0x838]
push ebx
call fcn.0041b223
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
xor ebx, ebx
inc ebx
jmp 0x41ad3e
cmp esi, 0xea
je 0x41ad1f
test esi, esi
jne 0x41ad1f
push edi
lea ecx, [ebp - 0x828]
call fcn.00408923
mov ecx, dword [ebp - 0x838]
lea eax, [ebp - 0x828]
and dword [ebp - 4], esi
push eax
call fcn.0041160d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00408cf0
cmp ebx, dword [ebp - 0x834]
jae 0x41ad4a
mov eax, dword [ebp - 0x830]
inc eax
push eax
push edi
push ebx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x41ace3
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x41ad5e
push 2
push edi
call fcn.0045c181
pop ecx
pop ecx
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x41ad73
xor al, al
call fcn.0045ccf9
ret
Function at 0x41ad79
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x49eb3f
call fcn.0045cd4f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], eax
inc ebx
lea eax, [ebp - 0x830]
xor edi, edi
push eax
push ebx
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], edi
jne 0x41adb6
xor al, al
jmp 0x41af3a
push edi
push edi
push edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x82c], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
jne 0x41af37
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0045e560
mov ecx, dword [ebp - 0x82c]
add esp, 0xc
mov eax, 0x400
mov dword [ebp - 0x838], eax
push 2
pop edx
cmp ecx, eax
jae 0x41ae18
lea edi, [ebp - 0x810]
jmp 0x41ae4e
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045c5fc
mov ecx, dword [ebp - 0x82c]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.0045e560
mov eax, dword [ebp - 0x82c]
add esp, 0x10
inc eax
mov dword [ebp - 0x838], eax
xor ecx, ecx
mov dword [ebp - 0x834], eax
push ecx
push ecx
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], ebx
push eax
push ecx
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x41af11
cmp esi, 0xea
je 0x41af21
test esi, esi
jne 0x41aedd
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00408923
mov ecx, dword [ebp - 0x840]
push eax
mov dword [ebp - 4], esi
call fcn.0041160d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00408cf0
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0045e560
add esp, 0xc
jmp 0x41aedf
xor esi, esi
mov eax, dword [ebp - 0x838]
push esi
push esi
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x83c]
push eax
push esi
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
mov esi, eax
cmp esi, 0x103
jne 0x41ae86
xor esi, esi
lea eax, [ebp - 0x810]
cmp edi, eax
je 0x41af35
push 2
push edi
call fcn.0045c181
pop ecx
pop ecx
test esi, esi
sete al
call fcn.0045ccf9
ret
Function at 0x41b08c
Capabilities:
Delete registry key

Disassembly:
push 0x54
mov eax, 0x49eb90
call fcn.0045cd4f
mov esi, edx
mov dword [ebp - 0x54], esi
mov edi, ecx
mov dword [ebp - 0x50], edi
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
test esi, esi
jne 0x41b0b7
xor al, al
jmp 0x41b1d5
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41b0ca
mov al, 1
jmp 0x41b1d5
lea ecx, [ebp - 0x60]
call fcn.00407ae3
lea eax, [ebp - 0x60]
mov dword [ebp - 4], ebx
push eax
mov edx, esi
mov ecx, edi
call fcn.0041abdc
pop ecx
test al, al
je 0x41b1cb
push esi
lea ecx, [ebp - 0x40]
call fcn.00408923
push 0x4b894c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00407b5c
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], ebx
call fcn.004115e4
test eax, eax
je 0x41b1b3
mov esi, dword [ebp - 0x44]
push ebx
lea ecx, [ebp - 0x60]
call fcn.004115c9
mov ebx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004097a0
or esi, 1
mov ecx, ebx
mov edi, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], esi
call fcn.00409072
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00409072
add esi, eax
lea ecx, [ebp - 0x28]
push esi
call fcn.00409964
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409a07
push ebx
lea ecx, [ebp - 0x28]
call fcn.00409a07
mov ecx, edi
call fcn.00408b05
mov edi, dword [ebp - 0x50]
mov edx, eax
mov ecx, edi
call fcn.0041b08c
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov bl, al
mov byte [ebp - 4], 1
and esi, 0xfffffffe
call fcn.00408cf0
test bl, bl
je 0x41b1db
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
inc ebx
mov dword [ebp - 0x48], ebx
call fcn.004115e4
cmp ebx, eax
jb 0x41b11b
mov esi, dword [ebp - 0x54]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x40]
call fcn.00408cf0
lea ecx, [ebp - 0x60]
call fcn.00407b21
mov al, bl
call fcn.0045ccf9
ret
xor ebx, ebx
jmp 0x41b1c3
Function at 0x42b19b
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x49fe7c
call fcn.0045cd1b
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423114
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 9
jne 0x42b1fb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x42b2b9
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x42b1f3
push esi
push esi
push esi
push 0xc
call fcn.00424e95
test eax, eax
jne 0x42b2b9
xor esi, esi
inc esi
jmp 0x42b2b9
cmp ebx, 0x25
je 0x42b213
cmp ebx, 0x27
je 0x42b213
cmp ebx, 0x26
je 0x42b213
cmp ebx, 0x28
jne 0x42b2b9
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x42b2b9
push esi
push esi
push esi
push 0xb
call fcn.00424e95
test eax, eax
jne 0x42b2b9
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x2c], esi
je 0x42b2b9
cmp ebx, 0x25
jb 0x42b2b9
cmp ebx, 0x26
jbe 0x42b257
cmp ebx, 0x28
ja 0x42b2b9
push eax
mov ecx, edi
call 0x429b54
jmp 0x42b25f
push eax
mov ecx, edi
call 0x429bf6
mov ebx, eax
test ebx, ebx
je 0x42b2b9
push ebx
mov ecx, edi
call fcn.00428a85
push esi
push esi
push esi
push 0x11
mov ecx, ebx
call fcn.00424e95
cmp eax, 4
jne 0x42b294
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xac]
mov dword [ebp - 0x14], esi
call fcn.00427f65
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6e
call fcn.00424e95
cmp eax, 1
jne 0x42b2b9
mov ecx, dword [edi + 0xb0]
push esi
push esi
push esi
push 0x6f
call fcn.00424e95
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00426671
mov eax, esi
call fcn.0045cce4
ret 8

Function at 0x42b2d9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x49fe59
call fcn.0045cd1b
mov edi, ecx
push dword [edi + 0xb0]
lea ecx, [ebp - 0x18]
call fcn.00423114
xor esi, esi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], esi
jne 0x42b32a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x42b32a
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x42b327
push esi
push esi
push esi
push 0xc
call fcn.00424e95
test eax, eax
jne 0x42b32a
xor esi, esi
inc esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CTrackFinalEvent.0
call fcn.00426671
mov eax, esi
call fcn.0045cce4
ret 8
Function at 0x42b34a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x49fe7c
call fcn.0045cd1b
mov esi, ecx
push dword [esi + 0xb0]
lea ecx, [ebp - 0x20]
call fcn.00423114
xor edi, edi
cmp dword [ebp + 8], 9
mov dword [ebp - 4], edi
jne 0x42b449
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x42b449
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x42b3a4
push edi
push edi
push edi
push 0xc
call fcn.00424e95
test eax, eax
jne 0x42b449
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
inc ebx
mov byte [esi + 0xce], bl
test ecx, ecx
je 0x42b3c5
push 0x8000
call fcn.0040d70b
test al, al
jne 0x42b3cb
mov edi, dword [esi + 0xc0]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
push edi
test al, 1
je 0x42b3e4
call fcn.00429413
jmp 0x42b3e9
call fcn.004292e0
mov edi, eax
test edi, edi
je 0x42b421
push edi
mov ecx, esi
call fcn.00428a85
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push 0x11
call fcn.00424e95
cmp eax, 4
jne 0x42b421
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
or dword [ebp - 0x10], 0xffffffff
lea ecx, [edi + 0xac]
push eax
call fcn.00427f65
mov ecx, dword [esi + 0xb0]
xor edi, edi
push edi
push edi
push edi
push 0x6e
call fcn.00424e95
cmp eax, ebx
jne 0x42b44b
mov ecx, dword [esi + 0xb0]
push edi
push edi
push edi
push 0x6f
call fcn.00424e95
jmp 0x42b44b
mov ebx, edi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CTrackFinalEvent.0
call fcn.00426671
mov eax, ebx
call fcn.0045cce4
ret 8

Function at 0x43f488
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43f497
mov al, 1
ret
push ebx
push esi
push 0xd
mov bl, 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x43f4e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edx, eax
test edi, edi
je 0x43f4e8
test edx, edx
je 0x43f4e8
xor ecx, ecx
movzx eax, word [edi + ecx*2]
test ax, ax
je 0x43f4e1
add eax, 0xffffffd0
cmp ax, 9
ja 0x43f4df
inc ecx
cmp ecx, edx
jb 0x43f4c6
jmp 0x43f4e1
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, bl
pop ebx
ret
Function at 0x4402d4
Capabilities:
Enumerate processes

Disassembly:
push 0x2a0
mov eax, 0x4a1153
call fcn.0045cd4f
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2a4], ecx
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x440469
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x44045a
mov ecx, dword [ebp - 0x2a4]
xor edi, edi
call fcn.004115e4
test eax, eax
jle 0x44044c
and dword [ebp - 0x2a0], edi
mov ecx, dword [ebp - 0x2a4]
call fcn.00407cd3
mov ecx, dword [eax]
add ecx, dword [ebp - 0x2a0]
call fcn.00408b05
push eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x440418
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x44044a
push eax
lea ecx, [ebp - 0x58]
call fcn.00408923
and dword [ebp - 4], 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00416042
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00408cf0
push dword [ebp - 0x294]
mov ecx, 0x410
call fcn.0044325e
mov dword [ebp - 0x2ac], eax
test eax, eax
je 0x44040c
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00440a6e
mov ecx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 3
call fcn.00443166
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00416042
push eax
lea ecx, [ebp - 0x28]
call fcn.004117ee
lea ecx, [ebp - 0x70]
call fcn.00408cf0
push ecx
lea ecx, [ebp - 0x40]
call fcn.00408b05
push eax
lea ecx, [ebp - 0x28]
call fcn.00417117
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
je 0x440435
call fcn.00408cf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
mov ecx, dword [ebp - 0x2a4]
inc edi
add dword [ebp - 0x2a0], 0x18
call fcn.004115e4
cmp edi, eax
jl 0x44033e
jmp 0x44044c
mov bl, 1
call fcn.00408cf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
jmp 0x44044c
mov bl, 1
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x440323
mov ecx, esi
call fcn.00443166
mov al, bl
call fcn.0045ccf9
ret
Function at 0x4407a0
Capabilities:
Copy file
Get common file path
Print debug messages

Disassembly:
push 0x6d0
mov eax, 0x4a1206
call fcn.0045cd4f
mov bl, dl
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x258]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x288]
call fcn.00408923
and dword [ebp - 4], 0
lea ecx, [ebp - 0x288]
push esi
call fcn.00409a07
lea ecx, [ebp - 0x270]
call fcn.0043ffd1
push 0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.00408b05
push eax
lea ecx, [ebp - 0x270]
call fcn.00408b05
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4409dd
lea ecx, [ebp - 0x270]
call fcn.00408b05
mov edx, eax
lea ecx, [ebp - 0x2b8]
call fcn.004164e6
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 2
call fcn.0041d1ae
dec eax
push eax
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.0041d1ae
mov esi, eax
cmp esi, 0xffffffff
je 0x4409d2
lea ecx, [ebp - 0x6dc]
call fcn.00410936
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 3
push edi
push eax
call fcn.0040f2fd
mov edi, 0x4bbf80
lea eax, [ebp - 0x6dc]
push edi
push eax
call fcn.004108ce
add esp, 0x10
lea eax, [ebp - 0x6dc]
test bl, bl
je 0x4408a6
push 0x4bbfec
jmp 0x4408ab
push 0x4bbff0
push eax
call fcn.004108ce
pop ecx
pop ecx
lea eax, [ebp - 0x6dc]
push edi
push eax
call fcn.004108ce
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0x20
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004622ac
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6dc]
push eax
call fcn.004108ce
lea eax, [ebp - 0x6dc]
push edi
push eax
call fcn.004108ce
mov edi, 0x4bbf7c
lea eax, [ebp - 0x6dc]
push edi
push eax
call fcn.004108ce
add esp, 0x28
lea eax, [ebp - 0x2a0]
xor ebx, ebx
lea ecx, [ebp - 0x270]
push esi
push ebx
push eax
call fcn.00417003
push eax
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 4
push eax
call fcn.0040f2fd
pop ecx
pop ecx
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 3
call fcn.00408cf0
lea eax, [ebp - 0x6dc]
push edi
push eax
call fcn.004108ce
pop ecx
pop ecx
lea ecx, [ebp - 0x6dc]
call fcn.00410b38
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x6dc]
call fcn.00410b38
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00408923
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call fcn.00408b05
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00408923
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2a0]
push ebx
lea ecx, [ebp - 0x2d0]
call fcn.0044004c
add esp, 0x14
lea ecx, [ebp - 0x2d0]
call fcn.00408cf0
lea ecx, [ebp - 0x2a0]
call fcn.00408cf0
lea ecx, [ebp - 0x6dc]
call fcn.00410913
lea ecx, [ebp - 0x2b8]
call fcn.00408cf0
lea ecx, [ebp - 0x270]
call fcn.00408cf0
lea ecx, [ebp - 0x288]
call fcn.00408cf0
mov al, 1
call fcn.0045ccf9
ret