joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423f09
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10030
call fcn.00457ac0
mov eax, dword [0x4694f8]
mov ecx, dword [0x466b78]
push ebx
push esi
push edi
xor esi, esi
inc esi
push esi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
mov dword [ebp - 0xc], eax
call fcn.0040187e
push dword [ebp + 0xc]
call fcn.00401f32
mov edi, edx
cmp edi, ebx
pop ecx
mov dword [ebp - 0x14], eax
jg 0x423f5a
jl 0x42403a
cmp eax, esi
jb 0x42403a
push 0x45c06c
push dword [ebp + 8]
call fcn.0043e5e6
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
je 0x42403a
cmp edi, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jl 0x423ffa
jg 0x423f85
cmp dword [ebp - 0x14], ebx
jbe 0x423ffa
push dword [ebp + 0xc]
lea eax, [ebp - 0x10030]
push 0xffff
push eax
call fcn.0043e565
add esp, 0xc
test eax, eax
je 0x424031
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x423fe5
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x423fda
push esi
push 0xffffffffffffffff
call fcn.0040dca7
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4671ac], eax
add dword [ebp - 8], esi
adc dword [ebp - 4], ebx
cmp dword [ebp - 4], edi
jl 0x423f85
jg 0x423ffa
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 8], eax
jb 0x423f85
push dword [ebp + 0xc]
call fcn.0043e46e
lea eax, [ebp - 0x10030]
push eax
call fcn.00457520
cmp eax, ebx
pop ecx
pop ecx
je 0x42402a
cmp byte [ebp + eax - 0x10031], 0xa
jne 0x424026
dec eax
mov byte [ebp + eax - 0x10030], bl
cmp eax, ebx
jne 0x42403e
push esi
push ebx
push 0xffffffffffffffff
push ebx
jmp 0x424048
push dword [ebp + 0xc]
call fcn.0043e46e
pop ecx
mov eax, esi
jmp 0x424068
push esi
push ebx
push eax
lea eax, [ebp - 0x10030]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0040187e
test eax, eax
je 0x424068
mov ecx, dword [0x466b78]
push esi
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42549f
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [0x4694f8]
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
push dword [ebp + 8]
call fcn.00415869
add esp, 0x14
cmp al, bl
mov byte [ebp - 4], al
jne 0x42551c
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00422905
add esp, 0xc
cmp eax, ebx
jne 0x4254f0
push 1
push ebx
push 0xffffffffffffffff
push 0x4595d8
jmp 0x42555e
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x14], ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
push eax
call fcn.0041ebd6
fstp st(0)
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00401bc3
jmp 0x425565
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
push eax
call fcn.0044234f
cmp eax, 0x50
pop ecx
je 0x42553c
cmp eax, 0x54
je 0x425537
xor eax, eax
jmp 0x42553f
push 2
pop eax
jmp 0x42553f
xor eax, eax
inc eax
push eax
push dword [ebp - 4]
call fcn.0041efa8
pop ecx
test al, al
pop ecx
mov eax, 0x45e2b0
jne 0x425558
mov eax, 0x45e2ac
push 1
push ebx
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0040187e
pop esi
pop ebx
leave
ret 8
Function at 0x42b265
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov ecx, dword [0x466b78]
push ebx
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
call fcn.0040187e
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 4]
push eax
push 0x45f8ec
push edi
push ebx
push 0x45f8fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42b3c9
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
je 0x42b2cb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
je 0x42b2dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov ecx, dword [ebp + 0x18]
cmp byte [ecx], bl
je 0x42b2ed
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
push esi
mov esi, dword [ebp + 0x1c]
cmp byte [esi], bl
je 0x42b313
mov eax, dword [ebp + 0x24]
cmp byte [eax], bl
je 0x42b306
push eax
call fcn.0040137d
pop ecx
dec eax
jmp 0x42b308
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x44]
mov esi, dword [ebp + 0x20]
cmp byte [esi], bl
je 0x42b345
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push ebx
push ebx
push esi
call fcn.00415869
add esp, 0x14
cmp al, bl
je 0x42b345
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
movzx ax, al
or eax, 0x600
push eax
push ecx
call dword [edx + 0x34]
mov eax, dword [ebp + 0x28]
cmp byte [eax], bl
je 0x42b35f
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
push eax
call fcn.0040137d
pop ecx
push eax
push dword [ebp - 4]
call dword [esi + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x45f91c
push eax
call dword [ecx]
test eax, eax
pop esi
jl 0x42b3c0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x42b3b7
mov ecx, dword [0x466b78]
push edi
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebx
leave
ret 0x24
Function at 0x42b6d1
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov ecx, dword [0x466b78]
push ebx
push esi
push edi
xor esi, esi
inc esi
push esi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
call fcn.0040187e
mov ecx, dword [0x4694f8]
push esi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040187e
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x42b7d2
cmp byte [edi], bl
je 0x42b7d2
lea eax, [ebp - 8]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x42b7d2
push eax
call fcn.0043f0e8
pop ecx
mov esi, eax
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x45bac8
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x42b765
push esi
call fcn.0043e6a5
xor eax, eax
pop ecx
inc eax
jmp 0x42b7d4
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov edi, ecx
mov edx, 0xffff
and edi, edx
push edi
shr ecx, 0x10
push ecx
mov ecx, eax
and ecx, edx
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
lea eax, [ebp - 0x8c]
push 0x80
push eax
call fcn.0040a513
push esi
call fcn.0043e6a5
mov ecx, dword [0x466b78]
add esp, 0x20
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov ecx, dword [0x4694f8]
push 1
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x8c]
push eax
call fcn.0040187e
jmp 0x42b7d4
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42b7db
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x42b85a
cmp byte [eax], bl
je 0x42b85a
lea ecx, [ebp - 0x128]
push ecx
push eax
call fcn.0042bde3
lea eax, [ebp - 0x128]
push eax
call fcn.00457520
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
mov eax, 0x45af3c
jne 0x42b852
mov eax, 0x459724
push 1
push ebx
push 0xffffffffffffffff
push eax
jmp 0x42b864
push 1
push ebx
push 0xffffffffffffffff
push 0x45af3c
mov ecx, dword [0x466b78]
call fcn.0040187e
pop ebx
leave
ret 4
Function at 0x42be28
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.0042bde3
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.0042bde3
lea eax, [ebp - 0x128]
push eax
call fcn.0042c482
add esp, 0x14
test al, al
je 0x42be8a
lea eax, [ebp - 0x230]
push eax
call fcn.0042c482
test al, al
pop ecx
je 0x42be79
cmp byte [ebp + 0x10], 0
jmp 0x42be88
lea eax, [ebp - 0x230]
push eax
call fcn.0042c126
pop ecx
test al, al
jne 0x42be8e
xor al, al
leave
ret
push edi
lea eax, [ebp - 0x128]
push str..
push eax
call fcn.00457300
lea eax, [ebp - 0x128]
push eax
call fcn.00457520
mov byte [ebp + eax - 0x127], 0
lea eax, [ebp - 0x230]
push eax
call fcn.00457520
and dword [ebp - 0x20], 0
add esp, 0x10
mov byte [ebp + eax - 0x22f], 0
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop edi
leave
ret
Function at 0x42bf0c
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9a4
push esi
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
call fcn.0042bde3
lea eax, [ebp - 0x584]
push eax
push dword [ebp + 0xc]
call fcn.0042bde3
lea eax, [ebp - 0x234]
push eax
call fcn.0042c482
add esp, 0x14
test al, al
mov esi, str..
je 0x42bf5b
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.00457300
pop ecx
pop ecx
lea eax, [ebp - 0x584]
push eax
call fcn.0042c482
test al, al
pop ecx
je 0x42bf7b
lea eax, [ebp - 0x584]
push esi
push eax
call fcn.00457300
pop ecx
pop ecx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x42bf9e
xor eax, eax
jmp 0x42c123
push ebx
push edi
lea eax, [ebp - 0x9a4]
push eax
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x794]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00441717
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x794]
push eax
push str._s_s
lea eax, [ebp - 0x12c]
push 0x105
push eax
call fcn.0040a513
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x104
add esp, 0x28
sub esi, eax
and dword [ebp - 4], 0
lea ebx, [ebp + eax - 0x12c]
call edi
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x42c043
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x42c03c
push 1
push 0xffffffffffffffff
call fcn.0040dca7
pop ecx
pop ecx
call edi
mov dword [0x4671ac], eax
test byte [ebp - 0x47c], 0x10
jne 0x42c0fd
lea eax, [ebp - 0x450]
push eax
call fcn.00457520
cmp eax, esi
pop ecx
ja 0x42c0fa
lea eax, [ebp - 0x450]
push eax
push ebx
call fcn.004572f0
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0042c202
add esp, 0x14
cmp byte [ebp + 0x14], 0
je 0x42c0d9
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42c0fd
cmp byte [ebp + 0x10], al
je 0x42c0fa
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x42c0fa
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x42c0f6
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42c0fd
inc dword [ebp - 4]
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42c007
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42c126
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42c196
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
dec eax
je 0x42c186
dec eax
jne 0x42c19e
push edi
call fcn.00457520
cmp eax, 0x104
pop ecx
ja 0x42c19e
add eax, 4
and eax, 0xfffffffc
call fcn.00457ac0
mov esi, esp
push edi
push esi
call fcn.004572f0
push 0x5c
push esi
call fcn.00457cb0
add esp, 0x10
test eax, eax
je 0x42c19e
push esi
mov byte [eax], 0
call fcn.0042c126
test al, al
pop ecx
je 0x42c19e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
jmp 0x42c1a0
test al, 0x10
je 0x42c19e
mov al, 1
jmp 0x42c1a0
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
push 0x2a
push esi
call fcn.00457650
test eax, eax
pop ecx
pop ecx
jne 0x42c1df
push 0x3f
push esi
call fcn.00457650
test eax, eax
pop ecx
pop ecx
jne 0x42c1df
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
jmp 0x42c1ff
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x42c1f6
xor al, al
jmp 0x42c1ff
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c499
test al, 0x10
je 0x42c499
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42c49c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.0042bde3
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.0042bde3
lea eax, [ebp - 0x128]
push eax
call fcn.0042c482
add esp, 0x14
test al, al
jne 0x42c4d8
leave
ret
push esi
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor esi, esi
inc esi
cmp eax, 0xffffffff
je 0x42c504
test al, 0x10
je 0x42c4fd
cmp dword [ebp + 0x10], esi
je 0x42c504
cmp dword [ebp + 0x10], 2
je 0x42c504
xor al, al
jmp 0x42c5bb
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042c3e8
test al, al
pop ecx
pop ecx
je 0x42c549
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042be28
add esp, 0xc
test al, al
je 0x42c4fd
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0042c5be
pop ecx
pop ecx
jmp 0x42c5bb
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.00457520
mov byte [ebp + eax - 0x127], 0
lea eax, [ebp - 0x230]
push eax
call fcn.00457520
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov byte [ebp + eax - 0x22f], 0
push 6
xor eax, eax
cmp dword [ebp + 0x10], 2
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x10], 0x614
pop edi
jne 0x42c5ac
mov word [ebp - 0x10], 0x615
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
leave
ret

Function at 0x42c5be
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.0042bde3
lea eax, [ebp - 0x128]
push eax
call fcn.0042c482
add esp, 0xc
test al, al
jne 0x42c5eb
leave
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x128]
push eax
jne 0x42c607
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x42c648
call fcn.00457520
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop ebx
leave
ret
Function at 0x42c64b
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x467398], bl
je 0x42c6b0
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42c6ac
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42c6b0
xor al, al
jmp 0x42c6dd
cmp byte [0x467399], bl
je 0x42c6ce
test byte [ebp + 8], 4
je 0x42c6ce
xor dword [ebp + 8], 4
push ebx
push 0x42c6e0
call dword [sym.imp.USER32.dll_EnumWindows]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop ebx
leave
ret

Function at 0x42c6ff
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x1f4
push 2
xor esi, esi
push esi
push esi
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x42c758
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, esi
je 0x42c742
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
jmp 0x42c744
xor edi, edi
cmp edi, esi
je 0x42c757
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x42ee0d
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x1c], 0
jne 0x42ee18
jmp fcn.0042edfa
push 0
push 0x2af80006
push 0x414
push dword [ecx]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
ret
Function at 0x42f7b9
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
sub eax, 9
push edi
push 0
mov dword [ebp - 0x10], CreateStatusWindowA
pop ebx
je 0x42f84c
dec eax
je 0x42f821
dec eax
je 0x42f7fb
sub eax, 6
jne 0x42f879
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42f870
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 9
push 0x110a
push dword [esi]
call edi
cmp eax, ebx
je 0x42f870
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1104
jmp 0x42f86c
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f870
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], 2
push 0x100e
jmp 0x42f86c
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f870
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x198
push dword [esi]
call edi
cmp dword [ebp - 0x10], 0x80000000
jne 0x42f887
lea eax, [ebp - 0x10]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42f896
push 2
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
pop edi
lea eax, [eax + esi + 2]
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret 8
Function at 0x431deb
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x63
jb 0x431df7
xor eax, eax
ret
push ebx
push ebp
lea ebx, [eax*4 + 0x466980]
push esi
mov esi, dword [ebx]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x10], ebx
je 0x431f62
cmp dword [esi], ebp
push edi
je 0x431ebc
xor edi, edi
mov eax, dword [edi*4 + 0x466980]
test eax, eax
je 0x431e3e
mov eax, dword [eax + 0x40]
cmp eax, dword [esi]
jne 0x431e35
push edi
call fcn.00431deb
pop ecx
inc ebp
cmp dword [0x46a3fc], ebp
je 0x431e44
inc edi
cmp edi, 0x63
jb 0x431e1c
mov eax, dword [esi + 4]
test eax, eax
je 0x431e86
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x406
push eax
call edi
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x431e82
push 0
push ebp
push 0x414
push dword [esi + 4]
call edi
test eax, eax
je 0x431e7d
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc ebp
cmp ebp, ebx
jl 0x431e65
mov ebx, dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431ebc
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetMenu]
lea eax, [esi + 0xb7]
cmp byte [eax], 0
jne 0x431ebc
push dword [esi]
mov byte [eax], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x431eca
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x431ed8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x431ee6
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0xc], ebp
jbe 0x431f31
mov eax, dword [esi + 0x14]
add eax, ebp
mov dl, byte [eax + 4]
cmp dl, 2
jne 0x431f1a
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x431f1a
test byte [eax + 5], 0x80
push ecx
je 0x431f12
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x431f28
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x431f28
cmp dl, 0xa
jne 0x431f28
push dword [eax + 0x10]
call fcn.0043e6a5
pop ecx
inc edi
add ebp, 0x14
cmp edi, dword [esi + 0xc]
jb 0x431eef
push dword [esi + 0x14]
mov edi, dword [esi + 0x70]
call fcn.0043e6a5
push dword [ebx]
call fcn.0043e1e1
and dword [ebx], 0
dec dword [0x46a3fc]
test edi, edi
pop ecx
pop ecx
je 0x431f61
cmp edi, dword [0x4671bc]
je 0x431f61
push edi
call fcn.00431f69
pop ecx
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret
Function at 0x434948
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test bh, 1
push esi
mov esi, dword [ebp + 0xc]
push edi
je 0x43495d
mov byte [esi], 0x2b
inc esi
test bh, 2
je 0x434966
mov byte [esi], 0x5e
inc esi
test bh, 4
je 0x43496f
mov byte [esi], 0x21
inc esi
xor edi, edi
test bh, 8
je 0x4349ab
push edi
push ebx
call fcn.00413cfd
push 1
push ebx
mov dword [ebp + 8], eax
call fcn.00413cfd
add esp, 0x10
test ah, 1
mov ecx, eax
jne 0x434995
mov ecx, dword [ebp + 8]
test ch, 1
je 0x4349ab
cmp word [ebp + 8], ax
je 0x4349ab
push 0x64
push esi
push ecx
call fcn.00413e7d
jmp 0x4349fa
push 0x64
push esi
push edi
push ebx
call fcn.00415b64
add esp, 0x10
cmp byte [esi], 0
je 0x4349fd
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push edi
push edi
push esi
call fcn.00415869
add esp, 0x14
test al, al
jne 0x4349fd
movzx edi, bl
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
mov byte [esi], al
je 0x4349ee
mov byte [esi + 1], 0
jmp 0x4349fd
push edi
push str.vk_02X
push esi
call fcn.0040a5ef
add esp, 0xc
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret