joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400032f0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x280
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov edx, dword [rsp + 0x290]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140003347
xor eax, eax
jmp 0x1400033c6
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
jne 0x140003367
xor eax, eax
jmp 0x1400033c6
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x298]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14000338a
inc rax
test dl, dl
jne 0x140003377
xor eax, eax
jmp 0x14000338f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400033a5
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
jmp 0x1400033c6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140003367
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x280
pop rdi
ret

Function at 0x1400033e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140003470
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140003470
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call fcn.14001c3c8
test eax, eax
jne 0x14000345c
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x140003470
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000343c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x178
ret
Function at 0x140005360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x11
mov byte [rsp + 0x30], 0x18
mov byte [rsp + 0x31], 0x7b
mov byte [rsp + 0x32], 0xd0
mov byte [rsp + 0x33], 0x35
mov byte [rsp + 0x34], 0x2d
mov byte [rsp + 0x35], 0xf
mov byte [rsp + 0x36], 0x98
mov byte [rsp + 0x37], 0xc
mov byte [rsp + 0x38], 0x18
mov byte [rsp + 0x39], 0x7b
mov byte [rsp + 0x3a], 0xd4
mov byte [rsp + 0x3b], 0x2a
mov byte [rsp + 0x3c], 0x77
mov byte [rsp + 0x3d], 0x4a
mov byte [rsp + 0x3e], 0x93
mov byte [rsp + 0x3f], 0x10
mov byte [rsp + 0x40], 0x6b
mov eax, 0x5d0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140005457
mov eax, 0x5d0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x5d0
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x250
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c660
lea rcx, [0x1400379c0]
call fcn.1400135f8
nop
mov eax, 0x250
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x58
ret
Function at 0x1400058e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x18
mov byte [rsp + 0x30], 0x4a
mov byte [rsp + 0x31], 0x3d
mov byte [rsp + 0x32], 0x13
mov byte [rsp + 0x33], 0x33
mov byte [rsp + 0x34], 0xcc
mov byte [rsp + 0x35], 0x11
mov byte [rsp + 0x36], 0x73
mov byte [rsp + 0x37], 0x76
mov byte [rsp + 0x38], 0x43
mov byte [rsp + 0x39], 0x69
mov byte [rsp + 0x3a], 0x4c
mov byte [rsp + 0x3b], 0x32
mov byte [rsp + 0x3c], 0x85
mov byte [rsp + 0x3d], 0x58
mov byte [rsp + 0x3e], 0x21
mov byte [rsp + 0x3f], 0x7d
mov byte [rsp + 0x40], 0x68
mov byte [rsp + 0x41], 0x73
mov byte [rsp + 0x42], 0x3b
mov byte [rsp + 0x43], 0x37
mov byte [rsp + 0x44], 0xcc
mov byte [rsp + 0x45], 3
mov byte [rsp + 0x46], 0x62
mov byte [rsp + 0x47], 0x5d
mov eax, 0x1ec
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400059fa
mov eax, 0x1ec
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x1ec
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x228
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c4b0
lea rcx, [0x140037960]
call fcn.1400135f8
nop
mov eax, 0x228
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x58
ret
Function at 0x140005e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0x23
mov byte [rsp + 0x30], 0x24
mov byte [rsp + 0x31], 0xa1
mov byte [rsp + 0x32], 0xc5
mov byte [rsp + 0x33], 0x49
mov byte [rsp + 0x34], 0xc6
mov byte [rsp + 0x35], 0x67
mov byte [rsp + 0x36], 0x8d
mov byte [rsp + 0x37], 0xd0
mov byte [rsp + 0x38], 0x2d
mov byte [rsp + 0x39], 0xf5
mov byte [rsp + 0x3a], 0x9a
mov byte [rsp + 0x3b], 0x48
mov byte [rsp + 0x3c], 0x8f
mov byte [rsp + 0x3d], 0x2e
mov byte [rsp + 0x3e], 0xdf
mov byte [rsp + 0x3f], 0xdb
mov byte [rsp + 0x40], 6
mov byte [rsp + 0x41], 0xef
mov byte [rsp + 0x42], 0xed
mov byte [rsp + 0x43], 0x4d
mov byte [rsp + 0x44], 0xc6
mov byte [rsp + 0x45], 0x75
mov byte [rsp + 0x46], 0x9c
mov byte [rsp + 0x47], 0xa7
mov byte [rsp + 0x48], 0x26
mov byte [rsp + 0x49], 0xba
mov byte [rsp + 0x4a], 0xdf
mov byte [rsp + 0x4b], 0x5d
mov byte [rsp + 0x4c], 0xc6
mov byte [rsp + 0x4d], 0x62
mov byte [rsp + 0x4e], 0x83
mov byte [rsp + 0x4f], 0x92
mov byte [rsp + 0x50], 0x2b
mov byte [rsp + 0x51], 0xbc
mov byte [rsp + 0x52], 0xb1
mov eax, 0x5d8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140005f81
mov eax, 0x5d8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x5d8
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x160
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c300
lea rcx, [0x140037900]
call fcn.1400135f8
nop
mov eax, 0x160
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x68
ret
Function at 0x140005fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1e
mov byte [rsp + 0x30], 0xc8
mov byte [rsp + 0x31], 0x83
mov byte [rsp + 0x32], 0x15
mov byte [rsp + 0x33], 0xbb
mov byte [rsp + 0x34], 0xf8
mov byte [rsp + 0x35], 0x2b
mov byte [rsp + 0x36], 0xeb
mov byte [rsp + 0x37], 0x54
mov byte [rsp + 0x38], 0xc1
mov byte [rsp + 0x39], 0xd7
mov byte [rsp + 0x3a], 0x4a
mov byte [rsp + 0x3b], 0xba
mov byte [rsp + 0x3c], 0xb1
mov byte [rsp + 0x3d], 0x62
mov byte [rsp + 0x3e], 0xb9
mov byte [rsp + 0x3f], 0x5f
mov byte [rsp + 0x40], 0xea
mov byte [rsp + 0x41], 0xcd
mov byte [rsp + 0x42], 0x3d
mov byte [rsp + 0x43], 0xbf
mov byte [rsp + 0x44], 0xf8
mov byte [rsp + 0x45], 0x39
mov byte [rsp + 0x46], 0xfa
mov byte [rsp + 0x47], 0x23
mov byte [rsp + 0x48], 0xea
mov byte [rsp + 0x49], 0x96
mov byte [rsp + 0x4a], 2
mov byte [rsp + 0x4b], 0xa1
mov byte [rsp + 0x4c], 0xf4
mov byte [rsp + 0x4d], 0x49
mov eax, 0x7a0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400060e8
mov eax, 0x7a0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x7a0
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x1b8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c230
lea rcx, [0x1400378d0]
call fcn.1400135f8
nop
mov eax, 0x1b8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x68
ret

