joyce8/EMBER2024-capa huggingface dataset:
Function at 0x83d158
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00804830
xor eax, eax
push ebp
push 0x83d2c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8c], 0
je 0x83d2b3
test ebx, ebx
je 0x83d2b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.008093dc
xor eax, eax
push ebp
push 0x83d29e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 8]
call fcn.0080980c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0080b45c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0080b3e4
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
cdq
cmp edx, dword [esp + 4]
jne 0x83d1f6
cmp eax, dword [esp]
pop edx
pop eax
jae 0x83d294
jmp 0x83d1fe
pop edx
pop eax
jge 0x83d294
call fcn.0080b45c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 8]
call fcn.00809608
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.008063b8
xor eax, eax
push ebp
push 0x83d27e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0080b45c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x70]
wait
mov ecx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov edx, dword [eax]
call dword [edx + 8]
cmp eax, 0x64
jle 0x83d274
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x83d288
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.00806488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x83d2a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.008093e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83d2d0
lea eax, [ebp - 8]
call fcn.00804394
ret
Function at 0x83d2dc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00804830
xor eax, eax
push ebp
push 0x83d435
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8c], 0
je 0x83d41f
test ebx, ebx
je 0x83d41f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.008093dc
xor eax, eax
push ebp
push 0x83d40a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 8]
call fcn.0080980c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0080b45c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0080b3c4
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x60]
jle 0x83d400
call fcn.0080b45c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 8]
call fcn.00809608
mov eax, dword [ebp - 4]
add eax, 0x38
push eax
call fcn.008063b8
xor eax, eax
push ebp
push 0x83d3ea
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0080b45c
mov eax, dword [ebp - 4]
fstp qword [eax + 0x70]
wait
mov ecx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax]
call dword [edx + 8]
cmp eax, 0x64
jle 0x83d3e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x83d3f4
mov eax, dword [ebp - 4]
add eax, 0x38
push eax
call fcn.00806488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x83d414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.008093e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x83d43c
lea eax, [ebp - 8]
call fcn.00804394
ret

Function at 0x8b3520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5a4d
jne 0x8b357e
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x8b357e
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x8b357e
mov eax, dword [ebp - 0x10]
test byte [eax + 0x17], 0x20
je 0x8b357e
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x16]
and ax, 2
cmp ax, 2
sete byte [ebp - 5]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x8b3588
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.008b3520
test al, al
je 0x8b3671
mov eax, dword [ebp - 4]
call fcn.008b34b8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x8b3671
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov edx, dword [ebp - 0x20]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebp - 0x24], eax
push 0x40
push 0x3000
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.008b3ba4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x8b3671
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.008b3974
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jb 0x8b366b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.008b3974
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x8b3622
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
ret
Function at 0x8b3a44
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
call fcn.008b3a2c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.008b398c
test eax, eax
jne 0x8b3ace
mov eax, dword [ebp - 0x14]
add eax, eax
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x24]
add eax, dword [ebp - 0x10]
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0xc], 0
jne 0x8b3ae2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x8b3a7a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ef4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40ef5d
pop dword [ebp - 0x28]
mov eax, 0x40ef5d
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xf66c771d
sub dword [ebp - 0x38], 0xa81a31d2
mov dword [ebp - 0x34], 0xbc5ec062
add dword [ebp - 0x34], 0x75d48be3
mov dword [ebp - 0x30], 0x130e6cb5
sub dword [ebp - 0x30], 0xc6c22887
mov dword [ebp - 0x2c], 0x6a2bf7db
sub dword [ebp - 0x2c], 0x6a2bf7db
lea eax, [ebp - 0x38]
push eax
mov eax, 0xcfea9fa7
sub eax, 0xcfa86f33
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xafcace95
sub dword [ebp - 0x38], 0x3b58653f
mov dword [ebp - 0x34], 0xbe9b7624
add dword [ebp - 0x34], 0x82d0eb51
mov dword [ebp - 0x30], 0x5516083f
add dword [ebp - 0x30], 0xe59642d
mov dword [ebp - 0x2c], 0xd32b0960
add dword [ebp - 0x2c], 0x2cd4f6a0
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3af46
push 0
call eax
mov ecx, 0x3d0a
xor edi, edi
add edi, eax
mov edx, 0xd2b72c9b
add edx, 0x2d8c1765
add edx, dword [ebp - 0x28]
mov esi, 0x27a03f68
add esi, 0x2efe26e
xor dword [ebp - 0x24], ecx
mov ebx, dword [edx]
sub dword [ebp - 4], ecx
sub ebx, esi
sub dword [ebp - 8], 0xa6dd7dd9
mov dword [edi], ebx
sub dword [ebp - 4], 0xc1aa4bd
add edi, 0xb7b632a4
add edi, 0x4849cd60
add edx, 4
loop 0x40f071
add eax, 0x930a8dbd
sub eax, 0x9309a6c2
mov ebx, eax
add eax, 0x72ea9a9a
sub eax, 0x72ea9a95
mov ecx, 0x35438015
add ecx, 0xcafc7feb
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov dword [0x402452], eax
mov edx, eax
xor edi, edi
push 2
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
push dword [0x403583]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x4738ba
Capabilities:
Encode data using xor

