joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54b278
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push dword [eax]
call sub.WS2_32.dll_ntohl
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x24], eax
and dword [ebp - 8], 0
jmp 0x54b2b0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x54b2cd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call sub.WS2_32.dll_ntohl
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x1c], eax
jmp 0x54b2a9
mov dword [ebp - 0x20], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x54b2e1
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x54b33c
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x20]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0x10]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
shl eax, 4
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x20]
xor eax, ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 5
add ecx, dword [ebp - 0x18]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
add eax, 0x61c88647
mov dword [ebp - 0x20], eax
jmp 0x54b2da
push dword [ebp - 4]
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x24]
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b303a
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40174b
push eax
mov eax, 0x2014
mov dword fs:[0], esp
call fcn.00401610
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call fcn.00401388
mov ecx, dword [esp + 0x2034]
mov edx, dword [esp + 0x2030]
lea eax, [esp + 0x2030]
mov ebx, 1
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x2038], ebx
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x203c]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2038]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4010c3
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::CString_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2028], 2
call sub.MFC42u.DLL_CString::operator
mov byte [esp + 0x2024], bl
lea ecx, [esp + 0xc]
jmp 0x4010f1
mov eax, dword [esp + 0x203c]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::CString_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2028], 3
call sub.MFC42u.DLL_CString::operator
mov byte [esp + 0x2024], bl
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2030]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x202c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x2024], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x201c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2020
ret
Function at 0x6f5eb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test esi, esi
mov ecx, edi
jbe 0x6f5ed0
mov dl, byte [esp + 0x14]
mov al, byte [ecx]
add al, dl
xor al, dl
mov byte [ecx], al
inc ecx
dec esi
jne 0x6f5ec4
mov eax, edi
pop edi
pop esi
ret

Function at 0x702e22
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, eax
rdtsc
lea esp, [esp + 0xc]
js 0x704ce3
setg cl
cwde
mov ecx, 0x11
jbe 0x7167c7
lea edi, [0x7dac498d]
push edx
lea edi, [ebp - 0x54]
pop eax
cdq
mov al, bl
pushfd
rep movsd dword es:[edi], dword [esi]
xor dx, bx
rcr ch, 2
mov ecx, dword [ebp + 8]
rdtsc
dec eax
mov edx, dword [ebp - 0x44]
xor ax, bx
rol al, 2
not al
rol eax, cl
mov dword [ecx + 0x10], edx
push ecx
adc dl, dl
rcr dword [ecx - 0x3f01932b], 0x8b
inc ebp
or byte [esi - 0x2d], ah
shl dword [esi + 0xf], 1
mov esi, 0xe1d366cb
btc cx, si
mov ecx, dword [ebp - 0x40]
sal dx, cl
sbb dh, 0x27
cmp ax, 0xf29f
mov dword [eax + 0x14], ecx
jmp fcn.0071ba00
movsx edi, cl
push 0x717e9193
mov ecx, 0x11
push ecx
push 0xcea21c08
jmp 0x6f84ad
lahf
rdtsc
cwde
lea edi, [ebp - 0x54]
not dx
pushfd
pushal
call fcn.00718c34
mov byte [esp + 8], ah
mov dword [ebp - 0x24], edx
pushfd
mov dword [ebp - 0x3c], 0
pushfd
mov dword [esp], 0x37eb653d
lea esp, [esp + 0x38]
jmp 0x72bc45
shrd dx, bp, 8
sar dh, 1
rcl dx, cl
rol dx, cl
mov edx, dword [ebp - 0x34]
clc
bt bp, 0xf
test al, dh
push 0x5a070d5a
sub eax, eax
movzx ax, al
btc ax, 9
call fcn.007285c9

Function at 0x703a70
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
cmp dword [edx + 0x10], 0
mov byte [esp], 0x25
pushal
pushfd
push dword [esp]
lea esp, [esp + 0x30]
je 0x726b98
rdtsc
rdtsc
mov eax, dword [ebp - 0x74]
setge ch
mov ecx, dword [eax + 0xc]
shr al, cl
pushfd
cmc
sar dh, cl
add ecx, dword [ebp + 0x10]
movzx eax, bl
aas
rcr dx, 3
xchg dx, ax
mov edx, dword [ebp - 0x74]
call fcn.00717b19
push 0x6fa718
pushal
mov byte [esp + 8], bh
pushfd
lea esp, [esp + 0x24]
call fcn.0070ed4a
push 0x1366adef
mov dword [esp], eax
pushfd
push ebx
lea esp, [esp + 8]
call fcn.007211f1
cmp bp, bp
stc
cmp cl, bl
test sp, 0x270a
mov dword [ebp - 0x18], eax
push ebx
push dword [esp]
test dl, dh
cmp dword [ebp - 0x18], 0
pushal
call fcn.0072031a
sete al
pushfd
push dword [esp]
mov edx, dword [ebp - 0x34]
call fcn.0071617a
pushfd
mov dword [esp], str.VirtualQuery
jmp 0x71c8ef

Function at 0x7064d7
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
pushfd
lea esp, [esp + 0x2c]
je 0x712e4d
setb ah
push 0xc1165ce
mov eax, 0xc0000001
pushal
mov byte [esp], 0x5f
push ebp
push 0x544d7e42
lea esp, [esp + 0x2c]
jmp fcn.00727844
Function at 0x70907a
Capabilities:
Encode data using xor

Disassembly:
jle 0x7090a4
jl 0x7090fd
invalid
dec esi
sub eax, dword [edx]
push ebx
inc edx
sub edi, dword [ecx + 0x65]
or eax, esi
scasb al, byte es:[edi]
pop edi
mov bh, 0x4c
jne 0x7090a1
mov byte [0xe181ee63], al
xor eax, ebp
retf
pop esp
inc esi
wait
invalid
mov ebx, 0x938fcd8b
test al, 0xda
dec ebp
adc dword [eax + 6], edi
xor al, 0x7e
xor cl, al
mov ebx, 0x1615bbe6
jno 0x7090f8
pop edx
popal
pop edi
mov byte [0x9abc8e88], al
stosd dword es:[edi], eax
lcall 0x48ae, 0x436af91d
xchg ecx, eax
rep lodsd eax, dword es:[esi]
outsd dx, dword [esi]
hlt

Function at 0x70b25b
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmp dh, dh
push dword [esp]
cmp dword [ebp + 0x18], 4
pushfd
lea esp, [esp + 0xc]
jne 0x7315a1
pushfd
cmp dword [ebp + 0x14], 8
jmp 0x71928a
mov eax, 0xc0000001
pushfd
pushal
lea esp, [esp + 0x24]
jmp fcn.00727844
lea esp, [esp + 4]
je 0x712e4d
not ax
setp ah
jmp 0x70d824

Function at 0x70c4c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x71dd35
add esp, 0xc
cmc
clc
cmc
test eax, eax
push 0x30b740ec
lea esp, [esp + 4]
jne 0x71cb82
rdtsc
lahf
mov eax, dword [ebp + 0x14]
movzx dx, cl
push eax
jmp 0x71127b

Function at 0x70cded
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x717f50
mov word [esp], 0xd480
mov byte [esp + 4], 0xd8
lea esp, [esp + 0xc]
je 0x718038
xor dh, al
lea ecx, [ebp*2 + 0x3bb1ffe0]
clc
mov edx, dword [ebp + 0xc]
sbb ah, 0x42
neg cl
push 0xf48786c6
mov dword [edx], 0
xadd ah, cl
mov dword [edx + 4], 0
xor cx, 0x83a2
btc dx, cx
shr eax, 8
rcr dh, 4
mov eax, dword [ebp + 0xc]
movsx dx, dl
shld dx, dx, 0xf
mov dword [eax + 8], 0
movzx dx, bl
or dl, 0x8b
and cl, cl
pushfd
mov dword [eax + 0xc], 0
pushal
cdq
seta cl
mov ecx, dword [ebp + 0xc]
sub ah, 0x46
inc esi

Function at 0x70d415
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
je 0x712e4d
bswap ax
mov eax, 0xc0000001
pushfd
lea esp, [esp + 4]
jmp fcn.00727844

Function at 0x70daf7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x28]
jne 0x71f860
call fcn.0072414d
Function at 0x710991
Capabilities:
Enumerate pe sections
Execute anti-debugging instructions

