joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3e50
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4d3e8b
cmp dword [ebx + 0x5c], 0
je 0x4d3e8b
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004cc374
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4d3fd6
cmp dword [ebx + 0x7c], 0
jne 0x4d3eb1
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b44
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4d3faf
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4d3fdc]
push eax
mov al, byte [0x4d3fe0]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x647934]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4b8c28]
call fcn.004bb464
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4d3fa8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004cc374
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004cc374
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4c9c30]
call fcn.004062d8
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4d3f7b
mov edx, dword [0x647cac]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4d3f8c
cmp eax, 0x1007
jne 0x4d3f88
mov byte [ebx + 0x74], 0x18
jmp 0x4d3f8c
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3fd6
mov eax, dword [ebp - 4]
call fcn.00403b74
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004cc374
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e9674
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e9705
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x10]
mov edx, edi
call fcn.00404adc
lea edx, [ebp - 4]
mov eax, esi
call fcn.004e9a48
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xc]
call fcn.004051e0
mov eax, esi
call fcn.004e9a00
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, esi
call fcn.004e99e4
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
lea edx, [ebp - 8]
mov eax, esi
call fcn.004e9a30
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x30]
call fcn.004051e0
mov eax, esi
call fcn.004e9a44
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e970c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051bc
ret

Function at 0x4ea1c4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push esi
mov ecx, 0x811c9dc5
mov ebx, eax
mov eax, edx
dec eax
test eax, eax
jl 0x4ea1e7
inc eax
xor edx, edx
movzx esi, byte [ebx + edx]
xor ecx, esi
imul ecx, ecx, 0x1000193
inc edx
dec eax
jne 0x4ea1d7
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x54d768
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x54d770
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x54d940
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x54d954
mov eax, esi
call fcn.004fb8c4
mov eax, dword [ebp - 0xc]
mov edx, 9
call fcn.005020e4
mov byte [edi + 0x29], al
lea ecx, [ebp - 0x10]
mov edx, 0x54d96c
mov eax, esi
call fcn.004fb8c4
mov eax, dword [ebp - 0x10]
mov edx, 0x64
call fcn.005020e4
mov dword [edi + 0x30], eax
lea ecx, [ebp - 0x14]
mov edx, 0x54d97c
mov eax, esi
call fcn.004fb8c4
mov eax, dword [ebp - 0x14]
mov edx, 1
call fcn.005020e4
mov dword [edi + 0x34], eax
lea ecx, [ebp - 0x18]
mov edx, 0x54d998
mov eax, esi
call fcn.004fb8c4
mov eax, dword [ebp - 0x18]
mov edx, 1
call fcn.005020e4
mov dword [edi + 0x38], eax
lea ecx, [ebp - 0x20]
mov edx, 0x54d9b4
mov eax, esi
call fcn.004fb8c4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404d20
mov eax, dword [ebp - 0x1c]
call fcn.0051e848
mov byte [edi + 0x2a], al
lea ecx, [ebp - 0x28]
mov edx, 0x54d9d0
mov eax, esi
call fcn.004fb8c4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00404d20
mov eax, dword [ebp - 0x24]
call fcn.0051e8dc
mov byte [edi + 0x2b], al
lea ecx, [ebp - 0x30]
mov edx, 0x54d9e8
mov eax, esi
call fcn.004fb8c4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00404d20
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.0051ebcc
mov ebx, eax
mov byte [edi + 0x44], bl
test bl, bl
je 0x54d8de
push 0
push 1
lea ecx, [ebp - 0x38]
mov edx, 0x54da14
mov eax, esi
call fcn.004fb8c4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.00404d20
mov eax, dword [ebp - 0x34]
call fcn.0040a36c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x54d8bc
cmp dword [ebp - 8], 0x7fffffff
jbe 0x54d8d6
jmp 0x54d8be
jle 0x54d8d6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub eax, 0xffffffff
sbb edx, 0
sub eax, 1
sbb edx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov dword [edi + 0x40], eax
jmp 0x54d8e5
mov dword [edi + 0x40], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54d947
lea eax, [ebp - 0x38]
call fcn.004051a4
lea eax, [ebp - 0x34]
call fcn.00404a88
lea eax, [ebp - 0x30]
call fcn.004051a4
lea eax, [ebp - 0x2c]
call fcn.00404a88
lea eax, [ebp - 0x28]
call fcn.004051a4
lea eax, [ebp - 0x24]
call fcn.00404a88
lea eax, [ebp - 0x20]
call fcn.004051a4
lea eax, [ebp - 0x1c]
call fcn.00404a88
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004051bc
ret
Function at 0x57add8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57b040
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov dl, 1
mov eax, dword [0x44e06c]
call fcn.00453764
mov esi, eax
mov dword [ebx + 0x348], esi
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov edx, edi
mov eax, dword [ebx + 0x348]
call fcn.0045ff9c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x348]
call fcn.0045ffc0
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x348]
call fcn.0045ffe8
mov esi, dword [ebx + 0x348]
mov eax, dword [esi + 0x30]
call fcn.00460274
mov edx, dword [ebx + 0x348]
sub eax, dword [edx + 0x44]
push eax
mov eax, 0x3c
call fcn.0057a720
pop edx
sub edx, eax
mov eax, esi
call fcn.0046000c
lea eax, [ebp - 8]
mov edx, dword [0x647a7c]
mov edx, dword [edx]
call fcn.00404d20
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x348]
call fcn.0046085c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x56ded4]
call fcn.0056fc2c
mov esi, eax
mov dword [ebx + 0x34c], esi
mov edx, dword [ebx + 0x348]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, 0xa
call fcn.0057a720
mov edx, eax
mov eax, dword [ebx + 0x34c]
call fcn.0045ff9c
mov eax, 4
call fcn.0057a720
mov edx, eax
mov eax, dword [ebx + 0x34c]
call fcn.0045ffc0
mov esi, dword [ebx + 0x34c]
mov eax, dword [esi + 0x30]
call fcn.00460230
mov edx, eax
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x40]
add eax, eax
sub edx, eax
mov eax, esi
call fcn.0045ffe8
mov esi, dword [ebx + 0x34c]
mov eax, dword [esi + 0x30]
call fcn.00460274
mov edx, dword [ebx + 0x34c]
sub eax, dword [edx + 0x44]
push eax
mov eax, 0xa
call fcn.0057a720
pop edx
sub edx, eax
mov eax, esi
call fcn.0046000c
mov eax, 0x64
call fcn.0057a720
mov edx, eax
mov eax, dword [ebx + 0x34c]
call fcn.005745d0
mov eax, 0x12
call fcn.0057a720
mov edx, eax
mov eax, dword [ebx + 0x34c]
call fcn.0057460c
xor edx, edx
mov eax, dword [ebx + 0x34c]
call fcn.0057465c
xor edx, edx
mov eax, dword [ebx + 0x34c]
call fcn.005746f4
mov edx, 2
mov eax, dword [ebx + 0x34c]
call fcn.0057486c
mov edx, 2
mov eax, dword [ebx + 0x34c]
call fcn.005744c8
mov edx, 1
mov eax, dword [ebx + 0x34c]
call fcn.0057465c
mov edx, 1
mov eax, dword [ebx + 0x34c]
call fcn.005746f4
mov eax, 0x16
call fcn.0057a720
mov ecx, eax
xor edx, edx
mov eax, dword [ebx + 0x34c]
call fcn.00574524
mov esi, dword [ebx + 0x34c]
mov dx, word [esi + 0x248]
or dx, word [0x57b050]
mov eax, esi
call fcn.005747dc
mov esi, dword [ebx + 0x34c]
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x57b8a0
mov byte [esi + 0x28c], 1
mov eax, 0xf
call fcn.0057a720
mov edx, eax
add edx, dword [esi + 0x44]
mov eax, esi
call fcn.0045ffc0
xor edx, edx
mov eax, dword [ebx + 0x34c]
call fcn.00467228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b047
lea eax, [ebp - 8]
call fcn.00404a88
ret
Function at 0x58e2dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x58e2f5
test al, 0x10
jne 0x58e2f9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x58e300
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00404f48
xor eax, eax
push ebp
push 0x58e4db
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403474
mov edi, eax
cmp dword [ebp + 0x20], 0
je 0x58e3a9
cmp dword [ebp - 0x10], 0
je 0x58e3a9
mov eax, dword [ebp + 0x20]
call fcn.0040a718
test al, al
jne 0x58e35f
mov eax, dword [ebp + 0x20]
call fcn.0058e2dc
test al, al
je 0x58e382
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00404f58
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x58e3a3
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00404f58
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x58e3d0
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x58e4ec
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x58e3ef
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x58e4ec
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0041ee94
test bl, bl
je 0x58e42f
cmp byte [ebp + 0x14], 0
jne 0x58e42f
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042e5ac
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x58e4c5
mov dl, 1
mov eax, dword [0x42c120]
call fcn.00432784
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.00432d4c
call fcn.0042e5ac
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00402c5c
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00402c5c
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.0058e200
mov eax, ebx
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58e4e2
lea eax, [ebp + 0x20]
call fcn.00404a88
ret
Function at 0x59475c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x594788
cmp dword [esp + 4], 5
jne 0x594784
cmp dword [esp + 8], 1
jae 0x594788
xor eax, eax
jmp 0x59478a
mov al, 1
mov byte [0x649178], al
add esp, 0x94
ret

