joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4459d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445a03
push esi
call fcn.00453c70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4459fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445a89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445a72
mov eax, dword [esi + 8]
test eax, eax
je 0x445a27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x445a6e
cmp eax, 2
je 0x445a72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x445a1a
cmp eax, 3
je 0x445a4d
cmp eax, 1
jne 0x445a1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x445a1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x445a1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445ab0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445a98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445ab0
add esp, 4
pop esi
ret

Function at 0x446320
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x446341
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x446341
mov eax, dword [eax + 0x44]
test eax, eax
je 0x446341
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x461530
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0xa3b644]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x461543
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x461584
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0xa3b6ec]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4615b6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4615ba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4615ab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4615d8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4615dc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4615cd
xor ecx, ecx
mov eax, 0xa3b654
xor ebx, ebx
mov bl, byte [ecx + 0xa3b6fc]
cmp byte [esp + ebx + 0x14], 0
je 0x461607
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0xa3b714]
cmp byte [esp + ebx + 0x14], 0
je 0x46161e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4615ee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x461577
lea edx, [esp + 0x84]
push edx
call fcn.00461660
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x476342
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47637a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004743f9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004743d1
jmp 0x476386
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x477a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x477a76
call fcn.0047d4ec
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x477a76
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x477a6d
xor eax, eax
jmp 0x477a7e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00477a84
pop edi
pop esi
pop ebx
ret 4

Function at 0x47da1c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47da4a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47da68
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d982
jmp 0x47da68
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47da68
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d982
test edi, edi
mov eax, edi
jne 0x47da52
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1148510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xd1c015
lea edi, [esi - 0x91b015]
push edi
or ebp, 0xffffffff
jmp 0x1148532
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1148539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1148528
mov eax, 1
add ebx, ebx
jne 0x114854b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x114855c
jne 0x114857b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x114857b
dec eax
add ebx, ebx
jne 0x1148568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1148540
add ebx, ebx
jne 0x1148577
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11485cd
xor ecx, ecx
sub eax, 3
jb 0x1148593
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1148602
sar eax, 1
mov ebp, eax
jmp 0x114859e
add ebx, ebx
jne 0x114859e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x114856c
inc ecx
add ebx, ebx
jne 0x11485ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x114856c
add ebx, ebx
jne 0x11485b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11485ae
jne 0x11485ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11485ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11485ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11485de
jmp 0x114852e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11485ec
add edi, ecx
jmp 0x114852e
pop esi
mov edi, esi
mov ecx, 0x1f7f1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x114860a
cmp byte [edi], 0x56
jne 0x114860a
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 0x114860f
lea edi, [esi + 0xd1e000]
mov eax, dword [edi]
or eax, eax
je 0x114867e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd48000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd48028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x114863c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd48030]
or eax, eax
je 0x1148678
mov dword [ebx], eax
add ebx, 4
jmp 0x1148659
call dword [esi + 0xd4802c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x11486b8
cmp al, 0xef
ja 0x11486a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1148684
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x1148691
mov eax, dword [edi]
add edi, 4
jmp 0x1148691
mov ebp, dword [esi + 0xd48034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x11486ec
sub esp, 0xffffff80
jmp 0x472340
Function at 0x67f1e6
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap eax
jmp 0x5c52a6
push eax
mov eax, edx
movsx eax, bp
push ebp
dec eax
push edx
not dl
push edi
dec edi
lahf
inc eax
push ebx
cwd
mov di, dx
push esi
mov edx, 0
lahf
mov esi, 0x33c65a73
bswap esi
push edx
not bp
cbw
mov ebp, dword [esp + 0x28]
mov edi, 0x207e4701
movsx eax, ax
movsx bx, bh
dec ebp
btr si, 0x7f
movsx ax, al
rcl al, 0xae
ror ebp, 1
bswap ebp
mov di, bp
not ebp
sbb di, cx
lea ebp, [ebp + edx]
bts esi, eax
adc dl, ah
mov esi, esp
rdtsc
lea esp, [esp - 0xc0]
rdtsc
bswap ax
setp bh
mov ebx, ebp
cbw
mov edx, 0
sub ebx, edx
cmp eax, ebp
lea edi, [0x52a96a]
or eax, edx
sub ebp, 4
setl ah
movzx ax, dl
sar ah, 0x60
mov eax, dword [ebp]
test ebp, esi
stc
cmc
xor eax, ebx
test sp, cx
add eax, 0x20541087
jmp 0x4cff9e
dec eax
bswap eax
cmc
xor ebx, eax
add edi, eax
jmp 0x5d3b1c
jmp edi
pushfd
jmp 0x6852ba
push ecx
jmp 0x52a8ef

Function at 0xa31504
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp edi
bswap eax
jmp 0x8f128e
dec eax
bswap eax
cmc
xor ebx, eax
add edi, eax
jmp 0x793378
push eax
mov eax, edx
movsx eax, bp
push ebp
dec eax
push edx
not dl
push edi
dec edi
lahf
inc eax
push ebx
cwd
mov di, dx
push esi
mov edx, 0
lahf
mov esi, 0x33c65a73
bswap esi
push edx
not bp
cbw
mov ebp, dword [esp + 0x28]
mov edi, 0x207e4701
movsx eax, ax
movsx bx, bh
dec ebp
btr si, 0x7f
movsx ax, al
rcl al, 0xae
ror ebp, 1
bswap ebp
mov di, bp
not ebp
sbb di, cx
lea ebp, [ebp + edx]
bts esi, eax
adc dl, ah
mov esi, esp
rdtsc
lea esp, [esp - 0xc0]
rdtsc
bswap ax
setp bh
mov ebx, ebp
cbw
mov edx, 0
sub ebx, edx
cmp eax, ebp
lea edi, [0x96ced5]
or eax, edx
sub ebp, 4
setl ah
movzx ax, dl
sar ah, 0x60
mov eax, dword [ebp]
test ebp, esi
stc
cmc
xor eax, ebx
test sp, cx
add eax, 0x20541087
jmp 0x853cc1
push ecx
jmp 0x96ce5a
pushfd
jmp 0xa24f84
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x401841
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x406318
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x406306
mov al, 1
jmp 0x406369
cmp dword [ebx + 0x54], ecx
jne 0x40630f
mov al, 2
jmp 0x406369
cmp dword [ebx + 0x7c], ecx
jne 0x406369
mov al, 3
jmp 0x406369
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x40632d
mov al, 4
jmp 0x406369
cmp ecx, 5
jne 0x40634d
cmp ebx, 0
jne 0x40633b
mov al, 5
jmp 0x406369
cmp ebx, 1
jne 0x406344
mov al, 6
jmp 0x406369
cmp ebx, 2
jne 0x40634d
mov al, 7
jmp 0x406369
cmp ecx, 6
jne 0x406359
cmp ebx, 0
jne 0x40635b
mov al, 8
jmp 0x406369
cmp ebx, 1
jne 0x406362
mov al, 9
cmp ebx, 2
jne 0x406369
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409d35
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00409ecc
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 0x409e33
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 0x409dd6
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x409e19
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x409ded
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x409e08
test al, 0x40
je 0x409dff
mov ecx, dword [edi + 0x20]
jmp 0x409e06
test al, 0x80
je 0x409e19
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x409e19
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 0x409da5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40acf4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40ad39
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40ad3f
add eax, 4
pop esi
dec esi
push esi
jne 0x40ad21
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x44126b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x441285
xor dword [ebx], eax
lea ebx, [ebx + 4]
dec ecx
jne 0x44127d
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x454db0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e021b
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.004d51a5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x454e32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d30b7
mov eax, dword [eax]
push 0x540c80
push eax
call fcn.004c5304
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d5430
test bl, bl
je 0x454e32
push 0x540c80
lea ecx, [esp + 0xc]
call fcn.004d57c0
push 0x540c8c
lea ecx, [esp + 0xc]
call fcn.004d57c0
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 0x454e6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d5430
jmp 0x454f39
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 0x454ef2
lea edx, [esp + 0x7c]
push 0x540c88
push edx
call fcn.004c5304
add esp, 8
test eax, eax
je 0x454ef2
lea eax, [esp + 0x7c]
push 0x540c84
push eax
call fcn.004c5304
add esp, 8
test eax, eax
je 0x454ef2
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 0x454e82
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.004d5430
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 0x455740
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 0x4557a2
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 0x4557b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e029b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x552148]
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 0x4558e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x455816
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d5430
xor eax, eax
jmp 0x45595f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d556d
push esi
lea ecx, [esp + 0xc]
call fcn.004d57fc
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 0x45593d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00455740
test eax, eax
jne 0x45593d
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 closesocket
mov ecx, edi
call fcn.00455740
test eax, eax
jne 0x45593d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004c6380
mov esi, eax
add esp, 8
test esi, esi
jne 0x45591c
lea ecx, [esp + 0x14]
push 0x540c98
push ecx
call fcn.004c6300
mov esi, eax
add esp, 8
test esi, esi
jne 0x45591c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45591f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d551d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45582e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d5430
xor eax, eax
jmp 0x45595f
mov byte [esi], 0
push 0x540c94
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.004d5430
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 0x464c00
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 0x464c6e
cmp si, 0x69
ja 0x464c6e
add esi, 0xffd0
cmp si, 0x11
je 0x464c3e
push 0x11
call edi
test ax, ax
jge 0x464c3e
or esi, 0x2000
cmp si, 0x10
je 0x464c53
push 0x10
call edi
test ax, ax
jge 0x464c53
or esi, 0x4000
cmp si, 0x12
je 0x464c68
push 0x12
call edi
test ax, ax
jge 0x464c68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x464c7b
mov esi, 0xbd
jmp 0x464c2f
cmp si, 0x6e
jne 0x464c88
mov esi, 0xbe
jmp 0x464c2f
cmp si, 0x6f
jne 0x464c29
mov esi, 0xbf
jmp 0x464c2f

Function at 0x466490
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5629d8]
xor edx, edx
cmp eax, edx
jne 0x4664b6
xor eax, eax
mov byte [eax + 0x5628d8], al
inc eax
cmp eax, 0x100
jl 0x46649e
mov dword [0x5629d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5628d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x466547
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 0x46651a
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 0x4664e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4665c0
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 0x466613
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 0x4665fa
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