Disassembly:
mov dword [eax + 4], ecx
clc
cmc
call fcn.00726fff
mov dword [esp + 0x20], eax
pushal
lea esp, [esp + 0x40]
jle 0x73276a
push 0xa5f50899
lea esp, [esp + 4]
call 0x6f7deb
rcl cx, 6
bt edi, 7
add esp, 4
shld ecx, edi, 0x1a
mov ecx, dword [ebp + 8]
shrd dx, bx, 8
mov edx, dword [ebp + 8]
sbb ah, al
pushal
adc ax, 0x1f73
sal al, cl
sub edx, dword [ecx + 8]
and cl, 0xf2
sar al, 3
pop eax
mov dword [ebp - 0x1c], edx
aaa
mov eax, dword [ebp + 0xc]
xadd ecx, edx
bswap ecx
mov dword [ebp - 0x14], eax
cdq
rcl dh, 6
shrd cx, sp, 3
shl cl, 5
mov ecx, dword [ebp - 0x14]
btr dx, bx
stc
and edx, 0x9fc9683c
shl dl, 2
mov dword [ebp - 0xc], ecx
pushfd
lea ecx, [edx - 0x557f776a]
sar cx, cl
mov edx, dword [ebp - 0xc]
btc cx, 8
cmc
mov eax, dword [ebp - 0xc]
ror cx, 0xe
add eax, dword [edx + 0x3c]
test bp, 0x53cb
sar cl, 2
rcl ecx, cl
bts cx, bp
mov dword [ebp - 8], eax
bsr cx, ax
aas
dec ah
and cl, al
mov ecx, dword [ebp - 8]
das
mov ah, byte [esp + 0xc]
btc ax, 1
xor edx, edx
call fcn.00713245
pushfd
pushal
jmp 0x718a43

Function at 0x718885
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ch
mov dword [eax], 0
cmc
cmp dl, 0xe
btr cx, 4
clc
mov ecx, dword [ebp + 0x14]
cmp cl, bl
mov dword [ecx + 4], 1
clc
call fcn.0071be6d
mov dword [ecx + 4], 0
rdtsc
add ax, 0x1935
mov edx, dword [ebp - 0xc]
pushal
mov dword [edx], 1
adc ax, 0x3b52
rdtsc
mov eax, dword [ebp - 0xc]
cmp bl, al
xor cl, ah
pop ecx
shl ch, cl
mov ecx, dword [ebp - 4]
sal dx, 0xd
mov dword [eax + 8], ecx
bsf dx, di
mov edx, dword [ebp - 0xc]
das
cwde
mov eax, dword [ebp - 8]
sal cx, 1
pop ecx
mov dword [edx + 0xc], eax
cmc
btc dx, 1
bts cx, cx
mov ecx, dword [ebp - 0xc]
sal dh, 6
or ecx, 0x80000000
ror dl, cl
push edx
mov edx, dword [ebp + 8]
mov byte [esp + 8], 0xbe
mov dword [edx], ecx
bt ax, 0xb
bt cx, bp
clc
pushfd
cmp dword [ebp + 0x14], 0
mov byte [esp + 8], cl
pushal
push esi
lea esp, [esp + 0x44]
je 0x70388a
invalid
shrd ax, dx, cl
aam 0x17
sal cx, 0xf
mov eax, dword [ebp + 0x14]
bswap cx
jmp 0x70d4d6
mov byte [esp + 4], 0x21
lea esp, [esp + 8]
je 0x71fa43
bsr dx, ax
sub dl, al
aam 4
mov ecx, dword [ebp - 0xc]
jmp 0x715a3b
Function at 0x718a02
Capabilities:
Enumerate pe sections
Execute anti-debugging instructions