Function at 0x140007dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0x10
mov byte [rsp + 0x30], 0x23
mov byte [rsp + 0x31], 0x1d
mov byte [rsp + 0x32], 0x16
mov byte [rsp + 0x33], 0x72
mov byte [rsp + 0x34], 0x2d
mov byte [rsp + 0x35], 0x7f
mov byte [rsp + 0x36], 0x18
mov byte [rsp + 0x37], 0x73
mov byte [rsp + 0x38], 0x67
mov byte [rsp + 0x39], 0x10
mov byte [rsp + 0x3a], 3
mov byte [rsp + 0x3b], 0x64
mov byte [rsp + 0x3c], 0x77
mov byte [rsp + 0x3d], 0x71
mov byte [rsp + 0x3e], 0x43
mov byte [rsp + 0x3f], 3
mov eax, 0x768
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140007eb2
mov eax, 0x768
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x768
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x2a0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000b430
lea rcx, [0x1400372d0]
call fcn.1400135f8
nop
mov eax, 0x2a0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x58
ret
Function at 0x140008810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xc
mov byte [rsp + 0x30], 0x5b
mov byte [rsp + 0x31], 0x27
mov byte [rsp + 0x32], 0x30
mov byte [rsp + 0x33], 1
mov byte [rsp + 0x34], 0x3b
mov byte [rsp + 0x35], 0xd6
mov byte [rsp + 0x36], 6
mov byte [rsp + 0x37], 0x6f
mov byte [rsp + 0x38], 0x3e
mov byte [rsp + 0x39], 0x30
mov byte [rsp + 0x3a], 0x35
mov byte [rsp + 0x3b], 0x51
mov eax, 0x3e4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400088ee
mov eax, 0x3e4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x3e4
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x3f0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000b190
lea rcx, [0x1400370c0]
call fcn.1400135f8
nop
mov eax, 0x3f0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x58
ret
Function at 0x14000a9f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0x24
mov byte [rsp + 0x30], 0xa2
mov byte [rsp + 0x31], 0xab
mov byte [rsp + 0x32], 0xca
mov byte [rsp + 0x33], 0x1b
mov byte [rsp + 0x34], 0x25
mov byte [rsp + 0x35], 0x33
mov byte [rsp + 0x36], 0x99
mov byte [rsp + 0x37], 0x81
mov byte [rsp + 0x38], 0xa5
mov byte [rsp + 0x39], 0xaf
mov byte [rsp + 0x3a], 0xd8
mov byte [rsp + 0x3b], 0x53
mov byte [rsp + 0x3c], 0x7e
mov byte [rsp + 0x3d], 0x3c
mov byte [rsp + 0x3e], 0x95
mov byte [rsp + 0x3f], 0x9c
mov byte [rsp + 0x40], 0xa2
mov byte [rsp + 0x41], 0xbc
mov byte [rsp + 0x42], 0xc4
mov byte [rsp + 0x43], 0x1b
mov byte [rsp + 0x44], 0x35
mov byte [rsp + 0x45], 0x3d
mov byte [rsp + 0x46], 0x96
mov byte [rsp + 0x47], 0x92
mov byte [rsp + 0x48], 0xfe
mov byte [rsp + 0x49], 0xbd
mov byte [rsp + 0x4a], 0xee
mov byte [rsp + 0x4b], 0x10
mov byte [rsp + 0x4c], 0x1c
mov byte [rsp + 0x4d], 0x69
mov byte [rsp + 0x4e], 0x89
mov byte [rsp + 0x4f], 0xa7
mov byte [rsp + 0x50], 0x90
mov byte [rsp + 0x51], 0xa7
mov byte [rsp + 0x52], 0x98
mov byte [rsp + 0x53], 0x69
mov eax, 0x660
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14000ab46
mov eax, 0x660
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x660
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x630
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000aff0
lea rcx, [0x1400369d0]
call fcn.1400135f8
nop
mov eax, 0x630
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x68
ret
Function at 0x14000ab70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x19
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0xaf
mov byte [rsp + 0x32], 0xc7
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x34], 0xae
mov byte [rsp + 0x35], 0x17
mov byte [rsp + 0x36], 0x69
mov byte [rsp + 0x37], 0x60
mov byte [rsp + 0x38], 0x50
mov byte [rsp + 0x39], 0xe6
mov byte [rsp + 0x3a], 0xc7
mov byte [rsp + 0x3b], 0x39
mov byte [rsp + 0x3c], 0xa6
mov byte [rsp + 0x3d], 0xd
mov byte [rsp + 0x3e], 0x64
mov byte [rsp + 0x3f], 0x79
mov byte [rsp + 0x40], 0x42
mov byte [rsp + 0x41], 0xe3
mov byte [rsp + 0x42], 0xf2
mov byte [rsp + 0x43], 0x27
mov byte [rsp + 0x44], 0xe9
mov byte [rsp + 0x45], 0x1d
mov byte [rsp + 0x46], 0x61
mov byte [rsp + 0x47], 0x63
mov byte [rsp + 0x48], 0x27
mov eax, 0x680
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x14000ac8f
mov eax, 0x680
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x680
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x2f8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000af20
lea rcx, [0x1400369a0]
call fcn.1400135f8
nop
mov eax, 0x2f8
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x68
ret
Function at 0x14001218c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400121ba
xor eax, eax
jmp 0x1400122a0
cmp qword [rcx + 0x68], 0
je 0x1400121cb
call fcn.1400122bc
jmp 0x1400122a0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400121e2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400121e4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140012216
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140015550
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14001229a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14001224d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140012276
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001d764
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14001229a
cmp rsi, rbx
ja 0x140012254
test rsi, rsi
je 0x14001229a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001d764
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140014428
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014472
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140014472
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140014472
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014472
cmp dword [rcx + 0x84], 0xe
jbe 0x140014472
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014474
xor al, al
add rsp, 0x28
ret
Function at 0x140019e00
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140019c6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019c6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019c6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019c6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019c6b
cmp dword [rcx + 0x84], 0xe
jbe 0x140019c6b
cmp dword [rcx + 0xf8], 0
je 0x140019c6b
mov ecx, ebx
call fcn.140019d1c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140019af8
nop
cmp dword [rbp + 0x20], 0
je 0x140019cb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140019cc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140019bfc
Function at 0x140028218
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140013c60
sub rsp, rax
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140024cbc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140028267
mov rax, rbp
jmp 0x14002836f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x4c360]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140029338
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4c360]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002836b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002836b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140029338
test rax, rax
js 0x14002836b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002836b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002835d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002835d
cmp byte [rcx], 0xd
jne 0x140028343
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140028352
cmp byte [rcx + 1], 0xa
jne 0x140028352
inc rcx
jmp 0x140028352
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4a430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140028325
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002836f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400133a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140028590
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400285a6
mov al, 1
jmp 0x140028606
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400285b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140028604
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002c900
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140028604
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140028604
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140028604
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140028606
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400286d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14004c360]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002872f
cmp word [rdx], r13w
jne 0x14002872f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140028734
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140028859
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002887a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002876d
mov rdx, r9
mov word [rbx], cx
jmp 0x140028794
cmp r9, r8
jae 0x1400287a4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002874e
jmp 0x140028859
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002884e
cmp dword [rsp + 0x80], esi
je 0x14002884e
lea r8, [0x14004c360]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140028826
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400287f6
mov word [rbx], r13w
jmp 0x140028856
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140028803
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140028856
cmp word [rsp + 0x70], r13w
jne 0x140028833
cmp rbx, r14
je 0x1400287f0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140029340
cmp word [rsp + 0x70], r13w
je 0x140028859
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14004c360]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140028853
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140028859