joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10582
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
call sub.ntoskrnl.exe_PsGetVersion
cmp dword [ebp - 8], 4
jne 0x105c0
cmp dword [ebp - 4], esi
jne 0x10603
mov dword [0x1142c], 0x94
mov dword [0x11420], 0x98
jmp 0x10622
cmp dword [ebp - 8], 5
jne 0x1060c
cmp dword [ebp - 4], esi
jne 0x105e1
mov dword [0x1142c], 0x9c
mov dword [0x11420], 0xa0
jmp 0x10622
cmp dword [ebp - 4], 1
jne 0x105fd
mov dword [0x1142c], 0x84
mov dword [0x11420], 0x88
jmp 0x10622
cmp dword [ebp - 4], 2
je 0x105e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
jbe 0x10603
mov dword [0x1142c], 0xb4
mov dword [0x11420], 0xb8
cmp dword [ebp + 8], esi
je 0x10603
call dword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov ecx, dword [0x1142c]
mov edi, dword [ecx + eax]
cmp dword [ebp + 8], edi
mov esi, edi
je 0x10605
mov edx, dword [0x11420]
cmp ebx, 1
jl 0x1064c
cmp edi, esi
je 0x10603
mov eax, dword [edx + eax]
sub eax, edx
mov esi, dword [ecx + eax]
inc ebx
cmp dword [ebp + 8], esi
jne 0x10643
jmp 0x10605

Function at 0x10ad2
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
jne 0x10aef
mov eax, 0xc0000001
jmp 0x10b54
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
cmp edi, esi
jl 0x10b51
push 0x10ab0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
cmp eax, esi
je 0x10b48
lea ecx, [ebp - 4]
push ecx
push 1
push dword [eax]
push 0x1f0fff
push esi
push esi
push dword [ebp - 8]
call sub.ntoskrnl.exe_ObOpenObjectByPointer
mov edi, eax
cmp edi, esi
jl 0x10b48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x403550
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4014ac]
jne 0x4039bf
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x4073f8], eax
mov dword [0x4073f4], ecx
mov dword [0x4073f0], edx
mov dword [0x4073ec], ebx
mov dword [0x4073e8], esi
mov dword [0x4073e4], edi
mov word [0x407410], ss
mov word [0x407404], cs
mov word [0x4073e0], ds
mov word [0x4073dc], es
mov word [0x4073d8], fs
mov word [0x4073d4], gs
pushfd
pop dword [0x407408]
mov eax, dword [ebp]
mov dword [0x4073fc], eax
mov eax, dword [ebp + 4]
mov dword [0x407400], eax
lea eax, [ebp + 8]
mov dword [0x40740c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x407348], 0x10001
mov eax, dword [0x407400]
mov dword [0x4072fc], eax
mov dword [0x4072f0], 0xc0000409
mov dword [0x4072f4], 1
mov eax, dword [0x4014ac]
mov dword [ebp - 0x328], eax
mov eax, dword [0x407248]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x407340], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x4014b8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x407340], 0
jne 0x403aab
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 0x40383b
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x405340
call fcn.00403d60
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x407680], ebx
jne 0x4035d6
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x407674
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x403610
cmp eax, esi
jne 0x403603
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x403613
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x4035ea
xor esi, esi
inc esi
mov eax, dword [0x407670]
cmp eax, esi
jne 0x403626
push 0x1f
call sub.msvcr100.dll__amsg_exit
pop ecx
jmp 0x403661
mov eax, dword [0x407670]
test eax, eax
jne 0x40365b
mov dword [0x407670], esi
push 0x40118c
push 0x40117c
call sub.msvcr100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x403661
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40377b
mov dword [0x4072e8], esi
mov eax, dword [0x407670]
cmp eax, esi
jne 0x403685
push 0x401178
push 0x40116c
call sub.msvcr100.dll__initterm
pop ecx
pop ecx
mov dword [0x407670], 2
cmp dword [ebp - 0x24], ebx
jne 0x403692
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x407684], ebx
je 0x4036b3
push 0x407684
call fcn.00404b0a
pop ecx
test eax, eax
je 0x4036b3
push ebx
push 2
push ebx
call dword [0x407684]
mov eax, dword [sym.imp.msvcr100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40370c
cmp al, bl
je 0x4036cc
cmp dword [ebp - 0x1c], ebx
jne 0x40370c
mov al, byte [esi]
cmp al, bl
je 0x4036dc
cmp al, 0x20
ja 0x4036dc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4036cc
test byte [ebp - 0x40], 1
je 0x4036e8
movzx eax, word [ebp - 0x3c]
jmp 0x4036eb
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x4072e4], eax
cmp dword [0x4072d8], ebx
jne 0x403761
push eax
call dword [sym.imp.msvcr100.dll_exit]
cmp al, 0x22
jne 0x40371b
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr100.dll__ismbblead]
pop ecx
test eax, eax
je 0x40372e
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4036ba
cmp dword [0x4072e8], ebx
jne 0x40376f
call dword [sym.imp.msvcr100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x4072e4]
call fcn.00403da5
ret
call fcn.00404b0a
jmp 0x4035a8
Function at 0x1001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x100102e
cmp bl, 0xd7
je 0x100102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x100104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x1001023
jmp 0x100104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.010020e0
cmp bl, 0xd8
jne 0x100104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x100104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x1001045
pop esi
pop ebx
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4b2a3dfe
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x79dd625a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406494
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 1
jne 0x406545
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
call [edi + 0x6a]
or al, 0x8d
test dword [eax + edi*8 - 1], esi
call dword [eax - 0x18]
or ah, ah
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0040488a
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
cld
invalid
invalid
jmp 0x406891
cmp dword [ebp - 0x6fc], 2
jne 0x406602
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
push 0xb3fffff8
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
mov byte [ebp - 0x78e], 0x83
mov byte [ebp - 0x78d], 0xef
call fcn.00404919
adc byte [esi + 0xc6a07e7], ah
lea eax, [ebp - 0x79c]
push eax
call fcn.00404929
pop ecx
push eax
mov eax, dword [ebp - 0x550]
lea eax, [ebp + eax - 0x654]
call dword [eax - 0x18]
pushfd
loop 0x4065ec
inc dword [ebx - 0x7a72f33c]
lodsb al, byte [esi]
stc
invalid
dec dword [ecx - 0x39f7b]
invalid
jmp 0x406891
add byte [eax], al

Function at 0x406600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
cmp dword [ebp - 0x6fc], 3
jne 0x4066a3
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00404929
pop ecx
push eax
invalid

Function at 0x406c6e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406c92
xor eax, eax
test eax, eax
je 0x406ca4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406ca4
xor ecx, ecx
jmp 0x406ca7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a2b4]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4
Function at 0x406d93
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x423bcc], 0
push esi
jne 0x406dca
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406da4
mov dword [ecx*4 + 0x423bc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406d9f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406dfb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x423bc8]
xor eax, esi
inc ecx
dec edx
jne 0x406ddd
pop edi
not eax
pop esi
ret 0xc
Function at 0x401ff0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x417f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x41f4bc]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x41f4bc]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x248], edi
mov esi, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
or esi, 0x2001f
push esi
push edi
push ecx
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x4020a3
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, edi
je 0x402087
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x20]
and esi, 0x300
mov dword [esp + 0x18], edi
mov ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
cmp eax, edi
je 0x4020c8
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4020c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, ebx
jmp 0x402171
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x2c]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x40212a
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401ff0
mov ebx, eax
cmp ebx, edi
jne 0x4020a3
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x4020f0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40213d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x1c], edi
call fcn.004015a0
mov esi, eax
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40216f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, esi
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00409b02
mov esp, ebp
pop ebp
ret 4
Function at 0x409b02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f4bc]
jne 0x409b0c
repz ret
jmp fcn.0040dc0c

Function at 0x412e26
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.0040d5f8
and dword [ebp - 4], 0
cmp dword [0x4210b8], 0
mov ebx, eax
jne 0x412ed7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412f88
push eax
call fcn.0040d586
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4210b8], eax
call esi
push eax
call fcn.0040d586
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4210bc], eax
call esi
push eax
call fcn.0040d586
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4210c0], eax
call esi
push eax
call fcn.0040d586
pop ecx
mov dword [0x4210c8], eax
test eax, eax
je 0x412ed7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d586
pop ecx
mov dword [0x4210c4], eax
mov eax, dword [0x4210c4]
cmp eax, ebx
je 0x412f2f
cmp dword [0x4210c8], ebx
je 0x412f2f
push eax
call fcn.0040d601
push dword [0x4210c8]
mov esi, eax
call fcn.0040d601
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412f2f
test edi, edi
je 0x412f2f
call esi
test eax, eax
je 0x412f26
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412f26
test byte [ebp - 0xc], 1
jne 0x412f2f
or dword [ebp + 0x10], 0x200000
jmp 0x412f68
mov eax, dword [0x4210bc]
cmp eax, ebx
je 0x412f68
push eax
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f68
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412f68
mov eax, dword [0x4210c0]
cmp eax, ebx
je 0x412f68
push eax
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f68
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4210b8]
call fcn.0040d601
pop ecx
test eax, eax
je 0x412f88
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412f8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x423f70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x484ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004791e5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x423ff2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00477030
mov eax, dword [eax]
push 0x57a260
push eax
call fcn.004691f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00479470
test bl, bl
je 0x423ff2
push 0x57a260
lea ecx, [esp + 0xc]
call fcn.00479800
push 0x57dddc
lea ecx, [esp + 0xc]
call fcn.00479800
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42402e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00479470
jmp 0x4240f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4240b2
lea edx, [esp + 0x7c]
push 0x57ddd8
push edx
call fcn.004691f4
add esp, 8
test eax, eax
je 0x4240b2
lea eax, [esp + 0x7c]
push 0x57ddd4
push eax
call fcn.004691f4
add esp, 8
test eax, eax
je 0x4240b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424042
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00479470
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4248f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424952
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x424960
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x484d4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5845ac]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x424a98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4249c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479470
xor eax, eax
jmp 0x424b0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004795ad
push esi
lea ecx, [esp + 0xc]
call fcn.0047983c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x57de14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x424aed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004248f0
test eax, eax
jne 0x424aed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004248f0
test eax, eax
jne 0x424aed
lea eax, [esp + 0x14]
push 0x57ddf0
push eax
call fcn.0046a300
mov esi, eax
add esp, 8
test esi, esi
jne 0x424acc
lea ecx, [esp + 0x14]
push 0x57ddec
push ecx
call fcn.0046a280
mov esi, eax
add esp, 8
test esi, esi
jne 0x424acc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x424acf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047955d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4249de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479470
xor eax, eax
jmp 0x424b0f
mov byte [esi], 0
push 0x57dde8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00479470
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x437090
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4370fe
cmp si, 0x69
ja 0x4370fe
add esi, 0xffd0
cmp si, 0x11
je 0x4370ce
push 0x11
call edi
test ax, ax
jge 0x4370ce
or esi, 0x2000
cmp si, 0x10
je 0x4370e3
push 0x10
call edi
test ax, ax
jge 0x4370e3
or esi, 0x4000
cmp si, 0x12
je 0x4370f8
push 0x12
call edi
test ax, ax
jge 0x4370f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43710b
mov esi, 0xbd
jmp 0x4370bf
cmp si, 0x6e
jne 0x437118
mov esi, 0xbe
jmp 0x4370bf
cmp si, 0x6f
jne 0x4370b9
mov esi, 0xbf
jmp 0x4370bf

Function at 0x4388c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5956d0]
xor edx, edx
cmp eax, edx
jne 0x4388e6
xor eax, eax
mov byte [eax + 0x5955d0], al
inc eax
cmp eax, 0x100
jl 0x4388ce
mov dword [0x5956d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5955d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x438977
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43894a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x438918
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4389f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x438a43
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x438a2a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret