joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1f3ce4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
mov edi, eax
call fcn.001f1b0b
xor esi, esi
lea ecx, [ebp - 0x18]
push esi
call fcn.001f4678
push 0x2f
mov ebx, eax
mov eax, dword [ebp + 8]
pop ecx
push 0x5c
pop edx
movzx eax, word [eax + edi*2 - 2]
cmp ax, dx
je 0x1f3d2a
cmp ax, cx
jne 0x1f3d5e
xor eax, eax
mov word [ebx + edi*2 - 2], ax
dec edi
mov dword [ebp - 4], edi
jmp 0x1f3d5e
test edi, edi
jle 0x1f3d56
push 0x2f
pop ecx
push 0x5c
pop edx
movzx eax, word [ebx + edi*2]
cmp ax, cx
je 0x1f3d54
cmp ax, dx
je 0x1f3d54
dec edi
test edi, edi
jg 0x1f3d41
test edi, edi
je 0x1f3db3
xor eax, eax
mov word [ebx + edi*2], ax
push ebx
call fcn.001f5f2b
pop ecx
test eax, eax
je 0x1f3d37
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1f3d92
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.001f49f6
pop ecx
pop ecx
test eax, eax
jne 0x1f3e37
push ebx
call fcn.001f5f2b
pop ecx
test eax, eax
jne 0x1f3e2d
push ebx
push 0xc
push 1
call fcn.001fa586
add esp, 0xc
jmp 0x1f3e37
cmp dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
jne 0x1f3dd4
mov ax, word [ecx]
or ax, 0x20
sub ax, 0x61
cmp ax, 0x19
ja 0x1f3dd4
cmp word [ecx + 2], 0x3a
je 0x1f3e34
push ecx
jmp 0x1f3da2
sub eax, edi
lea esi, [ebx + edi*2]
inc eax
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.00207800
xor ecx, ecx
lea eax, [edi + 1]
add esp, 0xc
cmp word [esi], cx
cmove eax, edi
mov edi, eax
jmp 0x1f3e11
movzx eax, cx
push 0x5c
pop ecx
cmp ax, cx
je 0x1f3e1c
push 0x2f
pop ecx
cmp ax, cx
je 0x1f3e1c
inc edi
movzx eax, word [ebx + edi*2]
mov ecx, eax
test ax, ax
jne 0x1f3dfd
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call fcn.001f5f2b
pop ecx
test eax, eax
je 0x1f3e46
mov eax, dword [ebp - 4]
cmp edi, eax
jl 0x1f3dd7
xor esi, esi
inc esi
lea ecx, [ebp - 0x18]
call fcn.001f13e3
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push ebx
push 0xc
push 1
call fcn.001fa586
add esp, 0xc
xor esi, esi
jmp 0x1f3e37
Function at 0x1f41c3
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.001f1374
push 2
mov ecx, edi
call fcn.001f4678
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebx, ebx
mov ecx, edi
push ebx
mov esi, eax
call fcn.001f2112
test esi, esi
je 0x1f420d
inc esi
mov ecx, edi
push esi
call fcn.001f4678
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, edi
call fcn.001f5897
mov ecx, edi
call fcn.001f15ba
mov esi, eax
lea eax, [esi + 0xf]
push eax
mov ecx, edi
call fcn.001f4678
push ebx
push dword [ebp + 0xc]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, edi
call fcn.001f5897
mov ecx, edi
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1f4258
inc ebx
lea eax, [esi + 0xf]
cmp ebx, 0xfff
jl 0x1f4219
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1f425f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
lea ecx, [ebp - 0xc]
push ebx
push esi
push dword [ebp + 8]
call fcn.001f1b0b
push 0x217c04
lea ecx, [ebp - 0xc]
call fcn.0020312d
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0xc]
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
xor esi, esi
cmp ebx, 0xffffffff
je 0x1f4353
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.001f141b
push 0x5c
lea ecx, [ebp - 0xc]
call fcn.001f1b20
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0xc]
call fcn.0020312d
test byte [ebp - 0x25c], 0x10
je 0x1f430f
push 0x217c0c
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1f4336
push 0x217c10
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1f4336
lea ecx, [ebp - 0xc]
call fcn.001f1430
push eax
call fcn.001f425f
pop ecx
jmp 0x1f4332
push esi
lea ecx, [ebp - 0xc]
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1f4382
lea ecx, [ebp - 0xc]
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1f4382
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1f42a5
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x221ed8
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1f4382
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1f4382
xor esi, esi
inc esi
lea ecx, [ebp - 0xc]
call fcn.001f13e3
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1f629f
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
sub esp, 0x30
lea ecx, [ebp + 8]
push esi
call fcn.001f1430
push 0x3a
pop esi
cmp word [eax + 2], si
jne 0x1f6454
movzx ecx, word [eax + 4]
push 0x5c
pop edx
cmp cx, dx
je 0x1f62d0
cmp ecx, 0x2f
jne 0x1f6454
mov ax, word [eax]
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], si
mov word [ebp - 8], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1f6454
push ebx
push edi
lea eax, [ebp - 0x24]
push str.7ZSfx_03x.cmd
push eax
call fcn.001f41c3
pop ecx
pop ecx
xor eax, eax
lea ecx, [ebp - 0x24]
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1f644a
lea ecx, [ebp - 0x18]
call fcn.001f1374
push str.:Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.001f141b
mov ebx, str.del__
lea ecx, [ebp - 0x18]
push ebx
call fcn.0020312d
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.002030f5
mov esi, 0x218cfc
lea ecx, [ebp - 0x18]
push esi
call fcn.0020312d
push str.if_exist__
lea ecx, [ebp - 0x18]
call fcn.0020312d
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.002030f5
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.0020312d
push ebx
lea ecx, [ebp - 0x18]
call fcn.0020312d
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.002030f5
push esi
lea ecx, [ebp - 0x18]
call fcn.0020312d
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.001f15ba
push eax
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.001f5fd1
add esp, 0xc
mov ecx, eax
call fcn.001f390a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.001f13e3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1f6433
lea ecx, [ebp - 0x18]
call fcn.001f15ba
cmp dword [ebp - 4], eax
jne 0x1f6433
push ebx
lea ecx, [ebp + 8]
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x24]
call fcn.001f1430
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1f6442
lea ecx, [ebp - 0x24]
call fcn.001f1430
push eax
call fcn.001f4390
pop ecx
lea ecx, [ebp - 0x18]
call fcn.001f13e3
lea ecx, [ebp - 0x24]
call fcn.001f13e3
pop edi
pop ebx
lea ecx, [ebp + 8]
call fcn.001f13e3
pop esi
leave
ret
Function at 0x1f6bf2
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, 0x221fd4
xor esi, esi
mov ecx, edi
call fcn.001f6031
test eax, eax
jle 0x1f6c5d
push esi
mov ecx, edi
call fcn.001f2be9
add eax, 0xc
lea ecx, [ebp - 0xc]
push eax
call fcn.001f2b2d
lea eax, [ebp - 0xc]
push eax
call fcn.001f681b
pop ecx
lea ecx, [ebp - 0xc]
call fcn.001f1430
push eax
push esi
mov ecx, edi
call fcn.001f2be9
mov ecx, eax
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [ebp - 0xc]
call fcn.001f13e3
mov ecx, edi
inc esi
call fcn.001f6031
cmp esi, eax
jl 0x1f6c0c
pop edi
pop esi
leave
ret

Function at 0x1f6c7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
push 0x218a74
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x221eb8], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.001fadf1
call fcn.001f4e3e
push 3
call fcn.001f483d
push 0x28
mov dword [0x221e7c], eax
call fcn.001f483d
push 2
mov dword [0x221ebc], eax
call fcn.001f483d
push 5
mov dword [0x221e78], eax
call fcn.001f483d
push 0x15
mov dword [0x221e84], eax
call fcn.001f483d
push 0x16
mov dword [0x221e88], eax
call fcn.001f483d
push 0x17
mov dword [0x221e8c], eax
call fcn.001f483d
add esp, 0x1c
mov dword [0x221e94], eax
xor ebx, ebx
mov dword [0x221e90], ebx
mov esi, ebx
mov dword [0x221e80], ebx
push ebx
push esi
lea eax, [ebp - 0x268]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1f6d70
push esi
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.001f5eb3
add esp, 0x18
mov edi, ebx
cmp dword [edi + 0x2213c4], esi
jne 0x1f6d68
push ebx
lea eax, [ebp - 0x268]
push eax
push dword [edi + 0x2213c8]
call fcn.001f5eb3
add esp, 0xc
add edi, 8
cmp edi, 0x28
jb 0x1f6d4a
inc esi
cmp esi, 0x40
jl 0x1f6d0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1f8091
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 fcn.0020d476
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.001f7fbc
add esp, 0x1c
leave
ret

Function at 0x1f829f
Capabilities:
Set current directory

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, 0x221ed8
mov ecx, edi
call fcn.001f1430
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esi, 4
mov ecx, esi
call fcn.001f4f15
test al, al
jne 0x1f82df
push edi
push esi
call fcn.001f8111
pop ecx
pop ecx
test al, al
je 0x1f82df
mov ecx, esi
call fcn.001f1430
push eax
call fcn.001f4390
pop ecx
mov ecx, esi
call fcn.001f2213
pop edi
mov al, 1
pop esi
ret

Function at 0x1f8623
Capabilities:
Create thread

Disassembly:
add ecx, 0x38
jmp 0x1fa745
push esi
mov esi, ecx
call fcn.001f8fda
test eax, eax
jne 0x1fa763
push eax
push eax
push esi
push 0x1fa969
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
push dword [0x221e78]
mov ecx, esi
call fcn.001f15ba
push eax
mov ecx, esi
call fcn.001fa48e
push 0x2d
call fcn.001f483d
pop ecx
push eax
push 0x4b2
mov ecx, esi
call fcn.001fa284
pop esi
ret
Function at 0x1f9766
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov esi, 0x4b6
push eax
push esi
mov edi, ecx
call fcn.001f8ee9
mov eax, dword [ebp - 4]
mov ecx, edi
sub eax, dword [ebp - 0xc]
push 1
add eax, 2
push esi
mov dword [edi + 0x58], eax
call fcn.001fa78f
push 1
lea ebx, [esi + 1]
mov ecx, edi
push ebx
call fcn.001fa78f
mov esi, 0x2b4
lea eax, [ebp - 0x2c4]
push esi
push 0
push eax
call fcn.002076a0
add esp, 0xc
lea eax, [ebp - 0x4d0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push esi
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]
mov ecx, edi
push 0x1f8811
push 0xfffffffffffffffc
push ebx
mov dword [edi + 0x50], eax
call fcn.001f8ed6
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, edi
mov dword [edi + 0x54], eax
call fcn.001f9232
mov ecx, edi
mov esi, eax
call fcn.001fa2a2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

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

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x1fadf9
mov dword [edx*4 + 0x224ce0], ecx
inc edx
cmp edx, 0x100
jb 0x1fadf4
mov esi, 0x800
jmp 0x1fae41
mov ecx, dword [edx*4 + 0x2248e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x224ce0]
mov dword [edx*4 + 0x224ce0], ecx
inc edx
cmp edx, esi
jb 0x1fae25
mov eax, 0x216720
mov esi, 0x216640
mov dword [0x224cd0], eax
mov dword [0x224cc8], eax
mov dword [0x224ccc], esi
call fcn.00201582
mov ecx, dword [0x224cc8]
test eax, eax
cmove ecx, esi
mov dword [0x224cc8], ecx
pop esi
ret

Function at 0x201902
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
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 0x201928
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x201928
xor al, al
jmp 0x20193c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x20503e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x205074
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x205067
cmp esi, ecx
jae 0x205157
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x2050ed
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x2193e8]
xor ecx, eax
or ecx, edx
jmp 0x20513d
cmp edi, 6
jbe 0x20513d
cmp edx, 4
jne 0x20513d
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x205086
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x20517d
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov ecx, ebx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x2241b0], cl
inc ecx
cmp ecx, 0x100
jb 0x20518d
movzx edi, byte [ebx + str.cw]
mov eax, edi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edi + edi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov ecx, edi
mov edx, esi
shl ecx, 8
xor edx, edi
mov eax, edx
shl eax, 8
or eax, edi
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
mov dword [ebx*4 + 0x2221b0], eax
mov eax, ecx
or ecx, esi
or eax, edi
shl eax, 8
or eax, esi
shl ecx, 8
or ecx, edx
shl esi, 8
shl ecx, 8
or esi, edx
or ecx, edi
shl eax, 8
mov dword [ebx*4 + 0x2229b0], ecx
or eax, edx
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x2225b0], eax
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x222db0], esi
movzx ebx, byte [ebx + 0x2241b0]
mov eax, ebx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [ebx + ebx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov eax, esi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [esi + esi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx edx, cl
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx ecx, cl
mov eax, ecx
mov edi, ecx
xor ecx, edx
xor edi, esi
xor eax, ebx
mov dword [ebp - 8], ecx
xor edi, ebx
mov dword [ebp - 0xc], eax
xor ecx, ebx
mov ebx, dword [ebp - 8]
xor ebx, esi
mov edx, dword [ebp - 0xc]
mov eax, edi
mov esi, dword [ebp - 4]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
mov dword [esi*4 + 0x2231b0], eax
mov eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
mov dword [esi*4 + 0x2235b0], eax
mov eax, edx
shl eax, 8
or eax, ebx
shl ebx, 8
or ebx, edi
shl eax, 8
shl ebx, 8
or eax, edi
or ebx, ecx
shl eax, 8
shl ebx, 8
or eax, ecx
or ebx, edx
mov dword [esi*4 + 0x2239b0], eax
mov dword [esi*4 + 0x223db0], ebx
mov ebx, esi
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 0x100
jb 0x2051a3
mov dword [0x222178], 0x204eff
mov dword [0x22217c], 0x204e61
mov dword [0x222180], 0x204f5d
call fcn.00201556
pop edi
pop esi
pop ebx
test eax, eax
je 0x20533f
mov dword [0x222178], 0x216950
mov dword [0x22217c], 0x216800
mov dword [0x222180], 0x2169c0
leave
ret
Function at 0x205c83
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x2117b0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00211452

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x4c134ae
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2ce3b32
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x414ddc
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edx
push ecx
pop edi
add esi, 4
dec eax
mov edi, ecx
cmp esi, ebx
jne fcn.00414ddc
add ecx, 0x735caafb
dec ecx
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
imul ecx, eax, 0xb
adc dl, byte [edi + esi + 0x379412c8]
enter 0xffffffffffff9412, 0xfffffffffffffff4
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0xfffffffffffffff4
adc dl, byte [edi + esi - 0xb6bed38]
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0xffffffffffffff97
mov eax, 0x6a37d542
xor dh, ah
jbe 0x414a22
rcl dword [edi + esi + 0x629412c8]
inc ecx
neg dword [edi]
jb 0x414a26
cdq
sar dword [ebx], 1
inc ebx
inc edi
test byte [edi + 0x76c5d2f5], dh
enter 0xffffffffffffe112, 0x70
dec ebx
mov bh, 0xf5
rol ch, cl
jbe 0x414a3a
adc ah, cl
jo 0x414ac1
ljmp 0x367c:0x918a4595
bound eax, qword [ecx - 9]
push edx
xor bl, byte [eax]
inc ebx
aad 0x37
inc ecx
not dword [edx + 0x32]
sbb byte [ebx - 0x2b], al
aaa
leave
jp 0x414b10
cmc
mov dl, byte [edx]
inc cl
and byte [eax + 0x51], ch
leave
aaa
inc edx
jl 0x414a6c
push cs
in al, dx
imul ecx, dword [esi + 0x37d6f2c8], 0x72
push ss
je 0x414b5a
enter 0xffffffffffffa4aa, 0x57
mov dword [edx], edx
jl 0x414b54
aaa
in eax, dx
imul ebx, edi, 0xffffff93
in eax, dx
imul ecx, eax, 0x70
add dh, ah
jbe 0x414ac2
cli
inc ebp
mov cl, 0x37
in eax, dx
pop ebp
hlt
enter 0xffffffffffffed37, 0x6b
aaa
enter 0xffffffffffff9412, 0xffffffffffffffc8
aaa
in eax, dx
imul esi, dword [edi], 0xffffffc8
adc dl, byte [edi + esi + 0x379412c8]
enter 0xffffffffffff9412, 0x37
enter 0x7891, 0x33
movhps xmm6, qword [eax - 0x6baf9f25]
xor ebx, dword ds:[ebp - 4]
aaa
mov eax, 0x8f799453
stosb byte es:[edi], al
dec esp
mov ch, 0xf2
xchg esp, eax
das
clc
cdq
jb 0x414b19
push ds
aaa
push esp
sub eax, 0x9452d837
mov dh, 0xf
adc edx, dword [edi + esi - 0x21856c38]
aaa
enter 0x7a93, 0xffffffffffffffde
mov esi, 0x26b6761a
adc edx, dword [edi + esi + 0x7cb4a8c8]
sbb dh, byte [esi - 0x4a]
adc edx, dword es:[edi + esi + 0x7cb4a8c8]
mov dword [edx], edx
adc eax, 0xa0de6ad8
adc ecx, ecx
in eax, dx
jl 0x414b8d
enter 0xffffffffffff9412, 0xffffffffffffff8c
loop 0x414bf6
dec edi
xchg ecx, eax
cmp esp, dword [edx - 0x44]
fdiv qword [esi]
pop ss
int3
leave
in al, dx
popfd
ror cl, 0xed
pop ebp
jl 0x414b77
int 0x56
cmp ecx, eax
cmp esp, dword [edx + 0x3e]
aas
pop ecx
movsd dword es:[edi], dword [esi]
jbe 0x414b90
xchg ebp, ebp
or edx, dword [ebx + 0x12c83355]
xchg esp, eax
push ss
xor eax, dword [ebp - 0x31]
mov dh, 0x27
sbb eax, 0x452bb6df
inc edx
sub eax, 0xc8367b93
adc dl, byte [esi + esi*4 + 0x3794130b]
enter 0x15d1, 0xfffffffffffffff0
salc
mov dword [eax + eax*8], edx
jbe 0x414c33
sub byte [edx + eax*8 + 0x12], al
xchg esp, eax
aaa
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
enter 0xffffffffffff9412, 0x37
adc dl, byte [edi + esi + 0x379412c8]
enter 0xffffffffffff9412, 0x37
hlt
jbe 0x414c6c
hlt
aaa
hlt