joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001345
Capabilities:
Load windows common language runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
cmp dword [0x100302c], esi
je 0x1001367
cmp dword [0x1003030], esi
je 0x1001367
xor eax, eax
jmp 0x100152b
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, esi
je 0x100137d
cmp eax, 1
jne 0x100152b
push esi
push 0x40
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jne 0x100152b
push 0x100302c
push 0x100112c
push 0x100111c
push 1
push esi
push esi
call sub.mscoree.dll_CorBindToRuntimeEx
cmp eax, 1
jne 0x10013b6
xor eax, eax
cmp eax, esi
jne 0x1001518
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x10011a0
mov dword [ebp - 4], esi
call sub.mscoree.dll_LoadLibraryShim
test eax, eax
jne 0x1001518
cmp dword [ebp - 4], esi
je 0x1001518
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100118c
push dword [ebp - 4]
call edi
push 0x1001170
push dword [ebp - 4]
mov ebx, eax
call edi
cmp ebx, esi
je 0x1001516
cmp eax, esi
je 0x1001516
push esi
push 1
push dword [section..data]
lea ecx, [ebp - 8]
push ecx
xor edi, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
call eax
cmp eax, esi
jne 0x10014f6
cmp dword [ebp - 8], esi
je 0x1001447
push esi
push 2
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push esi
push eax
call ebx
cmp eax, esi
jne 0x10014f6
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x1001503
push esi
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jne 0x10014f6
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x100144f
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0xc]
ja 0x1001498
jne 0x10014e8
cmp eax, dword [ebp - 0x18]
jbe 0x10014e8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
cmp edi, esi
je 0x10014a9
push edi
call sub.msvcrt.dll___3_YAXPAX_Z
pop ecx
mov eax, dword [ebp - 4]
push esi
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll___2_YAPAXI_Z
mov edi, eax
pop ecx
cmp edi, esi
je 0x10014e8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x10]
push edx
push edi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100144f
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x1001503
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x1001510
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x1003030], edi
pop edi
pop ebx
mov eax, dword [0x1003030]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
leave
ret
Function at 0x1001bdd
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10020a8
call fcn.01001db4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10039b8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10019f2
cmp eax, esi
jne 0x10019e5
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10019f5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10019cc
xor esi, esi
inc esi
mov eax, dword [0x10039b4]
cmp eax, esi
jne 0x1001a08
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001a43
mov eax, dword [0x10039b4]
test eax, eax
jne 0x1001a3d
mov dword [0x10039b4], esi
push 0x10010f8
push 0x10010ec
call fcn.01001949
pop ecx
pop ecx
test eax, eax
je 0x1001a43
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1001b0d
mov dword [0x1003678], esi
mov eax, dword [0x10039b4]
cmp eax, esi
jne 0x1001a67
push 0x10010e8
push 0x10010e0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10039b4], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001a74
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10039bc], ebx
je 0x1001a95
push 0x10039bc
call fcn.01001d29
pop ecx
test eax, eax
je 0x1001a95
push ebx
push 2
push ebx
call dword [0x10039bc]
push dword [0x1003660]
push dword [0x1003664]
push dword [0x100365c]
call fcn.01001929
add esp, 0xc
mov dword [0x1003674], eax
cmp dword [0x1003668], ebx
jne 0x1001af3
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1003678], ebx
jne 0x1001b01
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003674]
call fcn.01001df9
ret
call fcn.01001f01
jmp 0x10019aa
Function at 0x40ea70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434299
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [0x4379a4]
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call dword [0x4379a4]
fld dword [edi + 8]
fstp dword [esi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
fld dword [edi + 0x14]
fstp dword [esi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40fde0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4343f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x44c3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [0x437b38]
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call dword [0x437b38]
fldz
mov eax, 0xff000000
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
fst dword [esi + 0x38]
fst dword [esi + 0x34]
mov ebx, 1
fst dword [esi + 0x30]
push 0x439f20
fst dword [esi + 0x2c]
mov byte [ebp - 4], bl
fst dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x2c], eax
fst dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
fst dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
fst dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
fstp dword [esi + 0x14]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
xor eax, eax
lea ecx, [esi + 4]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], 3
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x80000000
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], eax
call dword [0x437b28]
fld dword [0x439f1c]
fstp dword [esi + 8]
mov dword [esi + 0xc], 0xfe000000
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43503c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x4379a4]
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call dword [0x4379a4]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41a600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43503c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x4379a4]
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call dword [0x4379a4]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42b390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42b39e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x42b47d
mov esi, edx
shr esi, 3
push edi
jmp 0x42b3c0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x441238]
add ecx, 8
sub edx, 8
dec esi
jne 0x42b3c0
pop edi
test edx, edx
je 0x42b49a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x441238]
inc ecx
dec edx
jne 0x42b481
not eax
pop esi
pop ebp
ret

