joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba50
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test esi, esi
je 0x40ba97
cmp byte [esi], al
je 0x40ba97
mov eax, dword [esp + 0xc]
mov ecx, dword [0x41186c]
push eax
push ecx
call fcn.0040d53a
test eax, eax
je 0x40bac5
cmp dword [eax + 4], 0
mov ecx, esi
push edi
lea edi, [ecx + 1]
je 0x40baa0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40ba85
sub ecx, edi
push ecx
push esi
push eax
call fcn.0040bc10
pop edi
pop esi
pop ecx
ret 8
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40baa0
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
sub ecx, edi
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x40bad0
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x40bb29
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40bb28
mov eax, dword [esp + 0x10]
mov ecx, dword [0x41186c]
push eax
push ecx
call fcn.0040d53a
test eax, eax
je 0x40bb24
cmp dword [eax + 4], 0
je 0x40bb12
push esi
push edi
push eax
call fcn.0040bc10
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc

Function at 0x40bb30
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [0x41186c]
push esi
push eax
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.0040d53a
mov esi, eax
test esi, esi
je 0x40bbf7
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
test ecx, ecx
je 0x40bbaf
cmp byte [ecx], 0
je 0x40bbaf
cmp dword [esi + 4], 0
mov eax, ecx
push edi
lea edi, [eax + 1]
je 0x40bb97
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40bb80
sub eax, edi
push eax
push ecx
push esi
call fcn.0040bc10
mov dword [esp + 0xc], eax
jmp 0x40bbae
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40bb97
push 0
lea edx, [esp + 0x10]
push edx
sub eax, edi
push eax
mov eax, dword [esi]
push ecx
push eax
call ebp
pop edi
cmp dword [esi + 4], 0
je 0x40bbd2
push 2
push 0x40f504
push esi
call fcn.0040bc10
mov ecx, eax
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
push 0x40f504
push edx
call ebp
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 8
Function at 0x40c930
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
mov dword [esp + 8], 0x80000
test eax, eax
je 0x40cb3e
push edi
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x40cb3d
mov eax, dword [0x411378]
push ebp
push 0x80000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x40cb35
cmp dword [esp + 0x30], ebx
jl 0x40c9b1
mov eax, dword [esp + 0x2c]
jg 0x40c9a2
test eax, eax
je 0x40c9b1
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x34]
add edx, 0x80000
mov dword [esp + 0x28], edx
jmp 0x40c9c5
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub dword [esp + 0x28], 0x80000
add ebx, 0x80000
and eax, ecx
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x40c9fd
mov eax, ebx
cdq
cmp edx, ecx
jl 0x40c9fd
jg 0x40c9f5
cmp eax, dword [esp + 0x34]
jbe 0x40c9fd
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x18]
mov eax, ebp
mov edx, ebx
cmp ebx, 8
jb 0x40cafc
mov edi, ebx
shr edi, 3
jmp 0x40ca30
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov esi, dword [esp + 0x1c]
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 1]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 2]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 3]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 4]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 5]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 6]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
movzx esi, byte [eax + 7]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x40f550]
add eax, 8
sub edx, 8
dec edi
mov esi, ecx
jne 0x40ca30
mov edi, dword [esp + 0x20]
test edx, edx
je 0x40cb19
movzx ecx, byte [eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40f550]
inc eax
dec edx
jne 0x40cb00
cmp ebx, 0x80000
je 0x40c9c1
mov edx, dword [0x411378]
push ebp
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
mov eax, esi
pop esi
not eax
pop ebx
add esp, 0x14
ret 0x14

Function at 0x40cb70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40778c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c558
mov eax, esi
mov edx, 8
test al, 1
je 0x4077a8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4077aa
shr eax, 1
dec edx
jne 0x40779b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407794
pop esi
ret

