joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ad2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call esi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edi, eax
call fcn.00413f02
lea eax, [edi + 2]
push eax
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.004060a0
inc edi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.004060a0
push eax
push dword [ebp + 0xc]
call esi
mov ecx, ebx
call fcn.00406085
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x406f81
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42c750], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.0040c239
call fcn.0040548c
push 3
call fcn.004054e7
push 0x28
mov dword [0x42c778], eax
call fcn.004054e7
push 2
mov dword [0x42c774], eax
call fcn.004054e7
push 5
mov dword [0x42c770], eax
call fcn.004054e7
push 0x15
mov dword [0x42c76c], eax
call fcn.004054e7
push 0x16
mov dword [0x42c768], eax
call fcn.004054e7
push 0x17
mov dword [0x42c764], eax
call fcn.004054e7
xor ebx, ebx
add esp, 0x1c
mov dword [0x42c760], eax
mov dword [0x42c758], ebx
mov dword [0x42c75c], ebx
xor edi, edi
push ebx
push edi
lea eax, [ebp - 0x268]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x407075
push edi
lea eax, [ebp - 0x5c]
push str.SfxFolder_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 1
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00406bbf
add esp, 0x18
xor esi, esi
cmp dword [esi + 0x42a32c], edi
jne 0x40706d
push ebx
lea eax, [ebp - 0x268]
push eax
push dword [esi + 0x42a330]
call fcn.00406bbf
add esp, 0xc
add esi, 8
cmp esi, 0x28
jb 0x40704f
inc edi
cmp edi, 0x40
jl 0x407014
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407a39
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.00413f02
lea ecx, [ebp - 0x18]
call fcn.00413f02
push 0x3c
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc ebx
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], 0x740
mov dword [ebp - 0x38], ebx
test byte [ebp + 0xc], bl
je 0x407a8b
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x50], 0x8740
test byte [ebp + 0xc], 2
je 0x407a98
mov dword [ebp - 0x48], str.runas
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00407303
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004143f0
cmp dword [ebp - 8], edi
jne 0x407ac8
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, ebx
jmp 0x407b13
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x407b01
test dword [ebp + 0xc], 0x10000
jne 0x407af6
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, edi
pop ecx
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x407df6
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00413f02
push 2
mov ecx, esi
call fcn.004060a0
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push 1
call edi
and dword [esi + 4], 0
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
test eax, eax
je 0x407e3f
lea ebx, [eax + 1]
push ebx
mov ecx, esi
call fcn.004060a0
push eax
push ebx
call edi
mov ecx, esi
call fcn.00406085
mov eax, dword [esi + 4]
and dword [ebp + 8], 0
lea ebx, [eax + 0xf]
lea edi, [eax + eax]
push ebx
mov ecx, esi
call fcn.004060a0
push dword [ebp + 8]
add eax, edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, esi
call fcn.00406085
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407e86
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xfff
jl 0x407e4c
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x407e8d
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x42c800], esi
jle 0x407ee1
mov eax, dword [0x42c7fc]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00413f26
lea eax, [ebp - 0xc]
push eax
call fcn.004070b7
mov eax, dword [0x42c7fc]
mov eax, dword [eax + esi*4]
pop ecx
push dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 0xc]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
inc esi
pop ecx
cmp esi, dword [0x42c800]
jl 0x407e9e
pop esi
leave
ret
Function at 0x407fc1
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
cmp word [eax + 2], 0x3a
push ebx
push edi
jne 0x408175
movzx ecx, word [eax + 4]
cmp ecx, 0x5c
je 0x407fe9
cmp ecx, 0x2f
jne 0x408175
mov ax, word [eax]
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x40801b
push dword [ebp + 8]
jmp 0x408176
lea eax, [ebp - 0x24]
push str.7ZSfx_03x.cmd
push eax
call fcn.00407df6
pop ecx
pop ecx
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40813d
push esi
lea ecx, [ebp - 0x18]
call fcn.00413f02
push str.:Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.004143f0
mov edi, str.del__
push edi
lea ecx, [ebp - 0x18]
call fcn.00413fb3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413ff6
mov esi, 0x427094
push esi
lea ecx, [ebp - 0x18]
call fcn.00413fb3
push str.if_exist__
lea ecx, [ebp - 0x18]
call fcn.00413fb3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413ff6
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.00413fb3
push edi
lea ecx, [ebp - 0x18]
call fcn.00413fb3
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413ff6
push esi
lea ecx, [ebp - 0x18]
call fcn.00413fb3
mov esi, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406134
mov eax, dword [eax]
add esp, 0xc
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x30]
mov esi, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
pop esi
je 0x408150
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jne 0x408150
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push edi
push edi
push dword [ebp - 0x24]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x24]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40817b
push dword [ebp - 0x24]
call fcn.00405b62
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x40817c
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x409bcb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00409b4d
add esp, 0x1c
leave
ret
Function at 0x40b5d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.00409fe1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
add eax, 2
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.0040a000
push 1
inc edi
push edi
mov ecx, esi
call fcn.0040a000
and dword [ebp - 0x2c4], 0
push 0x2b0
lea eax, [ebp - 0x2c0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40a64b
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.0040b290
mov ecx, esi
mov edi, eax
call fcn.0040ac6a
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40c239
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
neg esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x40c241
mov dword [ecx*4 + 0x42cd00], eax
inc ecx
cmp ecx, 0x100
jb 0x40c23c
mov ecx, 0x400
mov eax, dword [ecx + 0x42c900]
mov edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42cd00]
add ecx, 4
mov dword [ecx + 0x42ccfc], eax
cmp ecx, 0x2000
jb 0x40c26a
mov eax, 0x4241f0
mov esi, 0x424110
mov dword [0x42ccf0], eax
mov dword [0x42ed00], eax
mov dword [0x42ccec], esi
call fcn.00412262
test eax, eax
jne 0x40c2bc
mov dword [0x42ed00], esi
pop esi
ret
Function at 0x4124c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4124ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4124ea
xor al, al
jmp 0x4124ff
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x414cd2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
and esi, 7
cmp eax, 5
jae 0x414cf2
xor eax, eax
jmp 0x414e07
add dword [ebp + 0x10], 5
push ebx
mov ebx, dword [ebp + 8]
sub eax, 4
add eax, ebx
push edi
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 4]
lea edx, [edi + ebx]
jmp 0x414d14
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x414d19
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x414d0b
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebx
sub ecx, ebx
mov dword [ebp - 4], eax
cmp edx, dword [ebp + 0xc]
jae 0x414df0
cmp ecx, 2
jbe 0x414d70
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x414d8e
movzx eax, byte [edx + 3]
mov edi, dword [ebp + 0x10]
add edi, dword [ebp - 4]
add dword [ebp - 4], 5
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
cmp dword [ebp + 0x18], 0
je 0x414d9b
add eax, edi
jmp 0x414d9d
shr esi, cl
test esi, esi
je 0x414d36
cmp esi, 4
ja 0x414d8e
cmp esi, 3
je 0x414d8e
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edx + 1]
inc eax
test al, 0xfe
jne 0x414d36
or esi, 8
shr esi, 1
inc dword [ebp - 4]
jmp 0x414d03
sub eax, edi
test esi, esi
je 0x414dce
and esi, 6
shl esi, 2
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x414dc9
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [ebp + 0x18], 0
je 0x414dc7
add eax, edi
jmp 0x414dc9
sub eax, edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x414d03
push 2
pop eax
shr esi, cl
cmp eax, ecx
mov ecx, dword [ebp + 0x14]
sbb eax, eax
not eax
and eax, esi
pop edi
mov dword [ecx], eax
mov eax, dword [ebp - 4]
pop ebx
pop esi
leave
ret
Function at 0x4195a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp + 0x14], 0x1f
cmp dword [ebp + 0x14], 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, 0x9e3779b1
mov esi, 0x85ebca87
jb 0x419623
mov eax, dword [ebp + 0x14]
shr eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 1
jne 0x4195da
push ebx
call fcn.004194c1
pop ecx
jmp 0x4195df
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
push edx
push eax
push 0
push 0
add ebx, 8
call fcn.004194df
xor eax, dword [ebp + 8]
xor edx, dword [ebp + 0xc]
add esp, 0x10
mov ecx, eax
shld ecx, edx, 0x1b
push edi
shld edx, eax, 0x1b
push esi
push edx
push ecx
call fcn.004237d0
add eax, 0xc2b2ae63
adc edx, 0x85ebca77
sub dword [ebp + 0x14], 8
dec dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
jne 0x4195cb
cmp dword [ebp + 0x14], 4
jb 0x41967d
cmp dword [ebp + 0x18], 1
jne 0x419638
push ebx
call fcn.004194a7
pop ecx
jmp 0x41963a
mov eax, dword [ebx]
push edi
push esi
push 0
push eax
add ebx, 4
call fcn.004237d0
xor eax, dword [ebp + 8]
xor edx, dword [ebp + 0xc]
mov ecx, eax
shld ecx, edx, 0x17
push 0xc2b2ae3d
shld edx, eax, 0x17
push 0x27d4eb4f
push edx
push ecx
call fcn.004237d0
add eax, 0x9e3779f9
adc edx, 0x165667b1
sub dword [ebp + 0x14], 4
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0x14], 0
jbe 0x4196c1
movzx eax, byte [ebx]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.004237d0
mov ecx, dword [ebp + 8]
xor ecx, eax
mov eax, dword [ebp + 0xc]
xor eax, edx
mov edx, ecx
shld edx, eax, 0xb
push edi
shld eax, ecx, 0xb
push esi
push eax
push edx
inc ebx
call fcn.004237d0
dec dword [ebp + 0x14]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
jne 0x419683
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419553
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3c233cbc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x67e21534
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001540
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a458
push 0x10028b52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x28
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x10051824]
mov eax, dword [edx + 0xec]
call eax
test eax, eax
jge 0x1000159c
mov byte [ebp - 0x25], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x25]
jmp 0x10001645
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
mov edx, dword [0x10051824]
mov eax, dword [edx + 0x1ac]
call eax
test eax, eax
jne 0x100015db
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10051824]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x26], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x26]
jmp 0x10001645
push 4
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100014e0
add esp, 0x10
movzx eax, al
test eax, eax
je 0x10001618
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10051824]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x27], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x27]
jmp 0x10001645
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10051824]
mov eax, dword [edx + 0x8c]
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10001643
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
push 2
push 0
push 0x10001d80
mov ecx, dword [0x10052244]
call fcn.100222a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001fed
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
mov ecx, dword [0x10051828]
call fcn.100014a0
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x1005182c]
call fcn.10017950
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100031a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 5
mov dword [ebp - 8], 0
jmp 0x100031c2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x33
jge 0x10003201
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x779227d4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x100031fc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100031b9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10003220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
jmp 0x10003242
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2b
jge 0x10003281
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x6fff3f68]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000327c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10003239
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100032a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x16
mov dword [ebp - 8], 0
jmp 0x100032c2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2b
jge 0x10003301
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x5d1e2afe]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x100032fc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100032b9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4