Function at 0x430500
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x431e90
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x44c3e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [eax]
mov dword [ebx + 8], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
cmp eax, 1
jae 0x431edd
push 0x44849c
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], str.Incorrect_key_length
call fcn.00412de0
cmp eax, 0x38
jbe 0x431eec
mov dword [ebp + 0xc], 0x38
mov eax, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00412dd4
push 0x1000
lea eax, [ebx + 0x58]
push 0x441ac0
lea edi, [ebx + 0x10]
mov ecx, 0x12
mov esi, 0x441a78
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00412dd4
lea edx, [ebx + 0x10]
add esp, 0x18
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0x12
mov edi, edi
xor edx, edx
mov esi, 4
movzx edi, byte [ecx]
shl edx, 8
inc eax
dec esi
or edx, edi
inc ecx
cmp eax, dword [ebp + 0xc]
jne 0x431f4c
xor eax, eax
lea ecx, [ebp - 0x3c]
test esi, esi
jne 0x431f37
mov esi, dword [ebp - 0x44]
xor dword [esi], edx
add esi, 4
dec dword [ebp - 0x40]
mov dword [ebp - 0x44], esi
jne 0x431f30
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
xor edi, edi
lea esi, [ebx + 0x10]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
call fcn.00431090
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [esi], ecx
mov dword [esi + 4], edx
add edi, 2
add esi, 8
cmp edi, 0x12
jb 0x431f73
lea eax, [ebx + 0x58]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 4
mov esi, dword [ebp - 0x44]
xor edi, edi
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
call fcn.00431090
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [esi], ecx
mov dword [esi + 4], edx
add edi, 2
add esi, 8
cmp edi, 0x100
jl 0x431fa6
add dword [ebp - 0x44], 0x400
dec dword [ebp - 0x40]
jne 0x431fa1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00412c84
mov esp, ebp
pop ebp
ret 0xc
Function at 0x658830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a8000]
push edi
jmp 0x65884a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x658851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x658840
mov eax, 1
add ebx, ebx
jne 0x658863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x658874
jne 0x658893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x658893
dec eax
add ebx, ebx
jne 0x658880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x658858
add ebx, ebx
jne 0x65888f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6588e5
xor ecx, ecx
sub eax, 3
jb 0x6588ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x65891a
sar eax, 1
mov ebp, eax
jmp 0x6588b6
add ebx, ebx
jne 0x6588b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x658884
inc ecx
add ebx, ebx
jne 0x6588c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x658884
add ebx, ebx
jne 0x6588d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6588c6
jne 0x6588e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6588c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x658904
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6588f6
jmp 0x658846
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x658904
add edi, ecx
jmp 0x658846
pop esi
mov edi, esi
mov ecx, 0x6163
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x658922
cmp byte [edi], 0x1e
jne 0x658922
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x658927
lea edi, [esi + 0x255000]
mov eax, dword [edi]
or eax, eax
je 0x65899f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x259b90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x259cf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x658954
mov ecx, edi
jns 0x658983
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x259cfc]
or eax, eax
je 0x658999
mov dword [ebx], eax
add ebx, 4
jmp 0x658971
call dword [esi + 0x259d0c]
mov ebp, dword [esi + 0x259d00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6589d3
sub esp, 0xffffff80
jmp 0x4c9bb9
Function at 0x4025bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40700c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402654
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402634
xor eax, eax
push ebp
push 0x40262d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402670
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402634
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40700c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40700c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402c9c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x409034], 0
je 0x402cfd
cmp word [0x409208], 0xd7b2
jne 0x402cc5
cmp dword [0x409210], 0
jbe 0x402cc5
mov eax, 0x409204
call dword [0x409220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40704c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402d24
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x407018], 0
jne 0x402d19
push 0
push 0x40706c
push 0x40704c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4047f4
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov ebx, eax
push 0x40487c
imul esi, ebx, 0xd
mov eax, dword [0x408664]
mov eax, dword [eax + esi*4 + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x404823
push 0
push 0x5d
call sub.user32.dll_MapVirtualKeyA
mov edx, 0x5d
jmp 0x404871
push 0x404880
mov eax, dword [0x408664]
mov eax, dword [eax + esi*4 + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x40484b
push 0
push 0x5b
call sub.user32.dll_MapVirtualKeyA
mov edx, 0x5b
jmp 0x404871
push 0x404888
mov eax, dword [0x408664]
mov eax, dword [eax + esi*4 + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x404877
push 0
push 0x5c
call sub.user32.dll_MapVirtualKeyA
mov edx, 0x5c
xchg edx, eax
call fcn.00404a64
pop esi
pop ebx
ret

Function at 0x404890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp ax, 1
sete al
neg al
sbb eax, eax
mov edx, ebx
add edx, 0xffffffb9
cmp edx, 0xc
ja case.default.0x4048ba
jmp dword [edx*4 + 0x4048c1]
test eax, eax
je 0x404909
mov edx, ebx
mov ax, 0x67
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x24
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x40492a
mov edx, ebx
mov ax, 0x68
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x26
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x40494b
mov edx, ebx
mov ax, 0x69
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x21
call fcn.00404ac4
pop ebx
ret
mov edx, ebx
mov ax, 0x6d
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x404979
mov edx, ebx
mov ax, 0x64
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x25
call fcn.00404ac4
pop ebx
ret
test eax, eax
je case.default.0x4048ba
mov edx, ebx
mov ax, 0x65
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x4049af
mov edx, ebx
mov ax, 0x66
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x27
call fcn.00404ac4
pop ebx
ret
mov edx, ebx
mov ax, 0x6b
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x4049dd
mov edx, ebx
mov ax, 0x61
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x23
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x4049fb
mov edx, ebx
mov ax, 0x62
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x28
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x404a19
mov edx, ebx
mov ax, 0x63
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x22
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x404a37
mov edx, ebx
mov ax, 0x60
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x2d
call fcn.00404ac4
pop ebx
ret
test eax, eax
je 0x404a55
mov edx, ebx
mov ax, 0x6e
call fcn.00404ac4
jmp case.default.0x4048ba
mov edx, ebx
mov ax, 0x2e
call fcn.00404ac4
pop ebx
ret