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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sar eax, 0x13
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
and eax, 0xff
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
dec edi
mov al, byte [eax + edi]
and eax, 0xff
push eax
call fcn.00438924
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.004339f8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
je 0x45027e
xor eax, eax
jmp 0x450281
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x4502aa
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0x14], eax
mov al, 0x2e
and eax, 0xff
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.004325a5
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.DLL_strlen]
add esp, 4
mov edx, eax
mov eax, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x450241
mov eax, dword [ebp + 0x14]
leave
ret 0x10

Function at 0x4679f1
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 8]
xchg edx, eax
mov eax, dword [0x51e3d8]
mov dword [eax], edx
mov eax, 0
mov dword [0x51e3d4], 0
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 1
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x51e3d8]
mov edi, dword [ebp - 0x10]
dec edi
mov eax, dword [eax + edi*4]
sar eax, 0x1e
push eax
pop edx
xchg edx, eax
mov eax, dword [0x51e3d8]
mov edi, dword [ebp - 0x10]
dec edi
mov eax, dword [eax + edi*4]
xchg edx, eax
xor eax, edx
push edx
mov edx, 0x6c078965
mov ecx, edx
imul ecx
pop edx
mov edx, dword [ebp - 0x10]
add eax, edx
mov edx, eax
mov eax, dword [0x51e3d8]
mov edi, dword [ebp - 0x18]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x270
jne 0x467a2d
leave
ret 4
Function at 0x467d58
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 0x100
shl eax, 2
push eax
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [0x51e404], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
mov eax, 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
and eax, 1
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x467db3
mov eax, dword [ebp - 0xc]
shr eax, 1
jmp 0x467dbe
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jne 0x467d98
mov eax, dword [ebp - 0xc]
xchg edx, eax
mov eax, dword [0x51e404]
mov edi, dword [ebp - 0x10]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x101
jne 0x467d85
leave
ret
Function at 0x46875f
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xf0000000
push 0x18
push 0
push 0
push 0x51e408
call dword [sym.imp.ADVAPI32.DLL_CryptAcquireContextW]
leave
ret

Function at 0x46879b
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
push 0x40
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0xc], 0
push dword [ebp + 0x10]
call fcn.00467df5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
je 0x468824
cmp eax, 3
je 0x46882b
cmp eax, 4
je 0x468832
cmp eax, 5
je 0x468839
cmp eax, 6
je 0x468840
push dword [ebp + 0x10]
push 0xb
push dword [0x5243b4]
call fcn.004426ad
push eax
push 3
push dword [0x5243a4]
call fcn.004426ad
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.00421b6e
mov eax, 0
jmp 0x468845
mov eax, 0x8003
jmp 0x468845
mov eax, 0x8004
jmp 0x468845
mov eax, 0x800c
jmp 0x468845
mov eax, 0x800d
jmp 0x468845
mov eax, 0x800e
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [0x51e408]
call dword [sym.imp.ADVAPI32.DLL_CryptCreateHash]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.DLL_CryptHashData]
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.DLL_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
leave
ret 0xc