Function at 0x4077d7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c554], 0
jne 0x4077e3
call fcn.0040778c
push 1
push 0x40c554
call fcn.00404398
mov eax, edi
test esi, esi
je 0x40780e
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4077e9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x402101
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
mov ebx, dword [esi]
cmp ebx, esi
je 0x402160
test edi, edi
jne 0x402141
mov dword [esp], ebx
call fcn.00402fec
test eax, eax
je 0x402141
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x10], ebx
jmp 0x402160
cmp edi, 1
jne 0x40215a
mov dword [esp], ebx
call fcn.00401b39
test eax, eax
je 0x40215a
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x10], ebx
jmp 0x402160
mov ebx, dword [ebx]
cmp ebx, esi
jne 0x402129
mov eax, dword [ebp - 0x10]
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40355f
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
movzx ecx, ax
mov ebx, eax
shr ebx, 0x10
mov eax, 1
test esi, esi
je 0x403675
test edi, edi
je 0x40366e
mov edx, edi
cmp edi, 0x15b0
jbe 0x40359a
mov edx, 0x15b0
sub edi, edx
cmp edx, 0xf
jle 0x403633
movzx eax, byte [esi]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 1]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 2]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 3]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 4]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 5]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 6]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 7]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 8]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 9]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xa]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xb]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xc]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xd]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xe]
add ecx, eax
add ebx, ecx
movzx eax, byte [esi + 0xf]
add ecx, eax
add ebx, ecx
add esi, 0x10
sub edx, 0x10
cmp edx, 0xf
jg 0x4035a5
test edx, edx
je 0x403642
movzx eax, byte [esi]
add ecx, eax
inc esi
add ebx, ecx
dec edx
jne 0x403637
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xfff1
sub ecx, edx
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul edx, edx, 0xfff1
sub ebx, edx
test edi, edi
jne 0x40358b
mov eax, ebx
shl eax, 0x10
or eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403c04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, esi
add eax, dword [esi + 0x3c]
mov edi, esi
add edi, dword [eax + 0x78]
lea eax, [ebx*4]
add eax, dword [edi + 0x20]
mov edx, dword [eax + esi]
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00401eb7
test eax, eax
jne 0x403c73
mov ebx, 0
cmp ebx, dword [edi + 0x18]
jae 0x403c90
lea eax, [ebx*4]
add eax, dword [edi + 0x20]
mov edx, dword [eax + esi]
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00401eb7
test eax, eax
je 0x403c8a
lea eax, [ebx + ebx]
add eax, dword [edi + 0x24]
movzx eax, word [eax + esi]
shl eax, 2
add eax, dword [edi + 0x1c]
add esi, dword [eax + esi]
mov eax, esi
jmp 0x403c95
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x403c50
mov eax, 0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x403e79
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + 0x48]
mov dword [esp + 4], 0x4081e0
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00405260
cmp word [ebx], 0
je 0x403f03
cld
mov dword [ebp - 0x44], ebx
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x403ec3
mov esi, dword [ebp - 0x44]
lea edi, [ebp - 0x38]
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x403efd
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
mov eax, dword [ebp - 0x44]
add eax, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
jmp 0x403f36
cmp word [ebx], 0
jne 0x403ec0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x30]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 8]
jne 0x403f22
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
jmp 0x403f36
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jne 0x403f03
mov eax, 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4315bf
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0043176f
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4316bd
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x431660
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4316a3
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x431677
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x431692
test al, 0x40
je 0x431689
mov ecx, dword [edi + 0x20]
jmp 0x431690
test al, 0x80
je 0x4316a3
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4316a3
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x43162f
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43d79d
Capabilities:
Encode data using xor

Disassembly:
pushal
mov bx, 0x76d7
popal
call fcn.0043d76c

Function at 0x43de46
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push edx
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp fcn.004258c9

Function at 0x504ebc
Capabilities:
Execute anti-debugging instructions

Disassembly:
rol dx, cl
setae ah
rdtsc
push word [esp + 3]
mov edi, dword [esp + 5]
jmp 0x504f00
xchg edx, eax
sete ah
rol bp, cl
mov byte [esp + 1], dh
mov ecx, dword [esp + 3]
mov byte [esp + 4], ch
jmp 0x504e88
add esp, 0x23
rdtsc
mov dword [esp + 3], eax
mov cl, ch
stc
jmp 0x504ea0
mov eax, 0x999423dc
mov ebp, esi
shr edx, 0x1d
add esp, 1
mov eax, ecx
mov ax, sp
jmp 0x504f23
setle ah
xchg ah, bl
xchg bx, si
mov byte [esp + 0xc], ch
mov ebx, dword [esp + 0xb]
jmp 0x504eca
push dword [esp + 6]
mov bp, 0x7267
rdtsc
push word [esp + 7]
mov dh, byte [esp + 0xf]
jmp 0x504ee6

Function at 0x505119
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg ebx
xchg edx, edi
jmp 0x505123
mov eax, ecx
mov ebx, 0x42372df8
push dword [esp + 0x1a]
mov dword [esp + 0x1b], eax
not ebx
jmp 0x5051d0
lea esp, [esp + 0x18]
rdtsc
rdtsc
cpuid
xchg word [esp + 0xb], si
mov edx, dword [esp + 0xf]
jmp 0x505151
pop bp
clc
not di
mov byte [esp + 0x17], bh
cld
pop word [esp + 0xc]
jmp 0x50516e

Function at 0x505375
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
shr ebx, 0x13
xchg di, dx
lea ecx, [ecx + ebx]
cmc
jmp 0x505356

