joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f127
Capabilities:
Resolve function by parsing pe exports

Disassembly:
ror si, cl
add edi, eax
mov si, ax
jmp 0x40ea44
mov si, 0x6a95
mov esi, dword [ebp + 0xc]
pushal
mov dword [esp + 0x1c], eax
pushfd
setp al
setne al
lodsb al, byte [esi]
clc
bt dx, 9
neg al
pushal
not al
pushfd
sub al, 0x5d
cmp dh, bl
stc
not al
push edx
stc
cmp al, byte [edi]
pushfd
push dword [esp]
lea edi, [edi + 1]
movsx ax, dl
not al
mov ah, 0x3e
mov eax, dword [esp + 0x50]
jmp fcn.00413a73
add esi, 0x8eb29df2
sub ecx, 1
cmc
bsf di, cx
mov dword [ebp - 4], ecx
add esp, 4
btc cx, ax
rcr cl, cl
mov ecx, dword [ebp - 8]
shl si, 0xb
or si, 0x3319
rcr di, cl
add ecx, dword [ebp - 4]
or edi, 0x43dc7db4
shr ecx, 1
sbb si, 0xc1
mov si, 0x1f9
bt bx, sp
mov edi, dword [ebx + ecx*4]
stc
jb 0x40dbcc
sbb byte [edx - 0x16], 0xff
push edi
salc
not esi
bsr si, dx
add edi, eax
call fcn.004129a6
xchg esp, eax
pop esi
out 0xd1, al
pushal
inc ebp
out dx, eax
or ah, byte [0xcf68428]
imul ebp, dword [eax - 0x19], 0xffffffd4
mov byte [0xc7576e07], al
xchg esi, eax
xor dword es:[ebx], eax
add byte [eax + 0x1b], al
dec ebp
dec esi
xchg byte [ecx - 0x3f], bh
nop
xchg byte [edi - 0x723cbf56], bh
jge 0x40f1eb
sub ebx, ecx
sub edx, eax
imul eax, dword [eax - 0x3c], 0x899e28e1
sar byte [edx - 0x6d], cl
cmp eax, 0x2021e6a5
adc dword [edx - 0x7b], ebx
add dword [ebp + 0x3e], ebx
xchg esp, eax
add eax, 0x992109c8
out dx, eax
aas
out 0xe2, eax
xchg esi, eax
pushal
xor eax, 0x2c1f5c0
mov dword [0x7bdb61e3], eax
loopne 0x40f16d
adc ebx, dword [eax + ecx*8 - 0x7a]
or dh, byte [edx + 0x21]
lodsd eax, dword [esi]
jnp 0x40f20c
invalid
push ds
lodsb al, byte [esi]
invalid
pushfd
jno 0x40f273
shl byte [ebp - 0x4fe1c170], cl
push edx
mov edx, 0xa7b4e5bd
jno 0x40f266
cmp al, 0x7d
sub dl, byte [edx - 0x7043228b]
jp 0x40f263
invalid
cmp eax, 0x8c24218d
and al, 0x8c
pushal
pop ds
lodsb al, byte [esi]
mov cs, word [ebx + 0x6c84b42e]
sbb esp, esp
iretd
Function at 0x4108ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsx cx, cl
bsr cx, bp
clc
and cl, 0x24
mov ecx, dword [esi + 0x7c]
call fcn.0040ff0b
pushal
push 0xab832a58
lea esp, [esp + 0x24]
jne 0x414500
pushfd
pushal
pushal
mov dword [esp + 0x40], edi
pushfd
jmp 0x413682
bswap cx
neg cx
rcr ecx, 0x1f
mov ecx, dword [ebp + 0xc]
pushfd
cmc
clc
test ch, 0x92
cmp ecx, 0xffff
mov byte [esp], 0xaa
lea esp, [esp + 4]
jbe 0x411d80
adc ch, 0x1c
ror di, cl
bsf di, cx
xadd di, cx
mov edi, dword [edx + 0x24]
not ch
bt cx, bp
add edi, eax
xchg cl, bh
mov ebx, dword [edx + 0x20]
not ecx
push 0x23a2d615
add ebx, eax
mov ch, 0x23
mov dword [ebp - 8], 0
lea ecx, [edx*2 + 0x2ecfabc1]
bsr cx, bp
movzx cx, dl
mov ecx, dword [edx + 0x18]
mov byte [esp], 0x12
call fcn.0040e909
stc
test ah, ah
jmp 0x411950
push 0x2eae8d01
lea esp, [esp + 0x10]
je 0x413136
shl si, cl
mov esi, dword [eax + 0x3c]
stc
btr dx, 0xc
bsr dx, dx
add esi, eax
adc dx, 0xecd6
or edx, 0xb9f8db2b
cmc
bts dx, ax
mov edx, dword [esi + 0x78]
clc
cmp dh, cl
test edx, edx
push edi
mov word [esp], bx
lea esp, [esp + 4]
je 0x413136
shr ecx, 0xd
jmp 0x41341c
jmp 0x40e5b6
stc
not cl
add edx, eax
jg 0x40de20
shld cx, cx, cl
sbb cl, ah
mov ecx, dword [esi + 0x7c]
cmp ax, ax
bt ebp, edi
cmp bl, 0xff
push esi
add ecx, edx
clc
cmp ax, 0xcabc
push 0xcf1aece9
mov dword [ebp - 0x10], ecx
inc ecx
movsx cx, al
add esp, 8
jge 0x41460c
mov ecx, dword [ebp + 0xc]
call fcn.00413972
mov dword [esp + 0x44], ebx
call fcn.00411dae
test esp, 0x2c183f01
clc
cmc
jo 0x40f678
test ah, ah
push 0xdb38a778
lea esp, [esp + 4]
jne 0x414500
pushfd
jmp 0x413649
call fcn.0040fa4f
jmp 0x410076
push ebp
std
invalid
mov word [esp + 8], bx
call 0x41345f
loopne 0x41366c
mov eax, 0xa394c95
daa
mov byte [0x1eac4001], al
add al, 0x8c
invalid
jmp 0x40e602