Disassembly:
dec dh
mov dword [ebp - 0x20], ecx
bsf dx, sp
sbb dx, 0xa33b
lea edx, [0xe49ec282]
inc dx
mov edx, dword [ebp - 0x20]
pushal
push 0xb68cda9e
test bl, 0x36
cmp edx, dword [ebp - 0x1c]
push dword [esp + 0xc]
mov byte [esp + 0x10], dl
call fcn.007295cf
jmp 0x713b90
btr ax, 9
das
jmp 0x72635b
cmc
cmc
sub ecx, ecx
bswap cx
mov cx, word [eax + 6]
cmp cl, bh
cmp dword [ebp - 0x10], ecx
jmp 0x728b7c
sub ecx, 0xd1b458f2
pushfd
call fcn.00727571
lea esp, [esp + 0x10]
je 0x718a2f
or ah, ah
lahf
mov edx, dword [ebp + 0x14]
adc eax, 0x70cfaa13
setbe ch
mov eax, dword [edx]
sal dl, cl
test dl, dl
mov dword [ebp - 0x10], eax
cmp ax, 0x174f
and dh, 0xe8
mov ecx, dword [ebp - 4]
shl dl, cl
mov edx, dword [ecx + 0xc]
call fcn.007202d8
lea esp, [esp + 0x24]
call 0x6f7deb
pushfd
add esp, 8
push esp
aas
mov ecx, dword [ebp + 8]
ror ax, cl
sbb ah, bh
setae dl
sub ah, ah
mov edx, dword [ebp + 8]
rcr al, 6
shr al, cl
bsr eax, esp
sar al, cl
sub edx, dword [ecx + 8]
inc ch
sub ch, 0x87
cwde
mov dword [ebp - 0x1c], edx
aaa
rcr eax, 0x1f
movsx dx, al
mov eax, dword [ebp + 0xc]
mov dx, 0x4994
shld cx, si, cl
jmp 0x7259d8
mov dword [ebp - 0x14], eax
cdq
or cl, 0x91
mov ecx, dword [ebp - 0x14]
bts dx, 9
das
rdtsc
xadd dx, ax
mov dword [ebp - 0xc], ecx
btr ax, bp
sal ax, cl
cwde
mov edx, dword [ebp - 0xc]
cmc
clc
mov eax, dword [ebp - 0xc]
shl cl, 4
add eax, dword [edx + 0x3c]
adc ecx, esi
rcl cx, 1
movsx cx, cl
mov dword [ebp - 8], eax
aad 0x3f
rcl cx, cl
dec al
cwde
mov ecx, dword [ebp - 8]
daa
daa
bswap eax
dec ah
xor edx, edx
movzx dx, cl
mov dx, word [ecx + 0x14]
lea ecx, [ecx*4 + 0x70378fd3]
mov eax, dword [ebp - 8]
bswap ecx
movzx cx, dl
push esi
pop ecx
lea ecx, [eax + edx + 0x18]
mov byte [esp], bl
pushal
pushfd
pushfd
mov dword [ebp - 4], ecx
mov byte [esp + 8], al
mov dword [ebp - 0x10], 0
pushfd
lea esp, [esp + 0x30]
jmp 0x70c2da
mov eax, dword [ebp - 8]
jo 0x70a0d8
test dh, 0xa7
xor ecx, ecx
rol ch, 2
shld cx, di, cl
mov cx, word [eax + 6]
push 0x24ff290f
cmp dword [ebp - 0x10], ecx
mov dword [esp], eax
lea esp, [esp + 4]
jge 0x722dd8
movzx ax, cl
mov edx, dword [ebp - 0x10]
rcr ah, 4
bswap ax
bswap cx
imul edx, edx, 0x28
rol cl, cl
bswap eax
sal al, 1
mov eax, dword [ebp - 4]
shl ch, cl
mov ecx, dword [ebp - 0xc]
cmp sp, 0xfa01
add ecx, dword [eax + edx + 0xc]
jmp 0x705ba8
Function at 0x71a3cb
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edi, [edi + 0x6105bb05]
lea esp, [esp + 0x28]
jb 0x722d11
pushal
mov byte [esp], 0xfd
xchg dword [esp + 0x20], edi
pushfd
push dword [esp + 0x24]
ret 0x28
lea esp, [esp + 8]
je 0x712e4d
lea eax, [esp - 0x6a3cf96a]
movzx ax, cl
push ecx
mov eax, 0xc0000001
pushfd
pushal
pushfd
lea esp, [esp + 0x2c]
jmp fcn.00727844
cmp dword [ebp - 8], 0
push edx
lea esp, [esp + 4]
jne 0x70f504
bswap cx
rdtsc
pushal
mov eax, dword [ebp + 0x1c]
pushfd
xchg dword [esp + 0x20], eax
pop ecx
not cl
mov ecx, dword [ebp + 0x18]
pushal
bswap edx
mov dword [esp + 0x38], ecx
rdtsc
mov edx, dword [ebp + 0x14]
pop eax
push 0xa76995db
push 0x379e5bfd
movsx cx, bl
xchg dword [esp + 0x38], edx
lahf
pushfd
mov eax, dword [ebp + 0x10]
xchg cx, dx
call fcn.0072d6a8
jmp 0x704c4a
jmp 0x72b776
lea esp, [esp + 0x30]
je 0x727958
pushal
stc
push dword [esp + 4]
stc
cmp dword [ebp + 0x18], 4
mov byte [esp], bl
lea esp, [esp + 0x24]
jne 0x7315a1
pushfd
clc
push eax
cmp dword [ebp + 0x14], 8
jmp 0x707a21
pushfd
xchg dword [esp + 4], edi
mov byte [esp], dh
push dword [esp + 4]
ret 8
aam 0x24
daa
mov edx, dword [ebp + 0x10]
aas
btr ecx, ecx
ror ah, cl
mov dword [ebp - 8], edx
bts ax, di
xor ecx, 0xfe518e5c
sub eax, 0x6a56bb09
mov eax, dword [ebp - 8]
xor cl, bh
and cl, 0x75
sal ch, cl
pushal
mov dword [eax], 7
adc ch, 0xaa
shrd ecx, edi, 9
shrd cx, dx, 3
sal ch, cl
mov ecx, dword [ebp - 8]
call fcn.0072e97d
stc
mov dword [ebp - 8], 1
cmc
cmp ecx, 0x14e9c889
jmp 0x7129bc

