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

Disassembly:
push 0x18
push 0x10026ab0
call fcn.00426120
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4250ae
xor eax, eax
jmp 0x425142
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + edi + 0x78]
add ebx, edi
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x20]
add edx, edi
mov dword [ebp - 0x20], edx
mov ecx, dword [ebx + 0x24]
add ecx, edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0xffff0000
jne 0x4250eb
movzx eax, cx
sub eax, dword [ebx + 0x10]
jmp 0x425112
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x28], ebx
mov eax, ebx
dec ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x42513c
mov eax, dword [edx]
add eax, edi
push ecx
push eax
call fcn.00425e30
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x42511c
movzx eax, word [eax]
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax*4]
add esi, edi
jmp 0x425139
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
jmp 0x4250f1
mov dword [ebp - 0x24], esi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0042615b
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x10b
push edi
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x18]
cmp cx, dx
jne 0x42516f
xor edi, edi
add eax, 0x78
jmp 0x425181
mov edx, 0x20b
cmp cx, dx
jne 0x4251e8
xor edi, edi
inc edi
add eax, 0x88
push edi
push esi
push dword [eax]
call fcn.0042535f
add eax, esi
push edi
push esi
mov dword [ebp + 8], eax
push dword [eax + 0x20]
call fcn.0042535f
push edi
push esi
lea ebx, [esi + eax]
mov eax, dword [ebp + 8]
push dword [eax + 0x24]
call fcn.0042535f
add esp, 0x24
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
jmp 0x4251e4
push edi
push esi
push dword [ebx]
dec eax
mov dword [ebp - 8], eax
call fcn.0042535f
add eax, esi
push 0x10022c70
push eax
call fcn.00428df0
add esp, 0x14
test eax, eax
jne 0x4251f1
mov eax, dword [ebp - 8]
add ebx, 4
add dword [ebp - 4], 2
test eax, eax
jne 0x4251b9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
push esi
push edi
push esi
push dword [eax + 0x1c]
call fcn.0042535f
mov ecx, dword [ebp - 4]
add eax, esi
add esp, 0xc
movzx ecx, word [ecx]
push dword [eax + ecx*4]
call fcn.0042535f
add esp, 0xc
jmp 0x4251ea
Function at 0x44b810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov dword [esi], 0
mov eax, dword [0x65bd6c]
push eax
call sub.IMM32.dll_ImmGetContext
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov dword [0x65bd6c], eax
call edi
test ax, ax
push 0x10
setne bl
call edi
test ax, ax
jge 0x44b84c
or dword [esi], 0x2000000
push 0x11
call edi
test ax, ax
jge 0x44b85b
or dword [esi], 0x4000000
push 0
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test bl, bl
je 0x44b86d
or dword [esi], 0x657620
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x46517e
Capabilities:
Encode data using xor

Disassembly:
or esp, dword [edi - 0x7db57226]
add byte [ebx - 0x29afd877], ch
or byte [edx - 0x3abd4eab], 0x4f
inc eax
call 0x20580733
push cs
xor byte [esi - 0x60], cl
lahf
mov dword [0x1ed99861], eax
xor byte ss:[esi - 0x23af4307], cl
pushal
sahf
pushal
adc ecx, dword [ebp]
mov bh, 0x4e
jge 0x4651f0
invalid
sbb dword [eax + edi - 0x7adf6153], esi
sub dl, byte [ebx - 0x7f01d1a]
rcr dword [bp + 0xe], 1
outsd dx, dword [esi]
xor esp, dword [ebx - 0x42493752]
cdq
rcr byte [0x6015780d], cl
std
mov edx, 0x9f52f07e
push esi
mov eax, 0xea8c5acf
into
int1
mov al, 0xf0
inc ecx
int3

Function at 0x49652e
Capabilities:
Encode data using xor

Disassembly:
push esi
push eax
push ebx
xor esi, esi
call dword [0x475488]
cmp word [ebx], si
je 0x496575
mov edx, ebx
push ebp
xor eax, eax
cmp word [edi], ax
je 0x496567
mov ecx, edi
lea esp, [esp]
mov ebp, esi
imul ebp, eax
add bp, word [ecx + 2]
add eax, 1
xor word [edx], bp
cmp word [edi + eax*2], 0
lea ecx, [edi + eax*2]
jne 0x49654e
add esi, 1
cmp word [ebx + esi*2], 0
lea edx, [ebx + esi*2]
jne 0x496541
pop ebp
pop esi
ret

Function at 0x50026b
Capabilities:
Encode data using xor

Disassembly:
xor esp, dword [esi - 0x318db99e]
test dword [ebx], 0x869ceb94
popfd
xchg byte [ebp - 0x2726d329], bh
inc ebp
insd dword es:[edi], dx
xchg byte [edx - 0x19], ch
mov gs, word [esi]
pop esp
invalid
leave
test dword [edx + 0x4d], eax
cdq
sub edi, dword [esi + 2]
inc esp
push 0x3a
xor byte [edx], bl
sbb eax, 0x73aa740
aad 0xf
push ebx
bound edx, qword [eax]
sub eax, 0xba9fec1
salc
mov byte [ecx], al
lahf
and ebx, dword [ebp + 0x32]
rol dword [eax], 1
stosd dword es:[edi], eax
mov word [esi], ss
adc eax, 0xe4040c86
ja 0x5001d1
in al, 0x77
invalid
and dh, byte [eax]
push edi
std
sbb eax, dword [edi + 0x5f]
test dword ss:[eax - 0x3f], 0xb525a5ed
test dword ss:[eax - 0x3f], 0xb525a5ed
test dword ss:[eax - 0x3f], 0xb525a5ed
in eax, dx
movsd dword es:[edi], dword [esi]
and eax, 0xd76fd7b5
xlatb
outsd dx, dword [esi]
xlatb
test al, 0xa3
in al, 0x27
xchg edx, eax
ror byte [ebx - 0x32], cl
xor eax, 0x75a7dd33
dec ebx
jbe 0x50024f
js 0x50023f
fdivr qword cs:[ebp + 0x44]
jecxz 0x5002e6
test al, 8
jns 0x500213
add esp, 0x488b30f1
ret
and esi, esi
cmp esi, dword [edi + 0x1b]
sal dword [ebx + 0x7fc02c31], 1
fnstsw word [edi + 0x24e23052]
sbb dword [ebx], edi
fisubr word [edi - 0x4bfd2bd3]
test bl, bl
mov dl, 0xb6
retf 0xcac2
Function at 0x55c8a1
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0xf2304e4e]
retf
das
and cl, ah
add ch, cl
stosd dword es:[edi], eax
jge 0x55c85b
salc
cmc
wait
xchg ebx, eax
xchg ebx, eax
cli
mov ah, byte [ebx + 0x7fefa3fb]
pop edx
jg 0x55c911
xor dh, byte [esi]
pushal
push cs
and ch, ch
loopne 0x55c8b5
push ds
pop es
mov byte cs:[edx], cl
imul esi, dword [ebx - 0x7d8196bc], 0x42
aas
or al, 0x51
wait
mov dword [edi - 0x64], ebp
hlt
jmp 0xc81ec4ad

Function at 0x5c202e
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
push ebx
xor esi, esi
call dword [0x475488]
cmp word [ebx], si
je 0x5c2075
mov edx, ebx
push ebp
xor eax, eax
cmp word [edi], ax
je 0x5c2067
mov ecx, edi
lea esp, [esp]
mov ebp, esi
imul ebp, eax
add bp, word [ecx + 2]
add eax, 1
xor word [edx], bp
cmp word [edi + eax*2], 0
lea ecx, [edi + eax*2]
jne 0x5c204e
add esi, 1
cmp word [ebx + esi*2], 0
lea edx, [ebx + esi*2]
jne 0x5c2041
pop ebp
pop esi
ret

Function at 0x5f42e3
Capabilities:
Encode data using xor

Disassembly:
xorps xmm5, xmm2
movsb byte es:[edi], byte [esi]
lodsd eax, dword [esi]
rcr dword [edi + 0xd6fca1f], cl
cmp esp, edi
popfd
xor edi, esp
invalid

Function at 0x62bd4a
Capabilities:
Encode data using xor

Disassembly:
test byte [ebx - 0x6a], al
scasd eax, dword es:[edi]
push es
pop edi
imul edx, dword [esi + 0x5fe575ef], 0x6a
invalid
xlatb
jl 0x62bce4
dec edi
add ebp, ebp
in al, 0x3e
xlatb
dec esp
les esp, [edx + 0x1e655c05]
add dword [edi - 0x719de698], edi
insb byte es:[edi], dx
mov ch, 0xac
sbb ch, al
xor al, ah
les ebx, [esi - 0x1a5f8f4e]
test al, 0x62
push edi
jns 0x62bd24
mov al, byte [0x4c30a59f]
push cs
invalid
Function at 0x646a4f
Capabilities:
Encode data using xor

Disassembly:
lcall 0x65ed, 0x7ccad0dc
mov ecx, 0xcd2ab0a
mov ebx, 0xba0358aa
push es
pop ecx
sti
scasb al, byte es:[edi]
mov edx, 0x80f2c4bd
shl esp, 0x60
mov ebp, 0xc180f2c4
in al, 0x60
invalid
jae 0x646a5c
jne 0x646aca
insd dword es:[edi], dx
mov ebx, 0xdbd5d3
invalid
adc eax, 0xe3cdd098
cdq
mov eax, 0x7456a6ed
adc al, 0xa9
aas
stosb byte es:[edi], al
mov eax, 0xc84a7b28
fld dword [esp + eax - 0x612bfd08]
jnp 0x646aba
enter 0xffffffffffff84d9, 4
clc
add dl, ah
sahf
jb 0x646a2c
jo 0x646a81
mov bl, 0x74
and edi, ebp
jp 0x646ac6
inc esp
mov byte [0xf4cd8a23], al
jae 0x646a5c
cmc
js 0x646a43
sub ebx, eax
cld
xor byte [ebp + 0x52], ch
sbb byte [edi], dh
wait
fidiv word ds:[esi - 0x3de2b407]
sal dword [edi - 0x37], 0xd4
clc
dec esp
mov esp, 0x479eb60f
sti
test byte [esi], ch
or dword [edx + 0x3f], ecx
xchg ebx, eax
xor cl, byte [ebp - 0x120073f0]
jno 0x646a4a
invalid
push ecx
repne scasd eax, dword es:[edi]
iretd
xchg esi, eax
stosb byte es:[edi], al
push ecx
aas
jge 0x646a6e
jo 0x646a7e
scasd eax, dword es:[edi]
lodsd eax, dword [esi]
in eax, dx
inc esp
and al, 0x35
cmp cl, cl
mov ah, byte [ebx - 0x20]
jle 0x646ace
jmp 0x646b47
dec ebp
wait
or eax, 0x6deba31c
sbb eax, 0x6d2ddfaa
jecxz 0x646bc9
fild qword [0x327de36d]
dec ecx
inc ecx
xor cl, byte [ecx + 0x41]
lahf
mov cl, 0x8c
push 0x1218026d
adc ebp, dword [ecx]
lcall 0x736e, 0x4654fcf4
aas
and bl, byte [eax - 0x6b1a3caf]
jne 0x646b3e
outsd dx, dword [esi]
push ds
push 0x6b
ljmp 0xf480
insd dword es:[edi], dx
xchg esp, eax
pop ecx
jmp [ecx - 0x3885fcf1]
Function at 0x408780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.VMP1
lea edi, [esi - 0x6000]
push edi
jmp 0x40879a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4087a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408790
mov eax, 1
add ebx, ebx
jne 0x4087b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4087a8
jne 0x4087c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4087a8
xor ecx, ecx
sub eax, 3
jb 0x4087d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40884a
mov ebp, eax
add ebx, ebx
jne 0x4087e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4087f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408814
inc ecx
add ebx, ebx
jne 0x408800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4087f5
jne 0x408811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4087f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408834
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408825
jmp 0x408796
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408834
add edi, ecx
jmp 0x408796
pop esi
mov edi, esi
mov ecx, 0x81
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408852
cmp byte [edi], 0
jne 0x408852
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 0x408857
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4088c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x822c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408884
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8234]
or eax, eax
je 0x4088c0
mov dword [ebx], eax
add ebx, 4
jmp 0x4088a1
call dword [esi + 0x8230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4088f7
cmp al, 0xef
ja 0x4088ea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4088cc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4088d9
mov ebp, dword [esi + 0x8238]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x8952]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408943
sub esp, 0xffffff80
jmp 0x401ee0
Function at 0x59d790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbe000]
push edi
jmp 0x59d7aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59d7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d7a0
mov eax, 1
add ebx, ebx
jne 0x59d7c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59d7d4
jne 0x59d7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d7f3
dec eax
add ebx, ebx
jne 0x59d7e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59d7b8
add ebx, ebx
jne 0x59d7ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59d845
xor ecx, ecx
sub eax, 3
jb 0x59d80b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59d87a
sar eax, 1
mov ebp, eax
jmp 0x59d816
add ebx, ebx
jne 0x59d816
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d7e4
inc ecx
add ebx, ebx
jne 0x59d824
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59d7e4
add ebx, ebx
jne 0x59d831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59d826
jne 0x59d842
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59d826
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59d864
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59d856
jmp 0x59d7a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59d864
add edi, ecx
jmp 0x59d7a6
pop esi
mov edi, esi
mov ecx, 0x4773
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59d882
cmp byte [edi], 0x13
jne 0x59d882
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 0x59d887
lea edi, [esi + 0x199000]
mov eax, dword [edi]
or eax, eax
je 0x59d8f6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f81e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f82ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59d8b4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f82b4]
or eax, eax
je 0x59d8f0
mov dword [ebx], eax
add ebx, 4
jmp 0x59d8d1
call dword [esi + 0x1f82b0]
mov ebp, dword [esi + 0x1f82b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x59d92a
sub esp, 0xffffff80
jmp 0x495d56
Function at 0x401390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4013e8
cmp byte [esi + ebx - 1], 0xa
je 0x4013bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401e70
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x71e624
Capabilities:
Encode data using xor

Disassembly:
pop esp
push 2
push 0xc8687e80
invalid
sar dword [edi], cl
xor byte [0x2a6ab6e0], al
push 0xf7e77a0a
sub dword [eax + 0x50], edi
sub ch, byte [eax + 0xa]
jp 0x71e617
imul dword [ecx]
js 0x71e684
call 0x8c521c2e
lea esi, [ebx - 0x75]
xchg ebp, eax
xchg dword [edi + 0x4d], ecx
shr byte [ecx], 0xca
mov edi, 0x953b14d2
mov dh, 0x1f
adc ecx, dword [eax - 0xd48901]
xor al, 0x31
push eax
call 0x6388b02
call 0xfafd6765
mov word [0xcae90003], ss
sub eax, dword [esi + eax]
stosb byte es:[edi], al
ficomp word [0x1ffa6776]
test byte [ecx], dl
in eax, 0x57
pop esi
adc al, 0
push eax
call 0xe0fac9bb
and esi, ecx
mov eax, dword [0x44837e47]
loopne 0x71e62b
sbb eax, esi
je 0xc1d952cd
invalid
pop ss
or dl, cl
int3

Function at 0x865b62
Capabilities:
Encode data using xor

Disassembly:
push esp
adc eax, 0x30238b03
aad 0x29
inc ebp
cmp dword [edi - 0x7fe3dd72], ebp
jg 0x865bcc
sbb ebp, dword [eax - 0x60]
xor dword [edi - 0x15], 0xdf68f76e
mov al, byte [0x6eeb7781]
imul dword [eax - 0x21]
push 0x780074df
push ebx
je 0x865b7f
js 0x865bd4
sub byte [ecx + 0x79630b78], 0
and dword [eax], eax
popal
add eax, 0xc9072a8e
dec esi
mov ebp, 0x2e3b22
imul eax, dword [eax], 0
add byte cs:[ebx], ch
add byte [ebx - 0x7d1558fb], cl
cdq
mov eax, dword [0x9982eaa7]
cmp eax, 0x82a8eef
sbb byte [ebx], ah
out dx, eax
mov gs, word [edx]
or byte [eax], bl
and esi, dword [0x78031838]
xor eax, 0x78031838
sbb dword [ebx], edi
jae 0x865ba6
sbb dword [eax - 0x5e50fb80], eax
inc ebp
add byte [esi - 0x6f], bl
cmp esp, dword [esi]
add byte [ebx - 0x7e], cl
invalid
pop edi
cmp eax, 0xa30953aa
mov ebx, 0x7dca7183
sar ebp, 0x59
jno 0x865ba0
jge 0x865b99
std
pop ecx
jae 0x865b94
mov ebp, 0xbb41d443
jae 0x865b7b
jge 0x865be7
and esp, dword [ebx - 0x7c]
fld qword [ecx - 0x33]
add byte [eax + 0x70], bh
test dword [ebx + 0x3fffd300], eax
pop eax
inc esp
cwde
pop edi
inc ecx
push eax
push eax
pop edi
push ebx
dec esp
inc ebp
inc ebp
push eax
pop edi
dec esp
inc ebp
invalid
arpl word [ebp + ebx*8 + 0x7800cd41], ax
jo 0x865b75
add dword [eax], 0xffffffd3
invalid
Function at 0x402236
Capabilities:
Get file size

Disassembly:
push 0x14
mov eax, 0x43f738
call fcn.004253c2
mov eax, dword [0x455e24]
mov edi, eax
mov eax, dword [eax + 8]
xor ebx, ebx
cmp eax, dword [0x442b90]
je 0x40227a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x40226b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402272
cmp eax, 0x32000
jb 0x402290
lea ecx, [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [edi + 0x18]
push ebx
lea ecx, [edi + 4]
mov edx, dword [ecx]
push 0x1021
push eax
call dword [edx + 0x20]
test eax, eax
je 0x4022e9
push ebx
call fcn.00420bd5
mov dword [ebp - 0x20], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], edx
call fcn.004025db
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00402367
push 0x445a3c
mov ecx, esi
call fcn.00402367
push 2
lea esi, [edi + 4]
push ebx
mov byte [ebp - 4], 1
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401c0b
call fcn.00425467
ret 4

Function at 0x402896
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, 0x455fb8
test eax, eax
jne 0x4028e4
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.Desktop
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x4028e9
Capabilities:
Set file attributes

Disassembly:
push 0x10
mov eax, 0x43f710
call fcn.0042538f
cmp byte [0x456a08], 0
mov edi, 0x456a08
jne 0x4029a1
mov byte [ebp - 0xd], 0x41
call fcn.0041822d
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bc3
and dword [ebp - 4], 0
call fcn.0043d560
push eax
lea ecx, [ebp - 0x18]
call fcn.00402597
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jge 0x402942
push 0x80070057
call fcn.00401d47
mov bl, byte [eax]
mov byte [ebp - 0x1c], bl
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd]
push eax
call fcn.0043d2e0
pop ecx
test al, al
movsx eax, byte [ebp - 0xd]
pop ecx
jne 0x402960
movsx eax, bl
push eax
lea eax, [ebp - 0x14]
push str._c:NcStudioTemp_
push eax
call fcn.00401dda
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402984
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401c0b
lea ecx, [esi - 0x10]
call fcn.00401c0b
mov eax, edi
call fcn.00425467
ret
Function at 0x4029a9
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x43f6dc
call fcn.0042538f
mov esi, dword [ebp + 8]
mov eax, dword [0x455c10]
mov eax, dword [eax*4 + 0x452700]
xor ebx, ebx
add eax, 0x66
push ebx
push eax
mov ecx, esi
call fcn.00410d47
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x90]
mov dword [esi], vtable.CAutoUpdateDlg.0
call fcn.00401be8
lea ecx, [esi + 0xa0]
call fcn.00401be8
lea ecx, [esi + 0xa8]
call fcn.00401be8
lea ecx, [esi + 0xac]
call fcn.00401be8
lea ecx, [esi + 0xb0]
call fcn.00401be8
lea eax, [esi + 0xb4]
push eax
mov byte [ebp - 4], 5
call fcn.004079c4
lea eax, [esi + 0xcc]
push eax
mov byte [ebp - 4], 6
call fcn.004079c4
lea eax, [esi + 0xe4]
push eax
mov byte [ebp - 4], 7
call fcn.004079c4
lea eax, [esi + 0xfc]
push eax
mov byte [ebp - 4], 8
call fcn.004079c4
lea eax, [esi + 0x114]
push eax
mov byte [ebp - 4], 9
call fcn.004079c4
mov byte [ebp - 4], 0xa
lea edi, [esi + 0x9c]
push 0x446a78
lea ecx, [esi + 0xa0]
mov dword [esi + 0x98], ebx
mov byte [edi], bl
mov byte [esi + 0x9d], bl
call fcn.00402715
lea eax, [esi + 0xa0]
push eax
push esi
call fcn.00405d42
mov byte [edi], al
call fcn.00418c94
call fcn.00418c94
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
xor eax, eax
lea edi, [esi + 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041822d
push eax
lea ecx, [ebp - 0x10]
call fcn.00401bc3
mov edi, 0x104
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00401d13
push eax
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x14]
push edi
push 0x455c18
call fcn.004226d4
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408d89
lea eax, [ebp - 0x10]
lea edi, [esi + 0xac]
push eax
mov ecx, edi
call fcn.00408d3c
push str.ncstduioTemp
mov ecx, edi
call fcn.00402367
mov eax, dword [0x455c10]
push dword [eax*4 + 0x452ab0]
lea ecx, [esi + 0xb0]
call fcn.00402715
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [esi + 0xa4], ebx
call fcn.00401c0b
mov eax, esi
call fcn.00425467
ret 4
Function at 0x402d47
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
xor esi, esi
inc esi
push 0x10
mov ecx, eax
sub esi, eax
pop edi
lea edx, [esi + ecx]
and edx, 0x8000000f
jns 0x402d63
dec edx
or edx, 0xfffffff0
inc edx
mov dl, byte [edx + eax]
xor byte [ecx], dl
inc ecx
dec edi
jne 0x402d53
movzx ecx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str._02X_02X_02X_02X__02X_02X_02X_02X__02X_02X_02X_02X__02X_02X_02X_02X
push dword [esp + 0x50]
call fcn.00401dda
add esp, 0x48
pop edi
pop esi
ret