Function at 0x414170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x50]
ja 0x4108bd
pushfd
pushfd
jmp 0x40f841
Function at 0x401800
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x401827
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b73
mov esp, ebp
pop ebp
ret
push esi
mov esi, eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x401830
sub esi, ecx
sar esi, 1
jne 0x401852
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b73
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor ecx, ecx
lea edi, [esi + 3]
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402cd4
lea ecx, [edi + edi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.00404f90
push dword [ebp - 0x28]
inc esi
push esi
push ebx
call fcn.004063a0
add esp, 0x1c
mov dword [ebp - 0xe], 0
mov eax, 0x614
mov dword [ebp - 0x24], 0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 0xa], 0
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
push ebx
sbb esi, esi
call fcn.00402cdd
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
add esp, 4
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.00402b73
mov esp, ebp
pop ebp
ret

Function at 0x401f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401f99
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401fd6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401fd2
nop word [eax + eax]
cmp esi, edx
jae 0x401fd6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401fc0
cmp esi, edx
jb 0x401fdd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402440
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x41d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push 0x41d8e4
push 0xa0000
mov dword [esi], 0xffffffff
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x238], 0
call fcn.00403209
push 0x41d8e4
push 0xa0200
mov dword [esi + 0x234], eax
call fcn.00403209
add esp, 0x10
mov dword [esi + 0x238], eax
lea eax, [esi + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
push eax
lea edi, [esi + 4]
push 0x105
push edi
call fcn.004063a0
add esp, 0xc
push 0x2e
push edi
call fcn.00404ee4
add esp, 8
test eax, eax
je 0x402512
cmp word [eax], 0x5c
jne 0x40250d
add eax, 2
xor ecx, ecx
mov word [eax], cx
push str..Log
push 0x105
push edi
call fcn.00408960
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00404ee4
add esp, 8
test eax, eax
je 0x402554
xor ecx, ecx
mov word [eax + 2], cx
push str.hconfig.ini
lea eax, [ebp - 0x218]
push 0x105
push eax
call fcn.00408960
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push str.Level
push 0x41ae94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x228], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
call fcn.00402b73
mov esp, ebp
pop ebp
ret 0xc
Function at 0x651d42
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x651d8e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x651d88
mov ecx, dword [0x6927b0]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x651d7c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x651d61
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x651d8a
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x653853
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x6538bf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x653908
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0066cc50
add esp, 8
test eax, eax
jne 0x653906
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x65390a
jmp 0x6538b6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x65c44b
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00655f47
add esp, 4
and eax, 0xff
test eax, eax
je 0x65c4d4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00667370
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x65c4d2
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x65c4d2
jmp 0x65c4d4
jmp 0x65c454
mov esp, ebp
pop ebp
ret

Function at 0x65c943
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x693350]
test eax, eax
jne 0x65c957
call fcn.0065c874
xor ecx, ecx
mov cl, byte [0x69334d]
test ecx, ecx
jne 0x65c9de
xor edx, edx
mov dl, byte [0x69334c]
test edx, edx
jne 0x65c9de
cmp dword [0x693558], 0
je 0x65c9b9
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x693558]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x693558]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x693558]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x65c9de
push 0x10001
push 0x693350
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x65c9de
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x65faea
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x65fafa
xor eax, eax
jmp 0x65fcc3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x65fc7b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x690e64]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x65fb03
cmp dword [ebp + 0x10], 0
je 0x65fcbd
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x690e64]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x65fc81
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x669500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x68e4b8
cmp edx, dword [eax]
je 0x669522
add eax, 8
inc ecx
cmp eax, 0x68e548
jl 0x669513
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x68e4b8]
jne 0x669650
mov eax, dword [0x6935d8]
cmp eax, 1
je 0x66962a
test eax, eax
jne 0x669553
cmp dword [0x68e1f4], 1
je 0x66962a
cmp edx, 0xfc
je 0x669650
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x66958a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006674d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00667680
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6695cd
lea eax, [ebp - 0x1a4]
push eax
call fcn.00667680
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x69227c
push edi
call fcn.00667700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006674d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006674e0
lea eax, [ebp - 0xa0]
push 0x69225c
push eax
call fcn.006674e0
push dword [esi + 0x68e4bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.006674e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0066bac8
add esp, 0x2c
pop edi
jmp 0x669650
lea eax, [ebp + 8]
lea esi, [esi + 0x68e4bc]
push 0
push eax
push dword [esi]
call fcn.00667680
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 0x408900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f64b
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.00462291
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045fca7
mov eax, dword [eax]
push 0x5511d0
push eax
call fcn.004529f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046251c
test bl, bl
je 0x408982
push 0x5511d0
lea ecx, [esp + 0xc]
call fcn.004628f8
push 0x554d30
lea ecx, [esp + 0xc]
call fcn.004628f8
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 0x4089be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046251c
jmp 0x408a89
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 0x408a42
lea edx, [esp + 0x7c]
push 0x554d2c
push edx
call fcn.004529f4
add esp, 8
test eax, eax
je 0x408a42
lea eax, [esp + 0x7c]
push 0x554d28
push eax
call fcn.004529f4
add esp, 8
test eax, eax
je 0x408a42
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 0x4089d2
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.0046251c
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 0x409ce0
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 0x409d42
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 0x409d50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x55bc08]
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 0x409e88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409db6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046251c
xor eax, eax
jmp 0x409eff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004626a5
push esi
lea ecx, [esp + 0xc]
call fcn.00462934
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 0x409edd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00409ce0
test eax, eax
jne 0x409edd
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 SysReAllocStringLen
mov ecx, edi
call fcn.00409ce0
test eax, eax
jne 0x409edd
lea eax, [esp + 0x14]
push 0x554d44
push eax
call fcn.00453ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409ebc
lea ecx, [esp + 0x14]
push 0x554d40
push ecx
call fcn.00453a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x409ebc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409ebf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462655
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409dce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046251c
xor eax, eax
jmp 0x409eff
mov byte [esi], 0
push 0x554d3c
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.0046251c
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 0x41a410
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 0x41a47e
cmp si, 0x69
ja 0x41a47e
add esi, 0xffd0
cmp si, 0x11
je 0x41a44e
push 0x11
call edi
test ax, ax
jge 0x41a44e
or esi, 0x2000
cmp si, 0x10
je 0x41a463
push 0x10
call edi
test ax, ax
jge 0x41a463
or esi, 0x4000
cmp si, 0x12
je 0x41a478
push 0x12
call edi
test ax, ax
jge 0x41a478
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a48b
mov esi, 0xbd
jmp 0x41a43f
cmp si, 0x6e
jne 0x41a498
mov esi, 0xbe
jmp 0x41a43f
cmp si, 0x6f
jne 0x41a439
mov esi, 0xbf
jmp 0x41a43f

Function at 0x41bb30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56c998]
xor edx, edx
cmp eax, edx
jne 0x41bb56
xor eax, eax
mov byte [eax + 0x56c898], al
inc eax
cmp eax, 0x100
jl 0x41bb3e
mov dword [0x56c998], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56c898
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41bbe7
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 0x41bbba
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 0x41bb88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bc60
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 0x41bcb3
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 0x41bc9a
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