Function at 0x50562d
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov ecx, ebp
xchg bx, cx
mov ecx, 0x88f48102
cld
mov ecx, dword [esp]
jmp 0x50560c
mov dword [esp + 0x15], ecx
bsf bx, ax
sub esp, 6
lea esp, [esp + 0x44]
mov bl, pe_nt_image_headers32
mov ecx, ebp
jmp 0x505546
pop si
pop di
mov ax, 0x3e87
mov esi, 0x4543f718
pop ecx
not ax
jmp 0x5055c8
mov cx, di
stc
xchg byte [esp + 3], bl
cmc
setno dh
and cl, bh
jmp 0x505577
ror ch, 5
btr ebx, esp
pushal
lea esp, [esp + 0x5f]
push edx
add esp, 1
jmp 0x5055f3
xchg word [esp + 7], dx
inc ecx
add esp, 0xf
mov cl, ch
pushal
sub esp, 0x18
jmp 0x5055ac
xchg byte [esp], dl
mov byte [esp + 1], ch
mov word [esp], di
push word [esp]
mov word [esp], bx
clc
jmp 0x505be3
mov word [esp], sp
rdtsc
xchg di, dx
lea ecx, [eax + 0x32107049]
lea esp, [esp]
jmp 0x5055d9
mov bx, 0x7293
btc esi, ebx
xchg dx, si
sub esp, 0x1a
push esp
mov di, 0x61c9
jmp 0x50559c
pop bx
lea ebp, [eax + edi]
rdtsc
lea esi, [ebx*4]
jmp 0x505562
mov dx, word [esp]
lea esp, [esp]
call fcn.005059ce
Function at 0x5059e2
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x11]
rdtsc
xchg dword [esp + 2], ebx
rdtsc
push word [esp + 3]
jmp 0x505a52
mov bh, byte [esp + 0x13]
and cl, bh
mov dx, 0xf3d5
pop dword [esp + 0x14]
xchg ah, bl
add esp, 0x17
jmp 0x505a09
setae dh
mov ah, byte [esp + 0xd]
setbe dh
mov bh, byte [esp + 7]
btr esi, esp
jmp 0x505a20
lea esi, [ecx*4]
xchg dword [esp], ebx
pop dword [esp]
pushal
mov dx, word [esp + 4]
mov cx, 0x3b65
jmp 0x505a39

Function at 0x507bb1
Capabilities:
Parse pe header

Disassembly:
call fcn.0050700b
mov eax, dword fs:[0x30]
jmp 0x507bd8
mov dword [esp + 4], ecx
lea esp, [esp + 1]
mov dword [esp + 0x98], edi
lea esp, [esp + 0x98]
jmp 0x507b74
jmp 0x507b8b
mov eax, dword [eax + 8]
push eax
jmp 0x507006
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x507bb3
Function at 0x434820
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5c0b
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.004a9d0a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4348a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a74fd
mov eax, dword [eax]
push 0x5bf23c
push eax
call fcn.00498c54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a9f95
test bl, bl
je 0x4348a2
push 0x5bf23c
lea ecx, [esp + 0xc]
call fcn.004aa325
push 0x5c2db4
lea ecx, [esp + 0xc]
call fcn.004aa325
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 0x4348de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a9f95
jmp 0x4349a9
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 0x434962
lea edx, [esp + 0x7c]
push 0x5c2db0
push edx
call fcn.00498c54
add esp, 8
test eax, eax
je 0x434962
lea eax, [esp + 0x7c]
push 0x5c2dac
push eax
call fcn.00498c54
add esp, 8
test eax, eax
je 0x434962
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 0x4348f2
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.004a9f95
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 0x4351a0
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 0x435202
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 0x435210
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5cbb60]
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 0x435348
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435276
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a9f95
xor eax, eax
jmp 0x4353bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aa0d2
push esi
lea ecx, [esp + 0xc]
call fcn.004aa361
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5c2dec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43539d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004351a0
test eax, eax
jne 0x43539d
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.004351a0
test eax, eax
jne 0x43539d
lea eax, [esp + 0x14]
push 0x5c2dc8
push eax
call fcn.00499d60
mov esi, eax
add esp, 8
test esi, esi
jne 0x43537c
lea ecx, [esp + 0x14]
push 0x5c2dc4
push ecx
call fcn.00499ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43537c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43537f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aa082
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43528e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a9f95
xor eax, eax
jmp 0x4353bf
mov byte [esi], 0
push 0x5c2dc0
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.004a9f95
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 0x448580
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 0x4485ee
cmp si, 0x69
ja 0x4485ee
add esi, 0xffd0
cmp si, 0x11
je 0x4485be
push 0x11
call edi
test ax, ax
jge 0x4485be
or esi, 0x2000
cmp si, 0x10
je 0x4485d3
push 0x10
call edi
test ax, ax
jge 0x4485d3
or esi, 0x4000
cmp si, 0x12
je 0x4485e8
push 0x12
call edi
test ax, ax
jge 0x4485e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4485fb
mov esi, 0xbd
jmp 0x4485af
cmp si, 0x6e
jne 0x448608
mov esi, 0xbe
jmp 0x4485af
cmp si, 0x6f
jne 0x4485a9
mov esi, 0xbf
jmp 0x4485af

Function at 0x449db0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5dc488]
xor edx, edx
cmp eax, edx
jne 0x449dd6
xor eax, eax
mov byte [eax + 0x5dc388], al
inc eax
cmp eax, 0x100
jl 0x449dbe
mov dword [0x5dc488], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5dc388
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x449e67
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 0x449e3a
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 0x449e08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x449ee0
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 0x449f33
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 0x449f1a
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