joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408579
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0x38
pop eax
mov esi, dword [edi + 8]
and esi, 0x3f
mov byte [esi + edi + 0x40], 0x80
inc esi
cmp esi, eax
jbe 0x4085bc
push 0x40
pop ecx
cmp esi, ecx
je 0x4085ad
sub ecx, esi
lea eax, [edi + 0x40]
push ecx
add eax, esi
push 0
push eax
call fcn.00439720
add esp, 0xc
push 1
lea edx, [edi + 0x40]
lea ecx, [edi + 0x20]
call dword [edi]
push 0x38
xor esi, esi
pop eax
sub eax, esi
push eax
lea eax, [edi + 0x40]
add eax, esi
push 0
push eax
call fcn.00439720
mov ecx, dword [edi + 8]
lea esi, [edi + 0x20]
mov eax, dword [edi + 0xc]
lea edx, [edi + 0x40]
shld eax, ecx, 3
add esp, 0xc
shl ecx, 3
bswap ecx
bswap eax
mov dword [edi + 0x7c], ecx
mov ecx, esi
push 1
mov dword [edi + 0x78], eax
call dword [edi]
push 4
pop edx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea esi, [esi + 8]
bswap eax
mov dword [ebx], eax
lea ebx, [ebx + 8]
bswap ecx
mov dword [ebx - 4], ecx
sub edx, 1
jne 0x4085f5
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.004080a6

Function at 0x40a61a
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40a678
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40a669
push dword [ebp + 8]
push edi
push eax
call fcn.004391a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40a669
xor esi, esi
mov bl, 1
jmp 0x40a66b
xor bl, bl
test esi, esi
je 0x40a67a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40a67a
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x40a683
Capabilities:
Open clipboard

Disassembly:
push 0x20
mov eax, 0x4466ce
call fcn.004459b9
mov esi, edx
and dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne bl
mov byte [ebp - 0xd], bl
test bl, bl
je 0x40a74a
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40a74a
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea eax, [eax*2 + 2]
push eax
push 0xd
pop ecx
call fcn.0040a61a
push 0
mov edx, esi
lea ecx, [ebp - 0x20]
mov bh, al
call fcn.00409d3e
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
inc ecx
push ecx
mov ecx, eax
call fcn.0040a61a
push 1
test al, al
movzx ecx, bh
pop edi
cmovne ecx, edi
mov edx, esi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x2c]
push edi
call fcn.00409d3e
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00409179
push dword [ebp - 0x2c]
call fcn.00438207
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
inc eax
pop ecx
push eax
push 7
pop ecx
call fcn.0040a61a
mov ecx, dword [ebp - 0x14]
test al, al
push dword [ebp - 0x20]
movzx ecx, cl
cmovne ecx, edi
mov dword [ebp - 0x14], ecx
call fcn.00438207
pop ecx
jmp 0x40a74e
mov byte [ebp - 0x14], 0
test bl, bl
je 0x40a758
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, byte [ebp - 0x14]
call fcn.00445982
ret
Function at 0x40b139
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x78cdd1], 0
push esi
mov esi, edx
jne 0x40b171
mov edx, ecx
lea ecx, [ebp - 0xc]
call fcn.004099e8
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
je 0x40b17d
mov al, 1
jmp 0x40b17f
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jmp 0x40b16b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b184
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x78cdd1], 0
jne 0x40b1ba
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.004099e8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
pop esi
je 0x40b1c5
mov al, 1
jmp 0x40b1c7
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x40b1b4
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40b234
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x78cdd1], 0
jne 0x40b26c
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.004099e8
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
pop esi
je 0x40b279
mov al, 1
jmp 0x40b27b
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x40b266
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40b27f
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x4467d3
call fcn.004459b9
mov edi, ecx
cmp byte [0x78cdd1], 0
jne 0x40b2be
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.004099e8
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
je 0x40b2cc
mov al, 1
jmp 0x40b312
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x40b2b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b2dd
xor al, al
jmp 0x40b312
lea ecx, [ebp - 0x50]
call fcn.0040b712
lea ecx, [ebp - 0x28]
call fcn.004093d0
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0040bad8
test al, al
je 0x40b307
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00438207
pop ecx
mov al, bl
call fcn.00445982
ret
Function at 0x40b467
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0040ba91
cmp eax, 0xffffffff
je 0x40b494
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x40b494
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.0040b139
test al, al
je 0x40b4cd
cmp byte [0x78cdd1], 0
jne 0x40b4c2
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.004099e8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
je 0x40b4cd
mov al, 1
jmp 0x40b4cf
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x40b4bc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40ba91
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x78cdd1], 0
jne 0x40bac3
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.004099e8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00438207
pop ecx
mov eax, esi
pop esi
jmp 0x40bad4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x40c0f6
Capabilities:
Get disk information