Function at 0x5962c0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x5962ec
cmp dword [esp + 4], 5
jne 0x5962e8
cmp dword [esp + 8], 1
jae 0x5962ec
xor eax, eax
jmp 0x5962ee
mov al, 1
add esp, 0x94
ret

Function at 0x5a1c5c
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5a1c7d
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5a1c7d
xor eax, eax
ret
mov al, 1
ret

Function at 0x5a2c04
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5a2c16
add esp, 0xfffffff0
call fcn.00403ed8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406b24
xor eax, eax
push ebp
push 0x5a2c99
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403b44
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005a2d90
mov dl, 1
mov eax, dword [0x41e190]
call fcn.00403b44
mov dword [esi + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a2c83
push 0x5a2cbc
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x6491e4], eax
push 0x5a2cd0
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x6491e8], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2ca0
lea eax, [ebp - 4]
call fcn.00406ab0
ret

Function at 0x5a6978
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x5a69dc
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d08
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a334
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a69e3
lea eax, [ebp - 0xc]
call fcn.00404a88
ret
Function at 0x5a6cd0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
lea edi, [ebp - 0x20]
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
xor eax, eax
push ebp
push 0x5a6df6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [0x647e28]
cmp dword [eax], 2
jne 0x5a6de0
cmp dword [ebp - 0x20], 0x10f
jne 0x5a6de0
test byte [ebp - 0x17], 8
je 0x5a6de0
mov eax, dword [ebp - 4]
push eax
call sub.imm32.dll_ImmGetContext
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5a6de0
xor eax, eax
push ebp
push 0x5a6da9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
push 0
push 0
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.imm32.dll_ImmGetCompositionStringW
mov edx, eax
sar edx, 1
jns 0x5a6d64
adc edx, 0
lea eax, [ebp - 0x10]
call fcn.0040564c
mov eax, dword [ebp - 0x10]
call fcn.00405384
add eax, eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405374
push eax
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.imm32.dll_ImmGetCompositionStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a6db0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.imm32.dll_ImmReleaseContext
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a6dfd
lea eax, [ebp - 0x10]
call fcn.004051a4
ret

Function at 0x5a77cc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a788f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004673ec
test al, al
je 0x5a7801
mov eax, ebx
call fcn.004670e8
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x5a7834
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0046082c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00405364
mov eax, dword [0x647e28]
cmp dword [eax], 2
jne 0x5a7879
mov edx, dword [esi]
mov eax, ebx
call fcn.005a74a0
mov edx, dword [eax + 0x30]
mov eax, esi
call fcn.004051e0
jmp 0x5a7879
mov eax, ebx
call fcn.004670e8
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, esi
call fcn.0040564c
mov eax, dword [esi]
call fcn.00405384
push eax
mov eax, dword [esi]
call fcn.00405374
push eax
mov eax, ebx
call fcn.004670e8
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [esi]
call fcn.00405384
mov edx, eax
dec edx
mov eax, esi
call fcn.0040564c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a7896
lea eax, [ebp - 4]
call fcn.00404a88
ret

Function at 0x5a8c4c
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5a8c6d
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5a8c6d
xor eax, eax
ret
mov al, 1
ret
Function at 0x5b55dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f48
xor eax, eax
push ebp
push 0x5b5688
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040ab40

Function at 0x5dea70
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
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 ebx, eax
mov dl, 1
mov eax, dword [0x41e480]
call fcn.00403b44
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x43e670]
call fcn.00403b44
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x5deb8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.005de460
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5deb50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x5deb3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
call fcn.00402a04
mov eax, dword [ebp - 0x18]
push eax
movzx eax, word [0x649278]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5deb46
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x5deb9c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5dec6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0059a6dc
mov edx, dword [ebp - 4]
mov eax, 0x5dec84
call fcn.0040509c
test eax, eax
je 0x5dec57
mov eax, dword [ebp - 4]
call fcn.00404d58
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov ebx, eax
test ebx, ebx
je 0x5dec57
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
jne 0x5dec02
push ebx
call sub.kernel32.dll_GlobalFree
jmp 0x5dec57
mov edx, 0x5dec88
mov eax, esi
call fcn.0040aae4
mov eax, dword [ebp - 4]
call fcn.00404f58
mov edx, eax
mov eax, esi
call fcn.0040ab84
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, edi
call fcn.004670e8
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x5dec3e
push ebx
call sub.kernel32.dll_GlobalFree
jmp 0x5dec57
push 0x5dec8c
call sub.user32.dll_RegisterClipboardFormatA
push ebx
movzx eax, ax
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dec74
lea eax, [ebp - 4]
call fcn.00404a88
ret
Function at 0x5ea1e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x34]
mov ebx, eax
test ebx, ebx
je 0x5ea228
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x20c0]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 0x20c4]
mov dword [ebx + 0x3c], edx
mov eax, ebx
call fcn.004673ec
test al, al
je 0x5ea228
push 0
mov eax, ebx
call fcn.004670e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x5f5213
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x64689e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f526b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x6468bf
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x5f5261
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x5f526f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x603974
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6039a2
mov eax, ebx
call fcn.00604428
cmp dword [ebx + 0x40], 0
je 0x60399b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x603a13
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x603a05
cmp dword [ebx + 8], 0
je 0x6039c4
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 0x6039d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x603a05
cmp dword [ebx + 8], 0
je 0x6039b7
cmp eax, 3
je 0x6039e9
dec eax
jne 0x6039b7
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 0x6039b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6039b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x603a31
cmp dword [ebx + 0x14], 0xcc
je 0x603a31
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.00603a3c
pop ebx
ret

Function at 0x619cc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x619cdd
test al, 0x10
jne 0x619ce1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret