joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fa50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x171bdc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45fbca
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45fbc0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45faaa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45faaa
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45fabd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x45fb97
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x45fb8b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x45fb82
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x45fb10
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45fb53
mov eax, 1
cmp eax, ecx
ja 0x45fb47
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00475750
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45fb7d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45fb4c
mov ecx, dword [esp + 0xc]
jmp 0x45fb15
call fcn.004756f0
xor eax, eax
mov ecx, eax
call fcn.004756e0
call fcn.00475750
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45fbbb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45fb90
mov ecx, dword [esp + 0x18]
jmp 0x45fac2
call fcn.004756f0
xor eax, eax
mov ecx, eax
call fcn.004756e0
nop
call fcn.00474260
jmp fcn.0045fa50
Function at 0x464f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x171bdc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4650fd
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x102
call fcn.00463300
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, eax
mov eax, 0xaaaaaaab
mov edx, dword [esp + 0x70]
mov ebx, edx
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
lea eax, [ecx + ebx*4 + 0xe0]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp], eax
call fcn.004068b0
mov eax, dword [esp + 4]
test eax, eax
je 0x464f9e
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x465026
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00465eb0
movzx eax, byte [esp + 8]
test al, al
jne 0x464fcf
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x465026
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
movzx ebx, byte [eax + 0x6e]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 4
mov byte [esp + 0x1d], bl
call fcn.00465bc0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x70]
mov ecx, eax
and eax, 1
mov edx, dword [esp + 0x74]
lea eax, [edx + eax*8 + 0xec]
mov edi, dword [eax]
mov esi, dword [eax + 4]
add edi, 1
mov dword [esp + 0x3c], edi
mov dword [eax], edi
adc esi, 0
mov dword [eax + 4], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.00465950
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.0047593a
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x15
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00463520
add esp, 0x68
ret
call fcn.00474260
jmp fcn.00464f10
Function at 0x468e30
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x171bdc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x468ecb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x171bdc8]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00475937
lea ecx, [0x468ee0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00474170
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00474260
jmp fcn.00468e30
Function at 0x475510
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x171c9e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x473c9b
je 0x473cee
cmp ebx, 0x20
jbe 0x473cf4
cmp ebx, 0x40
jbe 0x473d3a
jmp 0x473ddb
test ebx, ebx
je 0x473ce4
add eax, 0x10
test ax, 0xff0
je 0x473cd0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x10a3e80]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x10a3f80]
jmp 0x473cb8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x473cb8
pxor xmm1, xmmword [0x171c9f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x171c9f0]
pxor xmm2, xmmword [0x171ca00]
pxor xmm3, xmmword [0x171ca10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x171c9f0]
pxor xmm2, xmmword [0x171ca00]
pxor xmm3, xmmword [0x171ca10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x473e3a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x171bba8], 0
je 0x47552a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x473c60
jmp fcn.0040d550
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x561b0bb6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x75116723
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100133b
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x154
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
lea ecx, [ebp + 0x20]
push ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x20], 0x10000
push dword [esi + 4]
mov dword [ebp + 0x24], 3
mov dword [ebp + 0x28], 1
call dword [eax + 0x50]
mov edi, dword [esi]
add esp, 0xc
xor ebx, ebx
push ebx
lea eax, [ebp + 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1001110
push dword [esi + 4]
call dword [edi + 0x58]
pop ecx
push eax
push dword [esi + 4]
call dword [edi + 0x18]
add esp, 0x28
push ebx
mov edi, eax
lea eax, [ebp + 0x64]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x10010d0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp edi, ebx
jne 0x100146d
cmp eax, ebx
jne 0x100146d
push 0x20
pop ecx
mov eax, 0x80
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x7c], eax
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x7c]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp + 0x5c]
push ecx
push ebx
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x5c], 1
push ebx
jmp 0x100145b
push ebx
lea eax, [ebp + 0x60]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp + 0x7c]
lea eax, [ebp - 0xe0]
push eax
push 1
push ebx
push ebx
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0x70]
lea ecx, [ebp + 0x7c]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp + 0x5c]
push ecx
push ebx
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
mov eax, dword [esi]
push dword [esi + 4]
call dword [eax + 0x44]
add esp, 0x24
test eax, eax
je 0x1001402
push dword [ebp + 0x6c]
mov eax, dword [esi]
push dword [esi + 4]
call dword [eax + 0x10]
pop ecx
pop ecx
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x401230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x42bc50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.00401350
mov dword [ebp - 4], 0
push str.OUR_MIFARE.dll
lea ecx, [ebp - 0x10]
call fcn.00401980
lea ecx, [ebp - 0x10]
call fcn.00401a10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4012a0
mov eax, dword [ebp - 0x10]
push eax
push 0x4268f0
push 3
call dword [sym.imp.Common.dll_int___cdecl_MyDebugString_int__wchar_t_const__]
add esp, 0xc
jmp 0x401320
lea ecx, [ebp - 0x10]
call fcn.00401a10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4012d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ICCard
push 3
call dword [sym.imp.Common.dll_int___cdecl_MyDebugString_int__wchar_t_const__]
add esp, 0xc
jmp 0x401320
push str.pcdbeep
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x4012f1
jmp 0x401320
push str.piccreadex
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
jne 0x401311
jmp 0x401320
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 4], 1
xor edx, edx
jne 0x401274
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 4]
mov byte [ebp - 0x15], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401370
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4033e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x42bc50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.00401350
mov dword [ebp - 4], 0
push str.OUR_IDR.dll
lea ecx, [ebp - 0x10]
call fcn.00401980
lea ecx, [ebp - 0x10]
call fcn.00401a10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403450
mov eax, dword [ebp - 0x10]
push eax
push 0x426840
push 3
call dword [sym.imp.Common.dll_int___cdecl_MyDebugString_int__wchar_t_const__]
add esp, 0xc
jmp 0x4034d0
lea ecx, [ebp - 0x10]
call fcn.00401a10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x403481
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IDCard
push 3
call dword [sym.imp.Common.dll_int___cdecl_MyDebugString_int__wchar_t_const__]
add esp, 0xc
jmp 0x4034d0
push str.idr_beep
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x4034a1
jmp 0x4034d0
push str.idr_read
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
jne 0x4034c1
jmp 0x4034d0
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 4], 1
xor edx, edx
jne 0x403424
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 4]
mov byte [ebp - 0x15], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401370
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40f919
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bc50]
jne 0x40f923
repz ret
jmp fcn.0041336b
Function at 0x41d983
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004135ea
and dword [ebp - 4], 0
cmp dword [0x42fb40], 0
mov ebx, eax
jne 0x41da34
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41dae5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41dae5
push eax
call fcn.00413578
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42fb40], eax
call esi
push eax
call fcn.00413578
mov dword [esp], 0x4266c0
push edi
mov dword [0x42fb44], eax
call esi
push eax
call fcn.00413578
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42fb48], eax
call esi
push eax
call fcn.00413578
pop ecx
mov dword [0x42fb50], eax
test eax, eax
je 0x41da34
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413578
pop ecx
mov dword [0x42fb4c], eax
mov eax, dword [0x42fb4c]
cmp eax, ebx
je 0x41da8c
cmp dword [0x42fb50], ebx
je 0x41da8c
push eax
call fcn.004135f3
push dword [0x42fb50]
mov esi, eax
call fcn.004135f3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41da8c
test edi, edi
je 0x41da8c
call esi
test eax, eax
je 0x41da83
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41da83
test byte [ebp - 0xc], 1
jne 0x41da8c
or dword [ebp + 0x10], 0x200000
jmp 0x41dac5
mov eax, dword [0x42fb44]
cmp eax, ebx
je 0x41dac5
push eax
call fcn.004135f3
pop ecx
test eax, eax
je 0x41dac5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41dac5
mov eax, dword [0x42fb48]
cmp eax, ebx
je 0x41dac5
push eax
call fcn.004135f3
pop ecx
test eax, eax
je 0x41dac5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42fb40]
call fcn.004135f3
pop ecx
test eax, eax
je 0x41dae5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41dae7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4917c4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x491812
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004911bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49182b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49bcbc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49bd04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0049bc50
mov eax, dword [ebp - 4]
call fcn.0040a494
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd0b
lea eax, [ebp - 4]
call fcn.00409a3c
pop eax
jmp eax

Function at 0x49bf24
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49bfbb
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x49bf6f
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00409bd4
jmp 0x49bfa3
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
cmp word [ebx], 0
jne 0x49bf86
lea eax, [ebp - 4]
call fcn.00409a3c
jmp 0x49bf99
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0049bddc
mov ebx, eax
test esi, esi
je 0x49bf99
dec esi
jmp 0x49bf76
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00409e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bfc2
lea eax, [ebp - 4]
call fcn.00409a3c
pop eax
jmp eax

Function at 0x49bfcc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041d3d8
add esp, 0x208
pop ebx
ret

Function at 0x49c02c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041d3d8
add esp, 0x208
pop ebx
ret
Function at 0x711387
Capabilities:
Encrypt data using speck

Disassembly:
mov dword [esp + ebp - 0x492d93b1], 0x949a5fb8
mov esi, dword [esp + ebp - 0x492d93ad]
bswap ebp
cbw
lea ebp, [eax*4 - 0x51724f4b]
mov ecx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
pop eax
movzx ebx, al
mov eax, dword [esp + ebx - 0xac]
mov dword [esp + ebx*4 - 0x2d4], ebx
mov dword [esp + ebx - 0xb0], 0x3f140cbc
mov ebx, dword [esp + ebx - 0xa8]
call fcn.008142f4

Function at 0x724a2d
Capabilities:
Encrypt data using speck

Disassembly:
push 0x8b39d8c
mov dword [esp + 4], 0xa3a2a113
mov dword [esi + 0xc], eax
pop eax
jmp 0xc18c3c
cbw
mov dword [esi + eax*2 - 0x1167ff10], ebx
neg eax
mov dword [esi + 4], ecx
jle 0xc7d59a

Function at 0x730de9
Capabilities:
Encrypt data using speck

Disassembly:
push 0x80356788
add dword [esp + 8], 0x63123426
xor eax, eax
call fcn.00d213cd

Function at 0x7370e9
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + eax], 0x5f1ba88c
sal edx, 2
or eax, ebp
push 0x5732903e
add eax, edx
mov dword [ebp - 4], eax
call fcn.00730e55
mov edx, 0xa0011d96
movzx ecx, dl
and edx, edx
mov edx, dword [edi + ecx*4 - 0x258]
jae 0x812f78
push ecx
lea edi, [edi + ecx*2 - 0x128]
xadd dword [esp + ecx*4 - 0x258], ecx
xor edx, ebx
mov eax, 0x59180e91
shr byte [esp + ecx*2 - 0x12c], 0xa3
ror edx, 3
dec edx
sar cx, 0xad
setnp cl
ror edx, 1
jmp 0xc11bdd
ja 0x795f1c
inc edx
shl eax, 0x27
xor ebx, edx
and byte [esp + ecx + 3], 0x34
adc ebp, edx
add cx, 0xeb95
and byte [esp + ecx*2 - 0x1d727], cl
sub dword [esp + ecx*4 - 0x3ae54], eax
movzx dx, byte [esi + ecx*4 - 0x3ae54]
shl eax, cl
add eax, dword [esp + ecx - 0xeb95]
mov al, byte [esi + ecx - 0xeb93]
pop ecx
bswap ecx
adc esi, 2
dec cx
sal cl, 0x24
neg ecx
add dl, al
shl ecx, 0xa5
push ecx
mov word [esi + ecx - 0x48e0fc00], dx
mov dword [esp + ecx - 0x48e0fc00], ebp
ret

Function at 0x738183
Capabilities:
Encrypt data using speck

Disassembly:
mov cx, word [esi + ecx - 0x4095bfb9]
mov edx, 0xf109d8a3
not dx
add esi, 2
and edx, 0x82be209b
mov dword [esp], edx
adc ax, cx
xadd dl, dh
rol dl, 1
mov word [esi], ax
mov eax, dword [edi]
mov ecx, 0xb35384
xor dword [esp + ecx - 0xb35384], 0xee2ef533
xchg ecx, edx
lea edi, [edx + edi - 0xb35380]
xor eax, ebx
bts cx, cx
jae 0x829a2e
mov edx, esi
push 0x1f1200ba
call fcn.00cd5c10
or edx, 0x573d4c8d
lea eax, [eax + edx - 0x657546b4]
bswap eax
sal cx, 0x4e
neg cx
pop ecx
xor eax, 0x2ebc3583
shr ecx, 0xca
sbb ecx, edx
setae dl
not eax
bt ecx, ecx
rol cl, 0x86
sar cx, 0xec
xor ebx, eax
xchg ecx, edx
sar dl, 0xc1
adc ebp, eax
inc cx
lea eax, [ecx + 0x6e91481a]
jmp ebp