Function at 0x71aa41
Capabilities:
Encode data using xor

Disassembly:
lea edi, [edi - 0x4122520c]
push 6
adc byte [ebp + 0x3e08fe94], cl
xor byte [esi + 0x45], ah
add byte [edi + 0x2a6705f0], ah
jae 0x71aa57
inc eax
dec ebx
cmpsb byte [esi], byte es:[edi]
inc ebp
sub al, 0x9e
test eax, 0xf8b5f3ba
lahf
loop 0x71aa18
stosd dword es:[edi], eax
cmp al, byte [esi + 0x48913ebd]
xchg byte [ebp + 0x50], bl
xor byte [edi - 0x47902302], dl
dec eax
xchg ebp, eax
das
adc ch, byte [esp + edi*2]
push esi
jne 0x71aa1e
jb fcn.0071a9e2
sub al, 0x81
enter 0xfffffffffffff49d, 0xffffffffffffffad
cld
jmp 0x7d961ffb
Function at 0x40d1a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x485ecb
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.00479f03
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d222
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00477174
mov eax, dword [eax]
push 0x7231d0
push eax
call fcn.00469ce4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047a18e
test bl, bl
je 0x40d222
push 0x7231d0
lea ecx, [esp + 0xc]
call fcn.0047a51e
push 0x726d44
lea ecx, [esp + 0xc]
call fcn.0047a51e
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 0x40d25e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047a18e
jmp 0x40d329
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 0x40d2e2
lea edx, [esp + 0x7c]
push 0x726d40
push edx
call fcn.00469ce4
add esp, 8
test eax, eax
je 0x40d2e2
lea eax, [esp + 0x7c]
push 0x726d3c
push eax
call fcn.00469ce4
add esp, 8
test eax, eax
je 0x40d2e2
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 0x40d272
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.0047a18e
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 0x40db20
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 0x40db82
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 0x40db90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x485f4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x72ddcc]
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 0x40dcc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40dbf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a18e
xor eax, eax
jmp 0x40dd3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047a2cb
push esi
lea ecx, [esp + 0xc]
call fcn.0047a55a
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 0x40dd1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0040db20
test eax, eax
jne 0x40dd1d
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 SysReAllocString
mov ecx, edi
call fcn.0040db20
test eax, eax
jne 0x40dd1d
lea eax, [esp + 0x14]
push 0x726d58
push eax
call fcn.0046adf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40dcfc
lea ecx, [esp + 0x14]
push 0x726d54
push ecx
call fcn.0046ad70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40dcfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40dcff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047a27b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40dc0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a18e
xor eax, eax
jmp 0x40dd3f
mov byte [esi], 0
push 0x726d50
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.0047a18e
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 0x41e200
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 0x41e26e
cmp si, 0x69
ja 0x41e26e
add esi, 0xffd0
cmp si, 0x11
je 0x41e23e
push 0x11
call edi
test ax, ax
jge 0x41e23e
or esi, 0x2000
cmp si, 0x10
je 0x41e253
push 0x10
call edi
test ax, ax
jge 0x41e253
or esi, 0x4000
cmp si, 0x12
je 0x41e268
push 0x12
call edi
test ax, ax
jge 0x41e268
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41e27b
mov esi, 0xbd
jmp 0x41e22f
cmp si, 0x6e
jne 0x41e288
mov esi, 0xbe
jmp 0x41e22f
cmp si, 0x6f
jne 0x41e229
mov esi, 0xbf
jmp 0x41e22f

Function at 0x41f8e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x73e4e0]
xor edx, edx
cmp eax, edx
jne 0x41f906
xor eax, eax
mov byte [eax + 0x73e3e0], al
inc eax
cmp eax, 0x100
jl 0x41f8ee
mov dword [0x73e4e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x73e3e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41f997
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 0x41f96a
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 0x41f938
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41fa10
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 0x41fa63
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 0x41fa4a
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
Function at 0x422fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00480db4
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00422e70
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00480e26
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret