joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4259ed
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jne 0x425a0f
push ebp
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
mov edi, dword [esp + 0x1c]
cmp edi, esi
je 0x425af5
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x425a2f
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x425af5
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
mov ebx, eax
push dword [esp + 0x24]
mov dword [esp + 0x20], ebx
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [esp + 0x1c], eax
call esi
push 1
push edi
push ebx
call esi
push 1
push dword [esp + 0x14]
push edi
call esi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x425adf
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
push ebp
push ebp
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push ebp
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebp
push dword [esp + 0x14]
push ebx
call esi
push ebp
push edi
push ebx
call esi
push ebp
push dword [esp + 0x14]
push edi
call esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4

Function at 0x425bd1
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
lea eax, [esi + 0x10]
cmp dword [eax], ebx
je 0x425bed
inc edi
add eax, 8
cmp edi, 0x10
jl 0x425be0
cmp edi, 0x10
jne 0x425bf6
xor eax, eax
jmp 0x425c59
cmp byte [esi + 8], 1
jne 0x425c30
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 0xc]
push ebx
push 0x438
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 4
push 0x1000
push dword [ebp + 8]
mov dword [esi + edi*8 + 0xc], eax
lea edi, [esi + edi*8 + 0x10]
push ebx
push eax
call dword [esi]
jmp 0x425c57
push ebx
push dword [ebp + 8]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
push ebx
push ebx
push ebx
push 0xf001f
mov dword [esi + edi*8 + 0xc], eax
push eax
lea edi, [esi + edi*8 + 0x10]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [edi], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x425ff9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x18]
push eax
push 1
push 0
push dword [ebp + 0xc]
and byte [esi], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426039
lea eax, [ebp + 0x14]
push eax
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret

Function at 0x42603c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x42608f
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 8]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
leave
ret

Function at 0x42637f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov byte [0x449640], bl
je 0x4263c5
mov byte [0x449641], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 8]
push ebx
push eax
push 0x426408
push ebx
push ebx
mov dword [ebp - 4], edi
call fcn.0042ac2b
add esp, 0x18
mov esi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, ebx
mov edi, eax
je 0x4263f3
push 0xffffffffffffffff
push esi
mov byte [0x449641], bl
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x449640], 1
jne 0x426401
or eax, 0xffffffff
jmp 0x426403
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4265c7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x42664d
push edi
push esi
call fcn.00428d9a
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x43539c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x426641
mov ecx, dword [ebp - 4]
mov edx, 0xffff
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
and esi, edx
shr ecx, 0x10
push esi
push ecx
mov ecx, eax
and ecx, edx
shr eax, 0x10
push ecx
push eax
push str._u._u._u._u
push dword [ebp + 0xc]
call fcn.00429357
add esp, 0x18
mov bl, 1
push edi
call fcn.00428f1b
pop ecx
mov al, bl
pop edi
jmp 0x42664f
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x426653
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.0042a560
pop ecx
test eax, eax
pop ecx
jne 0x42668b
push 0x3f
push esi
call fcn.0042a560
pop ecx
test eax, eax
pop ecx
jne 0x42668b
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
jmp 0x4266ab
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4266a2
xor al, al
jmp 0x4266ab
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4266c4
test al, 0x10
je 0x4266c4
mov al, 1
ret
xor al, al
ret

Function at 0x426859
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
and byte [ebp - 1], 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x108]
push eax
call fcn.004266ae
add esp, 0xc
test al, al
je 0x42689b
lea eax, [ebp - 0x108]
push str..
push eax
call fcn.00428dc0
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x668]
push esi
push eax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042980f
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x426962
cmp bl, 1
jne 0x426962
mov eax, dword [ebp - 0x248]
and eax, 0x10
cmp al, 0x10
je 0x426948
lea eax, [ebp - 0x458]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00428db0
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00428dc0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00428dc0
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp eax, 1
jne 0x42695e
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4268e5
xor bl, bl
jmp 0x4268e5
xor bl, bl
jmp 0x426965
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x426972
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
push ebx
push esi
lea eax, [ebp - 0x218]
push edi
push eax
xor ebx, ebx
push dword [ebp + 8]
mov byte [ebp - 1], bl
call fcn.004266c7
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
call fcn.004266c7
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004267b4
mov byte [ebp + 0xf], al
lea eax, [ebp - 0x218]
push eax
call fcn.004266ae
add esp, 0x1c
mov esi, str..
test al, al
je 0x4269de
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00428dc0
pop ecx
pop ecx
lea eax, [ebp - 0x428]
push eax
call fcn.004266ae
test al, al
pop ecx
je 0x4269fe
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00428dc0
pop ecx
pop ecx
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042980f
add esp, 0x14
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
mov byte [ebp + 0xb], 1
je 0x426b66
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileA]
cmp byte [ebp + 0xb], 1
jne 0x426b66
mov eax, dword [ebp - 0x568]
mov byte [ebp - 1], 1
and eax, 0x10
cmp al, 0x10
je 0x426b46
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.00426b79
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00428db0
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00428dc0
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00428dc0
lea eax, [ebp - 0x320]
push eax
call fcn.00426653
add esp, 0x28
test al, al
je 0x426af0
cmp byte [ebp + 0x10], bl
je 0x426b69
lea eax, [ebp - 0x320]
push eax
call edi
cmp byte [ebp + 0x14], 1
jne 0x426b31
cmp byte [ebp + 0xf], bl
jne 0x426b11
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x426b42
lea eax, [ebp - 0x320]
push ebx
push eax
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, ebx
je 0x426b69
lea eax, [ebp - 0x110]
push eax
call edi
jmp 0x426b42
lea eax, [ebp - 0x320]
push ebx
push eax
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, ebx
je 0x426b69
lea eax, [ebp - 0x568]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x426a59
mov byte [ebp + 0xb], bl
jmp 0x426a59
mov bl, byte [ebp - 1]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x426d60
Capabilities:
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0x10
jne 0x426d76
mov al, 1
jmp 0x426da8
cmp eax, 0xffffffff
jne 0x426da6
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
cmp eax, 3
jne 0x426dd6
push edi
call fcn.0042791e
mov esi, eax
push 0x5c
push esi
call fcn.0042ad90
add esp, 0xc
test eax, eax
jne 0x426dab
push esi
call fcn.00428f1b
pop ecx
xor al, al
pop edi
pop esi
ret
and byte [eax], 0
push ebx
push esi
call fcn.00426d60
push esi
mov bl, al
call fcn.00428f1b
pop ecx
pop ecx
test bl, bl
je 0x426dd1
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
setne bl
mov al, bl
pop ebx
jmp 0x426da8
call esi
cmp eax, 2
jne 0x426da6
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
setne al
jmp 0x426da8

Function at 0x426ded
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.004266c7
lea eax, [ebp - 0x128]
push eax
call fcn.004266ae
add esp, 0x14
test al, al
jne 0x426e2f
xor al, al
jmp 0x426ecd
lea eax, [ebp - 0x230]
push eax
call fcn.004266ae
xor ebx, ebx
pop ecx
test al, al
je 0x426e47
cmp byte [ebp + 0x10], bl
jmp 0x426e56
lea eax, [ebp - 0x230]
push eax
call fcn.00426d60
pop ecx
test al, al
je 0x426e28
lea eax, [ebp - 0x128]
push str..
push eax
call fcn.00428dc0
lea eax, [ebp - 0x128]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xa], ebx
push eax
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret
Function at 0x426ed0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.004266c7
lea eax, [ebp - 0x128]
push eax
call fcn.004266ae
add esp, 0x14
test al, al
je 0x426f58
lea eax, [ebp - 0x230]
push eax
call fcn.004266ae
xor ebx, ebx
pop ecx
test al, al
je 0x426f23
cmp byte [ebp + 0x10], bl
je 0x426f58
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004267b4
pop ecx
test al, al
pop ecx
je 0x426f73
lea eax, [ebp - 0x230]
push 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00426ded
add esp, 0xc
test al, al
jne 0x426f5c
xor al, al
jmp 0x426fd6
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.00426fd9
pop ecx
test al, al
pop ecx
setne al
jmp 0x426fd6
lea eax, [ebp - 0x128]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
push eax
call fcn.00428ea0
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
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 - 0x1c], 1
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x426fd9
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.004266c7
lea eax, [ebp - 0x128]
push eax
call fcn.004266ae
add esp, 0xc
test al, al
je 0x427062
xor ebx, ebx
lea eax, [ebp - 0x128]
cmp byte [ebp + 0xc], bl
push eax
jne 0x427020
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x427062
call fcn.00428ea0
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
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 - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x427157
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
lea eax, [ebp - 0x294]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4271de
lea eax, [ebp - 0x104]
push 0x100
push eax
call sub.WSOCK32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x4271a6
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x42719d
mov ecx, dword [ebp + 8]
cmp ecx, edx
jle 0x4271b4
push 0x435520
jmp 0x4271cf
push 4
push dword [eax + ecx*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.0042a0b0
add esp, 0xc
push dword [ebp - 4]
call sub.WSOCK32.dll_inet_ntoa
push eax
push dword [ebp + 0xc]
call fcn.00428db0
pop ecx
pop ecx
call sub.WSOCK32.dll_WSACleanup
leave
ret
Function at 0x427355
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x44002c], bl
je 0x4273ba
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 0x4273b6
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
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 0x4273ba
xor eax, eax
jmp 0x4273fe
cmp byte [0x44002d], bl
je 0x4273d8
test byte [ebp + 8], 4
je 0x4273d8
xor dword [ebp + 8], 4
push ebx
push 0x427401
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 8]
cmp eax, 0x20
je 0x4273ef
cmp eax, 0x40
je 0x4273ef
push ebx
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x4273fe
xor ecx, ecx
cmp eax, 0x20
sete cl
push ebx
push ecx
call sub.KERNEL32.DLL_SetSystemPowerState
pop ebx
leave
ret

Function at 0x42756d
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
jne 0x42758c
push 0x1388
push dword [esp + 8]
call fcn.0042754b
pop ecx
test al, al
pop ecx
jne 0x4275a8
push 1
jmp 0x42758e
push 0
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
ret

Function at 0x42786e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jl 0x4278f0
jne 0x427883
push 0
jmp 0x4278ea
mov al, byte [0x44002d]
neg al
sbb eax, eax
and eax, 0x2d
add eax, 0xa
cmp edi, eax
jae 0x4278e9
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x4278e9
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fild qword [ebp - 0x20]
fdivp st(1)
fmul qword [0x433030]
call fcn.004291f0
cmp eax, edi
jb 0x4278b0
jmp 0x4278f0
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
leave
ret

Function at 0x42809b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9cc
push edi
lea ecx, [ebp - 0x9cc]
call fcn.00428641
push dword [ebp + 0x10]
lea ecx, [ebp - 0x9cc]
call fcn.00428655
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x4280e0
push esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9cc]
lea esi, [edi + eax]
call fcn.0042876f
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x4280c6
pop esi
pop edi
leave
ret 0xc
Function at 0x42811b
Capabilities:
Copy file
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10e5c
call fcn.004294c0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x388]
call fcn.004287bb
lea ecx, [ebp - 0xe5c]
call fcn.00428641
push 0
push dword [esi + 8]
push dword [esi]
call fcn.004295ad
add esp, 0xc
lea eax, [ebp - 0x490]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00428457
test eax, eax
je 0x42816e
push 6
jmp 0x42820b
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.004296aa
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.004296aa
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.004296aa
push dword [esi]
lea eax, [ebp - 0x14]
push ebx
push 4
push eax
call fcn.004296aa
add esp, 0x40
lea eax, [ebp - 0x18]
push dword [esi]
push ebx
push 4
push eax
call fcn.004296aa
push dword [esi]
lea eax, [ebp - 0x1c]
push ebx
push 4
push eax
call fcn.004296aa
push dword [esi]
lea eax, [ebp - 0x20]
push ebx
push 4
push eax
call fcn.004296aa
add esp, 0x30
lea eax, [ebp - 0x128]
mov ecx, esi
push eax
call fcn.004280e5
lea eax, [ebp - 0x128]
push 0x435550
push eax
call fcn.00429697
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
jne 0x428211
push 9
pop eax
jmp 0x428328
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0xe5c]
add eax, 0x22af
push eax
call fcn.00428655
and dword [ebp + 8], 0
test edi, edi
jle 0x42829b
mov eax, dword [ebp + 8]
add eax, 0x10000
cmp eax, edi
jle 0x428240
mov ebx, edi
sub ebx, dword [ebp + 8]
jmp 0x428245
mov ebx, 0x10000
push dword [esi]
add dword [ebp + 8], ebx
lea eax, [ebp - 0x10e5c]
push ebx
push 1
push eax
call fcn.004296aa
and dword [ebp - 0xc], 0
add esp, 0x10
test ebx, ebx
jle 0x428281
lea ecx, [ebp - 0xe5c]
call fcn.0042876f
mov ecx, dword [ebp - 0xc]
xor byte [ebp + ecx - 0x10e5c], al
inc ecx
cmp ecx, ebx
mov dword [ebp - 0xc], ecx
jl 0x428264
push dword [ebp - 0x10]
lea eax, [ebp - 0x10e5c]
push ebx
push 1
push eax
call fcn.00429c2b
add esp, 0x10
cmp dword [ebp + 8], edi
jl 0x42822d
push dword [ebp - 0x10]
call fcn.004294ef
cmp byte [ebp - 1], 1
pop ecx
jne 0x4282f5
lea ecx, [ebp - 0x388]
call fcn.004287bb
and dword [ebp - 0x374], 0
and dword [ebp - 0x370], 0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.00428db0
push dword [ebp + 0xc]
lea eax, [ebp - 0x25f]
push eax
call fcn.00428db0
add esp, 0x10
lea ecx, [ebp - 0x388]
call fcn.004287e7
jmp 0x428307
push 0
lea eax, [ebp - 0x128]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.004285a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10012a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
push edi
mov edi, 0xff
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x10
nop dword [eax]
xor eax, esi
xor edi, ebx
mov ebx, dword [ebp - 4]
xor esi, edi
xor ebx, dword [ebp - 0x10]
xor ecx, edx
xor edx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [edx], esi
mov esi, dword [ebp - 0x18]
mov dword [edx + 4], esi
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor esi, eax
mov eax, dword [ebp + 0xc]
xor edx, ecx
mov dword [ebp - 0x20], esi
mov dword [eax + 8], esi
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esi + 0xc], edx
mov esi, dword [ebp - 8]
shld eax, esi, 0x11
shl esi, 0x11
xor dword [ebp - 0x1c], esi
mov esi, eax
xor esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov dword [ecx + 0x14], esi
mov esi, edi
shrd edi, ebx, 0x13
shl esi, 0xd
or dword [ebp - 4], edi
shr ebx, 0x13
or esi, ebx
mov dword [ecx + 0x10], eax
sub dword [ebp - 0x14], 1
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x1c], esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x20]
mov edi, esi
mov dword [ecx + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
jne 0x10012a40
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call fcn.10001f90
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
call fcn.10001f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18