Function at 0x4691e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
mov eax, dword [0x51e430]
mov edx, dword [0x51e42c]
cmp eax, edx
jbe 0x46923b
call fcn.00468ce3
push eax
push dword [ebp + 8]
call fcn.00449d7f
push dword [ebp + 8]
call fcn.0046919a
mov eax, dword [0x51e428]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push 0x4000000
call fcn.00468edc
mov eax, dword [0x51e430]
sub eax, 0x14
mov dword [0x51e430], eax
mov eax, dword [ebp - 0xc]
mov dword [0x51e428], eax
mov eax, dword [0x51e430]
mov edx, dword [0x51e42c]
cmp eax, edx
jne 0x46927a
mov eax, dword [0x51e430]
mov eax, dword [eax]
mov edx, eax
mov eax, 0xf000000
and eax, edx
cmp eax, 0x4000000
je 0x46927a
mov eax, dword [0x51e430]
mov eax, dword [eax]
mov edx, eax
mov eax, 0xf000000
and eax, edx
cmp eax, 0x5000000
je 0x46927a
jmp 0x46927e
xor eax, eax
jmp 0x469281
xor eax, eax
inc eax
cmp eax, 0
je 0x4692a3
push dword [ebp + 8]
call fcn.00469973
xor eax, eax
push eax
call fcn.0045bbe3
push 0xfffffffffffffffe
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
push dword [ebp + 8]
call fcn.004699fa
mov eax, 0xbadcafe
jmp 0x4692b3
leave
cmp dword [ebp - 4], eax
jb 0x4692b2
mov edx, eax
mov eax, dword [0x4f7028]
mov dword [eax + 0x24], edx
mov edi, dword [ebp - 8]
cmp edi, 0
je 0x4692cf
jmp edi
pop edi
cmp edi, 0
je 0x4692d7
jmp edi
leave
ret 4
Function at 0x46a0ad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], 0
jmp 0x46a14f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x11
je 0x46a115
cmp eax, 0x12
je 0x46a115
cmp eax, 0xf
je 0x46a115
cmp eax, 0x13
je 0x46a126
mov eax, 0
jmp 0x46a144
mov eax, dword [ebp - 0x18]
cmp eax, 0
je 0x46a124
call fcn.0042a9c5
jmp 0x46a144
mov eax, dword [ebp - 0x18]
xor al, 1
cmp eax, 0
je 0x46a13c
xor eax, eax
inc eax
mov dword [ebp - 0x18], 1
xor eax, eax
push eax
call fcn.0042adf7
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp eax, edx
jb 0x46a0e8
leave
ret 4

Function at 0x46c950
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edx, eax
mov eax, 0xffffffff
cmp eax, edx
jne 0x46c96f
xor eax, eax
jmp 0x46c972
xor eax, eax
inc eax
leave
ret 4

Function at 0x46c991
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
mov eax, 0
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x46c9d2
mov eax, 0xffffffff
jmp 0x46c9d5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
leave
ret 0xc

Function at 0x46c9df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
mov eax, 0
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x46ca20
mov eax, 0xffffffff
jmp 0x46ca23
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
leave
ret 0xc

Function at 0x46d061
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 8
push dword [ebp + 8]
call fcn.00441314
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.0046cf20
cmp eax, 0
je 0x46d090
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x46d099
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
jne 0x46d0aa
xor eax, eax
jmp 0x46d0ad
xor eax, eax
inc eax
leave
ret 4
Function at 0x46e185
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x51dfa8]
mov dword [ebp - 0x18], eax
push dword [0x51e484]
call dword [sym.imp.USER32.DLL_OpenClipboard]
xor al, 1
cmp eax, 0
je 0x46e1c0
mov eax, dword [ebp - 0x18]
jmp 0x46e214
push 0xd
call dword [sym.imp.USER32.DLL_GetClipboardData]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x46e20b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x46e202
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x10]
call fcn.00433b79
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.DLL_CloseClipboard]
mov eax, dword [ebp - 0x18]
leave
ret

Function at 0x46e216
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
push dword [0x51e484]
call dword [sym.imp.USER32.DLL_OpenClipboard]
xor al, 1
cmp eax, 0
je 0x46e23c
xor eax, eax
jmp 0x46e2e2
call dword [sym.imp.USER32.DLL_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x46e261
cmp eax, 0x30
je 0x46e2c9
mov eax, 0
jmp 0x46e2ce
mov eax, 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00424474
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 1
add eax, 2
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
shl eax, 1
add eax, 2
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x46e2ce
mov eax, 0
push dword [ebp - 0x10]
push 0xd
call dword [sym.imp.USER32.DLL_SetClipboardData]
call dword [sym.imp.USER32.DLL_CloseClipboard]
xor eax, eax
inc eax
leave
ret 4
Function at 0x46e50f
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x38
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0x40000000
cmp eax, 0
jne 0x46e534
xor eax, eax
jmp 0x46e537
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
and eax, 0x20000000
cmp eax, 0
jne 0x46e54d
xor eax, eax
jmp 0x46e550
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
and eax, 0x10000000
cmp eax, 0
jne 0x46e566
xor eax, eax
jmp 0x46e569
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0
je 0x46e597
mov eax, dword [ebp + 8]
add eax, 8
mov edx, eax
mov eax, dword [ebp - 0x30]
shl eax, 2
add eax, edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.0043aeaf
mov dword [ebp - 0x34], eax
push dword [ebp + 0x10]
call fcn.00421984
mov dword [ebp - 0x14], eax
mov eax, 0x20
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x34]
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, 0xffffffff
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
add eax, 0x10
push eax
push dword [ebp - 0x14]
call fcn.00421ab8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
xor al, 1
cmp eax, 0
je 0x46e64d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x30]
shl eax, 4
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp + 8], eax
mov eax, 0
mov dword [ebp - 0x40], 0
jmp 0x46e6e1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0xc]
xchg edx, eax
shl eax, 2
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push eax
call fcn.004219ca
mov dword [ebp - 0x10], eax
mov eax, 0xf
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x34]
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x40]
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0
jg 0x46e672
mov eax, dword [ebp + 8]
leave
ret 0xc
Function at 0x46f393
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov dword [ebp - 0xc], eax
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp eax, 0
je 0x46f4d7
push 0x64
call fcn.0042e8b9
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x46f4ba
mov eax, dword [ebp - 0x1c]
cmp eax, 0
je 0x46f409
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0x3d
jne 0x46f409
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 1]
cmp al, 0
jne 0x46f409
jmp 0x46f40d
xor eax, eax
jmp 0x46f410
xor eax, eax
inc eax
cmp eax, 0
je 0x46f4a8
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00433b57
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00433b57
mov eax, dword [ebp - 0x1c]
shl eax, 1
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 2]
cmp al, 0
jne 0x46f47e
mov esi, dword [ebp - 0x10]
mov al, byte [esi + 3]
cmp al, 0
jne 0x46f47e
jmp 0x46f482
xor eax, eax
jmp 0x46f485
xor eax, eax
inc eax
cmp eax, 0
je 0x46f491
jmp 0x46f4c3
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
jne 0x46f3e7
push dword [ebp - 0x18]
call fcn.0042de35
mov dword [ebp - 0x1c], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0044d333
leave
ret
Function at 0x46f530
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc0
push 8
call fcn.0046998c
push eax
call fcn.00443de7
mov dword [ebp - 0xc], eax
call fcn.0046998c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov eax, 0x9c
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 0xb4]
mov al, byte [eax + 0x9a]
cmp al, 1
jne 0x46f5a9
xor eax, eax
jmp 0x46f5ac
xor eax, eax
inc eax
mov dword [ebp - 0xc8], eax
push 0
push dword [ebp - 0x18]
push 8
push str.Windows
call fcn.00433a93
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 4]
cmp eax, 5
je 0x46f5fe
cmp eax, 6
je 0x46f659
mov eax, dword [ebp - 0xc8]
cmp eax, 0
je 0x46f5f4
mov eax, str.Windows_Server_2016
jmp 0x46f5f9
mov eax, 0x526f46
jmp 0x46f6f9
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x46f62d
cmp eax, 1
je 0x46f634
cmp eax, 2
je 0x46f63b
call fcn.0046f624
mov eax, 0x526ed0
jmp 0x46f654
mov eax, dword [ebp - 0xc8]
cmp eax, 0
je 0x46f64f
mov eax, str.Server_2003_R2
jmp 0x46f654
mov eax, str.Server_2003
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x46f68f
cmp eax, 1
je 0x46f6aa
cmp eax, 2
je 0x46f6c5
cmp eax, 3
je 0x46f6e0
call fcn.0046f686
mov eax, dword [ebp - 0xc8]
cmp eax, 0
je 0x46f6be
mov eax, str.Server_2008_R1
jmp 0x46f6c3
mov eax, 0x526f0f
jmp 0x46f6f9
mov eax, dword [ebp - 0xc8]
cmp eax, 0
je 0x46f6d9
mov eax, str.Server_2012
jmp 0x46f6de
mov eax, 0x526f1d
jmp 0x46f6f9
mov eax, dword [ebp - 0xc8]
cmp eax, 0
je 0x46f6f4
mov eax, str.Server_2012_R2
jmp 0x46f6f9
mov eax, 0x526f2e

Function at 0x46fa8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, 0x1000
mov dword [ebp - 0x18], 0x1000
mov eax, 0
mov dword [ebp - 0x20], 0
mov eax, 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
add eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x46fb30
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x46fb30
mov eax, 2
push edx
mov edx, dword [ebp - 0x18]
imul edx
pop edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCRT.DLL_realloc]
add esp, 8
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
jne 0x46faae
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
leave
ret 8
Function at 0x4d5a87
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
leave
ret 4

Function at 0x4d6b12
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
je 0x4d6b42
cmp eax, 5
je 0x4d6b7c
xor eax, eax
mov dword [ebp - 0x20], 0
jmp 0x4d6c36
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0043a2ed
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0043a2ed
pop edx
xchg edx, eax
cmp eax, edx
je 0x4d6b71
xor eax, eax
jmp 0x4d6b74
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
jmp 0x4d6c36
xor eax, eax
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
call fcn.0042df0c
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0042df42
mov dword [ebp - 0x14], eax
jmp 0x4d6c0c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
je 0x4d6bc2
mov eax, dword [ebp - 0x1c]
cmp eax, 0x11
je 0x4d6bc2
xor eax, eax
jmp 0x4d6bc5
xor eax, eax
inc eax
cmp eax, 0
je 0x4d6c01
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0043a2ed
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0043a2ed
pop edx
xchg edx, eax
cmp eax, edx
je 0x4d6bfb
xor eax, eax
jmp 0x4d6bfe
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
xor al, 1
cmp eax, 0
je 0x4d6c24
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jae 0x4d6c24
jmp 0x4d6c28
xor eax, eax
jmp 0x4d6c2b
xor eax, eax
inc eax
cmp eax, 0
jne 0x4d6b9d
mov eax, dword [0x51e420]
mov dword [ebp - 0x18], eax
mov eax, 4
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edx
leave
ret 8

Function at 0x4d9a89
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
mov eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, 0xff0000
shr eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
and eax, 0x1000000
cmp eax, 0
jne 0x4d9abf
xor eax, eax
jmp 0x4d9ac2
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
je 0x4d9ae4
cmp eax, 0x11
je 0x4d9af4
cmp eax, 0x12
je 0x4d9b0f
mov eax, 0
jmp 0x4d9b28
push 3
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_MapVirtualKeyW]
mov dword [ebp - 0x10], eax
jmp 0x4d9b28
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x4d9b05
mov eax, 0xa3
jmp 0x4d9b0a
mov eax, 0xa2
mov dword [ebp - 0x10], eax
jmp 0x4d9b28
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x4d9b20
mov eax, 0xa5
jmp 0x4d9b25
mov eax, 0xa4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x4d9b2f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, 0
mov dword [ebp - 0xc], 0
push 0x11
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9b65
mov eax, 0x10000000
mov dword [ebp - 0xc], 0x10000000
push 0x10
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9b84
mov eax, dword [ebp - 0xc]
or eax, 0x20000000
mov dword [ebp - 0xc], eax
push 0x12
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9ba3
mov eax, dword [ebp - 0xc]
or eax, 0x40000000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor al, 1
cmp eax, 0
je 0x4d9c2b
push 1
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9bce
mov eax, dword [ebp - 0xc]
or eax, 0x2000000
mov dword [ebp - 0xc], eax
push 2
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9bed
mov eax, dword [ebp - 0xc]
or eax, 0x800000
mov dword [ebp - 0xc], eax
push 4
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9c0c
mov eax, dword [ebp - 0xc]
or eax, 0x1000000
mov dword [ebp - 0xc], eax
push 5
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
and eax, 0x8000
cmp eax, 0
je 0x4d9c2b
mov eax, dword [ebp - 0xc]
or eax, 0x400000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret 4