Disassembly:
push 0x4735cc
mov eax, dword [esp]
add esp, 4
add ebx, 0xced23ae8
mov ebx, 0x6ce24760
and edx, edx
call fcn.004738ff
and ebx, edx
and ebx, edx
add ebx, 0x1477647f
xor dword [edi], eax
or ebx, ebx
and ebx, edx
mov ebx, ebx
add edi, 2
and edx, edx
inc ebx
cmp edi, esi
jl fcn.004738ba
add ebx, 1
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0xe39df0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe39dfa
pushal
call 0xe39e00
pop ebp
sub ebp, 0x10
sub ebp, 0xa39df0
jmp 0xe39e16
mov eax, 0xa39df0
add eax, ebp
add eax, 0x4c
mov ecx, 0x578
mov edx, 0x1772c48f
xor byte [eax], dl
inc eax
dec ecx
jne 0xe39e2d
jmp 0xe39e40
add al, 0x42
add al, 6
mov bl, 0x8f
invalid
Function at 0x407a80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47aadb
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.0046f7de
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407b02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046d6f0
mov eax, dword [eax]
push 0x4a1c50
push eax
call fcn.004603f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046fa69
test bl, bl
je 0x407b02
push 0x4a1c50
lea ecx, [esp + 0xc]
call fcn.0046fdf9
push 0x4a1c5c
lea ecx, [esp + 0xc]
call fcn.0046fdf9
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 0x407b3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046fa69
jmp 0x407c09
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 0x407bc2
lea edx, [esp + 0x7c]
push 0x4a1c58
push edx
call fcn.004603f4
add esp, 8
test eax, eax
je 0x407bc2
lea eax, [esp + 0x7c]
push 0x4a1c54
push eax
call fcn.004603f4
add esp, 8
test eax, eax
je 0x407bc2
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 0x407b52
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.0046fa69
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 0x408410
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 0x408472
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 0x408480
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ab5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ab608]
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 0x4085b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4084e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fa69
xor eax, eax
jmp 0x40862f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046fba6
push esi
lea ecx, [esp + 0xc]
call fcn.0046fe35
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40860d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00408410
test eax, eax
jne 0x40860d
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.00408410
test eax, eax
jne 0x40860d
lea eax, [esp + 0x14]
push 0x4a1c6c
push eax
call fcn.00461490
mov esi, eax
add esp, 8
test esi, esi
jne 0x4085ec
lea ecx, [esp + 0x14]
push 0x4a1c68
push ecx
call fcn.00461410
mov esi, eax
add esp, 8
test esi, esi
jne 0x4085ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4085ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046fb56
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4084fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fa69
xor eax, eax
jmp 0x40862f
mov byte [esi], 0
push 0x4a1c64
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.0046fa69
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 0x4193c0
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 0x41942e
cmp si, 0x69
ja 0x41942e
add esi, 0xffd0
cmp si, 0x11
je 0x4193fe
push 0x11
call edi
test ax, ax
jge 0x4193fe
or esi, 0x2000
cmp si, 0x10
je 0x419413
push 0x10
call edi
test ax, ax
jge 0x419413
or esi, 0x4000
cmp si, 0x12
je 0x419428
push 0x12
call edi
test ax, ax
jge 0x419428
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41943b
mov esi, 0xbd
jmp 0x4193ef
cmp si, 0x6e
jne 0x419448
mov esi, 0xbe
jmp 0x4193ef
cmp si, 0x6f
jne 0x4193e9
mov esi, 0xbf
jmp 0x4193ef

Function at 0x41ac80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bbd58]
xor edx, edx
cmp eax, edx
jne 0x41aca6
xor eax, eax
mov byte [eax + 0x4bbc58], al
inc eax
cmp eax, 0x100
jl 0x41ac8e
mov dword [0x4bbd58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bbc58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ad37
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 0x41ad0a
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 0x41acd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41adb0
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 0x41ae03
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 0x41adea
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