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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x5bc
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
jmp 0x45419a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
je 0x454100
cmp eax, 0x11
je 0x454110
cmp eax, 0x12
je 0x454110
cmp eax, 0x13
je 0x45412c
cmp eax, 0x10
je 0x45418a
mov eax, 0
jmp 0x45418f
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x45418f
mov eax, dword [ebp - 0x28]
xor al, 1
cmp eax, 0
je 0x454123
xor eax, eax
jmp 0x4541b6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x45418f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
mov dword [ebp - 0x24], eax
mov eax, dword [0x61e228]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x24]
cmp eax, edx
je 0x454170
mov eax, dword [0x61e22c]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x24]
cmp eax, edx
je 0x454170
xor eax, eax
jmp 0x454173
xor eax, eax
inc eax
cmp eax, 0
je 0x454181
jmp 0x4541a8
xor eax, eax
jmp 0x4541b6
jmp 0x4541a8
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jb 0x4540c5
mov eax, dword [ebp - 0x20]
cmp eax, 2
sete al
xor ah, ah
cwde
leave
ret 4
Function at 0x45b85c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x6c6
sub esp, 0x3c
mov eax, dword [0x624630]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp eax, 8
jne 0x45b885
mov eax, dword [ebp - 0x10]
jmp 0x45bbdf
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x1e
je 0x45b8dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
push eax
call fcn.0043ea47
push eax
push 0xc
push dword [0x62ec84]
call fcn.00458331
push eax
push 3
push dword [0x62ec74]
call fcn.00458331
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042fd46
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xchg edx, eax
sub eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
cmp eax, edx
jle 0x45b952
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and eax, 0x80000
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
and eax, 0x80000
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x48], eax
push 0
push dword [ebp - 0x44]
call fcn.0042e2a4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
xor al, 1
cmp eax, 0
je 0x45b9b2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
or eax, 0x80000
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x30], eax
mov eax, 0
mov dword [ebp - 0x34], 0
jmp 0x45ba7f
Function at 0x467c42
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x878
sub esp, 0x10
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sar eax, 0x13
and eax, 0xf
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
and eax, 0xff
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
dec edi
mov al, byte [eax + edi]
and eax, 0xff
push eax
call fcn.0044ef9b
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0044951a
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x467cde
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.00447f9b
push dword [ebp - 0x10]
mov dword [section..data], ebp
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 - 0x18]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x467c78
mov eax, dword [ebp + 0x14]
leave
ret 0x10

Function at 0x48c439
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xd0c
sub esp, 0xc
mov eax, 1
mov dword [ebp - 0x14], 1
mov eax, 0x100
shl eax, 2
push eax
call fcn.00424c9c
mov dword [0x62460c], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
and eax, 1
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x48c495
mov eax, dword [ebp - 0x10]
shr eax, 1
jmp 0x48c4a0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 8
jne 0x48c47a
mov eax, dword [ebp - 0x10]
xchg edx, eax
mov eax, dword [0x62460c]
mov edi, dword [ebp - 0x14]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x101
jne 0x48c467
leave
ret
Function at 0x48ce88
Capabilities:
Create new key via cryptacquirecontext

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

Function at 0x48ceda
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
push 0xd24
sub esp, 0xc
push 0x40
call fcn.00424c9c
mov dword [ebp - 0x14], eax
mov eax, 0
mov dword [ebp - 0x10], 0
push dword [ebp + 0x10]
call fcn.0048c4d7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
je 0x48cf6a
cmp eax, 3
je 0x48cf71
cmp eax, 4
je 0x48cf78
cmp eax, 5
je 0x48cf7f
cmp eax, 6
je 0x48cf86
push dword [ebp + 0x10]
call fcn.0044f7e4
push eax
push 0xb
push dword [0x62ec84]
call fcn.00458331
push eax
push 3
push dword [0x62ec74]
call fcn.00458331
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042fd46
mov eax, 0
jmp 0x48cf8b
mov eax, 0x8003
jmp 0x48cf8b
mov eax, 0x8004
jmp 0x48cf8b
mov eax, 0x800c
jmp 0x48cf8b
mov eax, 0x800d
jmp 0x48cf8b
mov eax, 0x800e
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [0x624610]
mov dword [section..data], ebp
call dword [sym.imp.ADVAPI32.DLL_CryptCreateHash]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.ADVAPI32.DLL_CryptHashData]
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push 2
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.ADVAPI32.DLL_CryptDestroyHash]
mov eax, dword [ebp - 0x14]
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xd26
sub esp, 0x10
mov eax, dword [ebp + 8]
xchg edx, eax
mov eax, dword [0x624618]
mov dword [eax], edx
mov eax, 0
mov dword [0x624614], 0
mov eax, 1
mov dword [ebp - 0x14], 1
mov eax, 1
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x624618]
mov edi, dword [ebp - 0x14]
dec edi
mov eax, dword [eax + edi*4]
sar eax, 0x1e
push eax
pop edx
xchg edx, eax
mov eax, dword [0x624618]
mov edi, dword [ebp - 0x14]
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 - 0x14]
add eax, edx
mov edx, eax
mov eax, dword [0x624618]
mov edi, dword [ebp - 0x1c]
dec edi
mov dword [eax + edi*4], edx
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x270
jne 0x48d033
leave
ret 4
Function at 0x48e021
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xd72
sub esp, 8
mov eax, dword [0x624640]
mov edx, dword [0x62463c]
cmp eax, edx
jbe 0x48e081
call fcn.0048d9d3
push eax
push dword [ebp + 8]
call fcn.00460bdf
push dword [ebp + 8]
call fcn.0048dfc0
mov eax, dword [0x624638]
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push 0x4000000
call fcn.0048dc21
mov eax, dword [0x624640]
sub eax, 0x14
mov dword [0x624640], eax
mov eax, dword [ebp - 0x10]
mov dword [0x624638], eax
mov eax, dword [0x624640]
mov edx, dword [0x62463c]
cmp eax, edx
jne 0x48e0c0
mov eax, dword [0x624640]
mov eax, dword [eax]
mov edx, eax
mov eax, 0xf000000
and eax, edx
cmp eax, 0x4000000
je 0x48e0c0
mov eax, dword [0x624640]
mov eax, dword [eax]
mov edx, eax
mov eax, 0xf000000
and eax, edx
cmp eax, 0x5000000
je 0x48e0c0
jmp 0x48e0c4
xor eax, eax
jmp 0x48e0c7
xor eax, eax
inc eax
cmp eax, 0
je 0x48e0ef
push dword [ebp + 8]
call fcn.0048e853
xor eax, eax
push eax
call fcn.0047d03e
push 0xfffffffffffffffe
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
push dword [ebp + 8]
call fcn.0048e911
mov eax, 0x7fffffff
jmp 0x48e0ff
leave
cmp dword [ebp - 4], eax
jb 0x48e0fe
mov edx, eax
mov eax, dword [0x55102c]
mov dword [eax + 0x24], edx
mov edi, dword [ebp - 8]
cmp edi, 0
je 0x48e11b
jmp edi
pop edi
cmp edi, 0
je 0x48e123
jmp edi
leave
ret 4
Function at 0x499bd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe45
sub esp, 0x10
mov eax, 0x63209c
mov dword [ebp - 0x18], str.0000000000000000000000000000000
mov eax, dword [ebp + 0x10]
sar eax, 1
mov edx, eax
mov eax, dword [ebp + 0xc]
mov cl, dl
shl eax, cl
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
jle 0x499c27
mov eax, dword [ebp + 0xc]
inc eax
sar eax, 2
inc eax
shl eax, 2
sub esp, eax
and esp, 0xfffffffc
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00447d68
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
cmp eax, 0x27
je 0x499c7c
mov eax, dword [ebp - 0x10]
and edx, 0xff
cmp eax, 0x2c
jne 0x499c6c
mov eax, 0x2e
and eax, 0xff
mov dword [ebp - 0x10], 0x2e
mov eax, dword [ebp - 0x10]
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add eax, edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x499c2d
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add eax, edx
push eax
push dword [ebp - 0x1c]
call fcn.004957ef
xor al, 1
cmp eax, 0
je 0x499cd3
mov eax, 0xffffffff
xchg edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
push 0x7ff80000
push 0
fld qword [esp]
add esp, 8
jmp 0x499ce1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.004472b5
leave
ret 0x10

Function at 0x49a3cc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe55
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edx, eax
mov eax, 0xffffffff
cmp eax, edx
setne al
xor ah, ah
cwde
leave
ret 4

Function at 0x49a420
Capabilities:
Read file on windows

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

Function at 0x49a479
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe5b
sub esp, 8
mov eax, 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 0x14], eax
mov eax, 0
mov edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x49a4c5
mov eax, 0xffffffff
jmp 0x49a4c8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
leave
ret 0xc
Function at 0x49ab34
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe67
sub esp, 8
push dword [ebp + 8]
call fcn.00456d49
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0049a9ee
cmp eax, 0
je 0x49ab6e
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x49ab7d
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0
setne al
xor ah, ah
cwde
leave
ret 4
Function at 0x49be9e
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe7b
sub esp, 8
push dword [ebp + 8]
call fcn.00456d49
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
call fcn.00456d49
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.MSVCRT.DLL__wrename]
add esp, 8
mov edx, eax
mov eax, 0
cmp eax, edx
sete al
xor ah, ah
cwde
leave
ret 8
Function at 0x4a1c29
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xef3
sub esp, 0x14
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0x1c], 0
mov eax, 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x4a1d84
push 0x64
call fcn.00443817
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4a1d61
mov eax, dword [ebp - 0x20]
cmp eax, 0
je 0x4a1caa
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
cmp al, 0x3d
jne 0x4a1caa
mov esi, dword [ebp - 0x14]
mov al, byte [esi + 1]
cmp al, 0
jne 0x4a1caa
jmp 0x4a1cae
xor eax, eax
jmp 0x4a1cb1
xor eax, eax
inc eax
cmp eax, 0
je 0x4a1d4f
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.0044968e
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.0044968e
mov eax, dword [ebp - 0x20]
shl eax, 1
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov al, byte [esi + 2]
cmp al, 0
jne 0x4a1d25
mov esi, dword [ebp - 0x14]
mov al, byte [esi + 3]
cmp al, 0
jne 0x4a1d25
jmp 0x4a1d29
xor eax, eax
jmp 0x4a1d2c
xor eax, eax
inc eax
cmp eax, 0
je 0x4a1d38
jmp 0x4a1d6a
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
xor eax, eax
inc eax
jne 0x4a1c88
push dword [ebp - 0x1c]
call fcn.00442b14
mov dword [ebp - 0x20], eax
push dword [ebp - 0x10]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.0046470d
leave
ret
Function at 0x4a1de2
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xef7
sub esp, 0xe4
push 8
call fcn.0048e89e
push eax
call fcn.00459ee4
mov dword [ebp - 0x10], eax
call fcn.0048e89e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0x14], eax
mov eax, 0x9c
xchg edx, eax
lea eax, [ebp - 0xe8]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0xe8]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0xe8]
push eax
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 0xe8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xe8]
mov al, byte [eax + 0x9a]
cmp al, 1
setne al
xor ah, ah
cwde
mov dword [ebp - 0xf0], eax
push 0
push dword [ebp - 0x1c]
push 8
push str.Windows
call fcn.004495bf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xe8]
mov eax, dword [eax + 4]
cmp eax, 5
je 0x4a1f38
cmp eax, 6
je 0x4a1f93
mov eax, dword [ebp - 0xf0]
cmp eax, 0
je 0x4a1f05
mov eax, dword [ebp - 0xec]
cmp eax, 0x4f3d
jl 0x4a1ed5
mov eax, str.Server_2022
jmp 0x4a1f03
mov eax, dword [ebp - 0xec]
cmp eax, 0x42ee
jl 0x4a1ee9
mov eax, str.Server_2019
jmp 0x4a1f03
xor eax, eax
inc eax
je 0x4a1ef5
mov eax, str.Server_2016
jmp 0x4a1f03
call fcn.004a1efa
mov eax, dword [ebp - 0xec]
cmp eax, 0x55f0
jl 0x4a1f19
mov eax, 0x63231c
jmp 0x4a1f33
xor eax, eax
inc eax
je 0x4a1f25
mov eax, 0x63231f
jmp 0x4a1f33
call fcn.004a1f2a
lea eax, [ebp - 0xe8]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x4a1f67
cmp eax, 1
je 0x4a1f6e
cmp eax, 2
je 0x4a1f75
call fcn.004a1f5e
mov eax, 0x632296
jmp 0x4a1f8e
mov eax, dword [ebp - 0xf0]
cmp eax, 0
je 0x4a1f89
mov eax, str.Server_2003_R2
jmp 0x4a1f8e
mov eax, str.Server_2003
lea eax, [ebp - 0xe8]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x4a1fc9
cmp eax, 1
je 0x4a1fe4
cmp eax, 2
je 0x4a1fff
cmp eax, 3
je 0x4a201a
call fcn.004a1fc0
mov eax, dword [ebp - 0xf0]
cmp eax, 0
je 0x4a1ff8
mov eax, str.Server_2008_R1
jmp 0x4a1ffd
mov eax, 0x6322d5
jmp 0x4a2033
mov eax, dword [ebp - 0xf0]
cmp eax, 0
je 0x4a2013
mov eax, str.Server_2012
jmp 0x4a2018
mov eax, 0x6322e3
jmp 0x4a2033
mov eax, dword [ebp - 0xf0]
cmp eax, 0
je 0x4a202e
mov eax, str.Server_2012_R2
jmp 0x4a2033
mov eax, 0x6322f4
Function at 0x4a23dc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xeff
sub esp, 0x18
mov eax, 0x1000
mov dword [ebp - 0x1c], 0x1000
mov eax, 0
mov dword [ebp - 0x24], 0
mov eax, 0
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x24]
add eax, edx
push eax
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x14]
cmp eax, 0
jle 0x4a2487
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x4a2487
mov eax, 2
push edx
mov edx, dword [ebp - 0x1c]
imul edx
pop edx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call fcn.00424e8c
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
jne 0x4a2403
mov eax, dword [ebp - 0x24]
xchg edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
leave
ret 8
Function at 0x4a6505
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xf4a
sub esp, 0x4c
mov eax, dword [0x55102c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
xchg edx, eax
mov eax, dword [0x55102c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
xchg edx, eax
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [0x55102c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x34]
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x61ddc0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x61ddc0]
mov eax, dword [eax + 0x34]
shl eax, 1
mov edx, eax
mov eax, dword [ebp - 0x2c]
xchg edx, eax
shl eax, 2
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [0x61ddfc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax

Function at 0x529a44
Capabilities:
Terminate process

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

Function at 0x52ab7d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x13d2
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
je 0x52abb0
cmp eax, 5
je 0x52abe7
mov dword [ebp - 0x24], 0
jmp 0x52ac9c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x24], eax
jmp 0x52ac9c
mov dword [ebp - 0x24], 0
push dword [ebp + 8]
call fcn.00442bf2
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.00442c2d
mov dword [ebp - 0x18], eax
jmp 0x52ac72
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xf
je 0x52ac2b
mov eax, dword [ebp - 0x20]
cmp eax, 0x11
je 0x52ac2b
xor eax, eax
jmp 0x52ac2e
xor eax, eax
inc eax
cmp eax, 0
je 0x52ac67
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
xor al, 1
cmp eax, 0
je 0x52ac8a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jae 0x52ac8a
jmp 0x52ac8e
xor eax, eax
jmp 0x52ac91
xor eax, eax
inc eax
cmp eax, 0
jne 0x52ac06
mov eax, dword [0x624630]
mov dword [ebp - 0x1c], eax
mov eax, 4
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
leave
ret 8