Disassembly:
push 0x30
mov eax, 0x446945
call fcn.004459b9
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00408bfc
cmp byte [0x78cdd1], 0
jne 0x40c1e2
mov ecx, ebx
call fcn.00408bfc
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x40c13a
xor al, al
jmp 0x40c2ab
push edi
call fcn.0043830f
mov esi, eax
pop ecx
mov dword [ebp - 0x24], esi
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x40c2a2
cmp edi, dword [ebp - 0x1c]
ja 0x40c2a2
lea ecx, [ebp - 0x30]
call fcn.00409105
mov byte [ebp - 4], 1
test edi, edi
je 0x40c1db
xor eax, eax
mov dword [ebp - 0x18], edi
inc eax
mov ecx, edi
mov dword [ebp - 0x14], eax
cmp byte [esi + eax - 1], 0
jne 0x40c1cc
lea eax, [ebx + esi]
push eax
lea ecx, [ebp - 0x30]
call fcn.00409127
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x3c]
call fcn.00409a60
mov edi, eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00408ca7
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00408c68
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call fcn.00438207
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ebx
inc eax
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x40c182
mov edi, dword [ebp - 0x20]
cmp ebx, edi
jmp 0x40c296
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x40c133
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043830f
mov esi, eax
pop ecx
mov dword [ebp - 0x24], esi
push esi
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x40c2a2
cmp edi, dword [ebp - 0x20]
ja 0x40c2a2
lea ecx, [ebp - 0x30]
call fcn.004093d0
mov byte [ebp - 4], 4
mov edx, ebx
mov dword [ebp - 0x1c], edx
mov ecx, ebx
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x40c294
push 2
pop eax
mov dword [ebp - 0x18], eax
cmp word [esi + eax - 2], bx
jne 0x40c283
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x30]
call fcn.004094ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], eax
call fcn.00408ca7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.00408c68
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp - 0x14]
inc ecx
add eax, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp ecx, edi
jb 0x40c24d
mov edx, dword [ebp - 0x1c]
cmp edx, edi
push dword [ebp - 0x30]
sete bl
call fcn.00438207
pop ecx
push esi
call fcn.00438207
mov al, bl
pop ecx
call fcn.00445982
ret
Function at 0x40fdfe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
lea eax, [esp + 8]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor ebx, ebx
test eax, eax
je 0x40fe46
cmp dword [esp + 0x10], ebx
je 0x40fe46
mov edx, ebx
mov ecx, ebx
mov eax, dword [esp + 0x10]
shr eax, cl
and eax, 1
add edx, eax
inc ecx
cmp ecx, 0x20
jb 0x40fe33
jmp 0x40fe55
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x30]
mov eax, 0x40000000
mov dword [esi], edx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edx
mov byte [esi + 8], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call fcn.0040d68c
mov byte [esi + 9], al
test al, al
je 0x40fed2
mov edi, dword [esp + 0x14]
mov eax, 0x70000000
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
test edi, edi
jne 0x40fea7
cmp ebx, eax
jbe 0x40feab
mov ebx, eax
xor edi, edi
push ecx
push ecx
push edi
push ebx
call fcn.0040fdad
shrd ebx, edi, 5
push 0
push 0x11
shr edi, 5
push edi
push ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.00445c90
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4142a6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
push dword [ebp + 8]
mov byte [eax], bl
lea ecx, [esi - 4]
call fcn.00413f22
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x41433a
cmp edi, dword [esi + 0x60]
je 0x414334
mov eax, dword [esi + 0x74]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0xc], eax
lea ecx, [eax + 4]
call fcn.00408a53
mov ecx, eax
test ecx, ecx
jne 0x4143b2
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00408a53
mov ecx, eax
test ecx, ecx
jne 0x4143b2
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], bl
cmp dword [eax + 0xc], ebx
jne 0x414334
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push 0x417488
push ebx
push ebx
call fcn.0043e015
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x414334
call fcn.0040896c
mov ecx, eax
test ecx, ecx
jne 0x4143b2
inc edi
cmp edi, dword [esi + 0x78]
jb 0x4142ca
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x414363
cmp edi, dword [esi + 0x60]
je 0x41435d
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov byte [ecx + 0x10], bl
add ecx, 4
call fcn.004089ba
mov ecx, eax
test ecx, ecx
jne 0x4143b2
inc edi
cmp edi, dword [esi + 0x78]
jb 0x414341
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x74]
push dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
call fcn.00413b3d
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x4143c4
cmp ebx, dword [esi + 0x60]
je 0x414393
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 8]
call fcn.0040899e
test edi, edi
cmove edi, eax
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x41437b
push 0
pop ebx
test edi, edi
je 0x4143c4
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
jmp 0x41446e
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x41446e
push 0x80004004
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
push 0x8007000e
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
mov edi, dword [esi + 0x78]
mov ecx, ebx
test edi, edi
je 0x41441e
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x414416
cmp eax, 0x20000010
je 0x414416
cmp eax, 1
je 0x414416
cmp eax, 0x80004005
jne 0x41446e
inc ecx
add edx, 4
cmp ecx, edi
jb 0x4143fa
push 1
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
mov ecx, ebx
test edi, edi
je 0x41446c
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x414445
cmp eax, 0x20000010
jne 0x41446e
inc ecx
add edx, 4
cmp ecx, edi
jb 0x414435
test edi, edi
je 0x41446c
mov eax, dword [esi + 0x74]
push dword [ebp + 0x14]
mov ecx, dword [eax + ebx*4]
add ecx, 0x18
call fcn.0041369b
test eax, eax
jne 0x41446e
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x414451
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41deec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f1c
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.00438207
push dword [esi + 0xc0]
call fcn.00438207
push dword [esi + 0x9c]
call fcn.00438207
push dword [esi + 0x90]
call fcn.00438207
push dword [esi + 0x30]
call fcn.00438207
push dword [esi + 0x24]
call fcn.00438207
push dword [esi + 0x18]
call fcn.00438207
add esp, 0x1c
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41df69
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41df7d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41df91
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x41dfa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423456
Capabilities:
Get file system object information

Disassembly:
push 0x1d0
mov eax, 0x4488c2
call fcn.004459ed
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d0]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1ac], eax
call fcn.004093d0
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x4234d9
push dword [edi + 0xc]
lea ecx, [ebp - 0x1b8]
push dword [edi + 8]
call fcn.00423318
push eax
mov edx, 0xdb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.004233b5
push eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 2
call fcn.00409516
push dword [ebp - 0x1c4]
call fcn.00438207
pop ecx
mov byte [ebp - 4], 0
push dword [ebp - 0x1b8]
call fcn.00438207
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a8], eax
call fcn.004097d2
mov esi, eax
lea eax, [ebp - 0x1c4]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.004147b5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
mov eax, dword [edi + 0x18]
add eax, 2
lea eax, [eax + esi*2]
push eax
call fcn.004093f4
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.004233f5
lea eax, [ebp - 0x1b8]
mov ecx, ebx
push eax
call fcn.004233f5
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040947d
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 5
call fcn.004096ad
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040971c
lea ecx, [ebp - 0x1a0]
call fcn.004096ad
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040971c
lea ecx, [ebp - 0x1a0]
call fcn.004096ad
cmp byte [edi + 1], 0
je 0x4235f6
mov edx, 0x3f4
lea ecx, [ebp - 0x1dc]
call fcn.0040d127
push eax
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 6
call fcn.0040971c
mov byte [ebp - 4], 5
push dword [ebp - 0x1dc]
call fcn.00438207
lea ecx, [ebp - 0x1a0]
mov dword [esp], 0x450514
call fcn.0040975a
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x10]
call fcn.0040ce9d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040975a
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], eax
call fcn.0042069e
mov edx, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1dc]
call fcn.0040a7e1
push 0x110
push 0x160
lea ecx, [ebp - 0x194]
push ecx
push 0x80
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1dc]
mov esi, eax
call fcn.00438207
pop ecx
test esi, esi
je 0x42367b
push dword [ebp - 0x1ac]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x194]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1a0]
call fcn.00438207
pop ecx
push dword [ebp - 0x1b8]
call fcn.00438207
pop ecx
push dword [ebp - 0x1c4]
call fcn.00438207
pop ecx
push dword [ebp - 0x1d0]
call fcn.00438207
pop ecx
call fcn.00445997
ret 0xc
Function at 0x425bee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x425c21
cmp dword [edx + 8], 0xffffff65
jne 0x425c21
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x425c5d
sub eax, 0x14
je 0x425c2a
dec eax
sub eax, 1
je 0x425c5d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x425c21
push 2
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
jmp 0x425c23
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x425c21
mov ecx, esi
call fcn.00425c75
jmp 0x425c59

Function at 0x425da3
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x448c27
call fcn.004459b9
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
push eax
push esi
push edi
push 0x425d65
push esi
push esi
call fcn.0043e015
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x425dee
call fcn.0040896c
test eax, eax
je 0x425dee
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x425dfd
push ecx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00425329
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040897d
mov eax, esi
call fcn.00445982
ret 8

Function at 0x4260fb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0x45a008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0x78cdd1], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x42615e
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.004099e8
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.00438207
pop ecx
mov eax, esi
jmp 0x426180
mov eax, dword [0x78cf0c]
test eax, eax
je 0x426180
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.004381f6
mov esp, ebp
pop ebp
ret 4

Function at 0x426406
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x45a008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0x44f81c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004381f6
mov esp, ebp
pop ebp
ret
Function at 0x427885
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x268
mov eax, 0x448f74
call fcn.004459ed
mov dword [ebp - 0x274], ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.00439720
add esp, 0xc
lea eax, [ebp - 0x238]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x238]
mov dword [ebp - 0x270], ebx
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x260], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], eax
push ecx
push eax
mov dword [ebp - 0x258], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x427925
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427925
mov edi, dword [ebp - 0x260]
jmp 0x427937
mov eax, dword [ebp - 0x258]
xor edi, edi
add edi, esi
adc eax, ebx
mov dword [ebp - 0x25c], eax
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp - 0x260]
call fcn.00419380
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x270]
mov ebx, dword [ebp - 0x260]
push 0
push eax
push edi
lea esi, [ebx + 0x80]
push esi
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x78b3a8]
mov ecx, ebx
mov dword [ebx], eax
call fcn.004080a6
push edi
mov edx, esi
call fcn.004084ee
push 7
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2f]
xor eax, eax
lea edx, [ebp - 0x30]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00408579
xor eax, eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 0x254], al
push dword [ebp - 0x254]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00437f18
mov byte [ebp - 4], 1
push dword [ebp - 0x25c]
push 0
push ebx
call fcn.00439720
add esp, 0xc
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x250]
call fcn.00427801
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x427a05
mov eax, dword [eax]
push 0x40
push eax
push dword [ebp - 0x274]
call fcn.004391a0
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.004379d7
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x427a42
mov edx, dword [ebp - 0x264]
sub edx, ecx
push 1
call fcn.00427284
mov dword [ebp - 4], 4
push dword [ebx - 4]
call fcn.0043deb1
pop ecx
call fcn.00445997
ret
Function at 0x437b26
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + edi]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 2
jb 0x437b35
mov eax, dword [ecx + 0x18]
pop edi
and eax, esi
pop esi
pop ebp
ret 4