joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140123aa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140123bee
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x1401b0230]
call fcn.1400cc940
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x140123c00]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.140003e00
xorps xmm15, xmm15
mov r14, qword [0x140400bb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x140123bb2
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x140123be8
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x140123bdd
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.14006c960
call fcn.14006c8e0
nop
call fcn.14006a5a0
jmp fcn.140123aa0
Function at 0x14014f800
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014f930
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x80], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x18], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x18]
call fcn.14014f520
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x58], xmm15
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x80]
xor eax, eax
jmp 0x14014f894
inc rax
mov rcx, rbx
cmp rax, 5
jge 0x14014f8d7
mov rdx, qword [rsp + rax*8 + 0x40]
imul rsi, rax, 0x33
mov rdi, rsi
sar rsi, 0x3f
shr rsi, 0x3d
add rsi, rdi
mov r8, rsi
and rsi, 0xfffffffffffffff8
sub rdi, rsi
mov rbx, rcx
mov rcx, rdi
shl rdx, cl
cmp rcx, 0x40
sbb rsi, rsi
and rdx, rsi
mov qword [rsp + 0x10], rdx
xor ecx, ecx
jmp 0x14014f903
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
add rsp, 0x68
pop rbp
ret
test byte [rbx], al
movzx edi, byte [rsp + rcx + 0x10]
movzx r9d, byte [rbx + rsi]
or r9d, edi
mov byte [rbx + rsi], r9b
inc rcx
mov r8, rdx
cmp rcx, 8
jge 0x14014f88e
mov rdx, r8
sar r8, 3
lea rsi, [r8 + rcx]
cmp rsi, 0x20
jge 0x14014f88e
nop
jb 0x14014f8ea
mov rax, rsi
mov ecx, 0x20
call fcn.14006c8a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a5a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14014f800
Function at 0x140150d00
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x140150d85
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x140150ee6
cmp rcx, 0xe
jne 0x140150e00
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x140150ee6
cmp rcx, 0xf
jne 0x140150e77
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x140150ee6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x14017c520
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14017c60d
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x14017c5f9
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call fcn.14017ca80
xorps xmm15, xmm15
mov r14, qword [0x140400bb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x14017c5b3
cmp rbx, rcx
jmp 0x14017c5e5
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call fcn.14006d280
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x40]
mov rbx, rax
mov rax, qword [rsp + 0x38]
jae 0x14017c5f1
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call fcn.14006c8a0
lea rax, [0x1401d6e80]
lea rbx, str.H__
call fcn.140038f60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a5a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14017c520

Function at 0x14017ff30
Capabilities:
Enumerate gui resources

Disassembly:
test dl, dl
je 0x14017ff40
mov rax, rcx
ret
jmp fcn.1401804d0

Function at 0x14017ff50
Capabilities:
Log keystrokes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov ebx, ecx
mov edi, edx
mov rsi, r8
xor edx, edx
mov ebp, r9d
movzx ecx, cl
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp ebx, 0x5d
jg 0x140180040
cmp ebx, 0x20
jle 0x14017ffb0
movabs rcx, 0x1c000000000038ff
lea edx, [rbx - 0x21]
bt rcx, rdx
jae 0x14017ffb5
test rsi, rsi
je 0x14017fff0
test bpl, bpl
je 0x140180060
mov rcx, rsi
mov edx, 0x101
jmp 0x14017ffd3
cmp ebx, 0x13
je 0x14017ff8e
test rsi, rsi
je 0x14017fff3
mov rcx, rsi
test bpl, bpl
je 0x140180078
mov edx, 0x100
test edi, edi
jne 0x14018006a
xor r9d, r9d
movsxd r8, ebx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.USER32.dll_PostMessageW]
or edi, 1
mov word [rsp + 0x28], bx
lea rdx, [rsp + 0x20]
mov r8d, 0x28
mov ecx, 1
mov dword [rsp + 0x20], 1
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.USER32.dll_SendInput]
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp ebx, 0xa3
je 0x14017ff8e
lea edx, [rbx - 0xa5]
cmp edx, 0xf
jbe 0x14017ff8e
jmp 0x14017ffb5
mov ecx, esi
call fcn.1401804d0
mov rcx, rax
mov edx, 0x101
jmp 0x14017ffd3
call fcn.1401804d0
mov rcx, rax
jmp 0x14017ffc6

Function at 0x1401804b0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
mov r8d, 0x16
lea rdx, str.C:_Users_anton_go_pkg_mod_github.com_go_vgo_robotgo_v0.110.1_base_bitmap_free_c.h
lea rcx, str.bitmap___NULL
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop
Function at 0x1401804d0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], ecx
lea rcx, [0x140180460]
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1401816b0
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call fcn.1401812e0
lea rcx, str.is_valid_failed.
test al, al
jne 0x1401816d8
mov rax, rcx
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 8]
mov rcx, qword [rbx]
mov r8d, 0x200
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [0x14036a55c]
test eax, eax
jle 0x1401816c9
mov ecx, 0x64
mov edx, 8
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rcx, rax
test rax, rax
je 0x1401816c9
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov rcx, rax
mov rax, rcx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140182840
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xa0
mov word [0x140404f9a], ax
call rbx
test ax, ax
jns 0x140182869
or word [0x140404f9a], 1
mov ecx, 0xa1
call rbx
test ax, ax
jns 0x14018287d
or word [0x140404f9a], 0x10
mov ecx, 0xa2
call rbx
test ax, ax
jns 0x140182891
or word [0x140404f9a], 2
mov ecx, 0xa3
call rbx
test ax, ax
jns 0x1401828a5
or word [0x140404f9a], 0x20
mov ecx, 0xa4
call rbx
test ax, ax
jns 0x1401828b9
or word [0x140404f9a], 8
mov ecx, 0xa5
call rbx
test ax, ax
jns 0x1401828ce
or word [0x140404f9a], 0x80
mov ecx, 0x5b
call rbx
test ax, ax
jns 0x1401828e2
or word [0x140404f9a], 4
mov ecx, 0x5c
call rbx
test ax, ax
jns 0x1401828f6
or word [0x140404f9a], 0x40
mov ecx, 1
call rbx
test ax, ax
jns 0x14018290b
or word [0x140404f9a], 0x100
mov ecx, 2
call rbx
test ax, ax
jns 0x140182920
or word [0x140404f9a], 0x200
mov ecx, 4
call rbx
test ax, ax
jns 0x140182935
or word [0x140404f9a], 0x400
mov ecx, 5
call rbx
test ax, ax
jns 0x14018294a
or word [0x140404f9a], 0x800
mov ecx, 6
call rbx
test ax, ax
jns 0x14018295f
or word [0x140404f9a], 0x1000
mov ecx, 0x90
call rbx
test ax, ax
jns 0x140182974
or word [0x140404f9a], 0x2000
mov ecx, 0x14
call rbx
test ax, ax
jns 0x140182989
or word [0x140404f9a], 0x4000
mov ecx, 0x91
call rbx
test ax, ax
jns 0x14018299e
or word [0x140404f9a], 0x8000
add rsp, 0x20
pop rbx
ret

Function at 0x140182bb0
Capabilities:
Get common file path
Get keyboard layout
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8d, 0x1aa
lea rdx, str.C:_Users_anton_go_pkg_mod_github.com_robotn_gohook_v0.41.0_chan_eb_chan.h
lea rcx, str.plc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop

Function at 0x140182bd0
Capabilities:
Get common file path
Get keyboard layout
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8d, 0x1b7
lea rdx, str.C:_Users_anton_go_pkg_mod_github.com_robotn_gohook_v0.41.0_chan_eb_chan.h
lea rcx, str.plc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop
Function at 0x140182bf0
Capabilities:
Get common file path
Get keyboard layout
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8d, 0x288
lea rdx, str.C:_Users_anton_go_pkg_mod_github.com_robotn_gohook_v0.41.0_chan_eb_chan.h
lea rcx, [0x14036a6dc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop

Function at 0x140182c10
Capabilities:
Get common file path
Get keyboard layout
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov r8d, 0x309
lea rdx, str.C:_Users_anton_go_pkg_mod_github.com_robotn_gohook_v0.41.0_chan_eb_chan.h
lea rcx, [0x14036a6de]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop
Function at 0x1401886e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x140405008], rax
test rax, rax
je 0x140188715
lea rcx, [0x140405020]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140188f60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140189f40
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140188fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1404050d4]
mov rbx, rcx
test esi, esi
jle 0x140189100
mov rax, qword [0x1404050d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14018901b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401890a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140189000
mov rcx, rbx
call fcn.140189a40
mov rdi, rax
test rax, rax
je 0x140189122
mov rax, qword [0x1404050d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140189b80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1404050d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140189107
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14018909e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1401890b0
add dword [0x1404050d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1404050d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14018909e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140188f60
nop dword [rax]
xor esi, esi
jmp 0x140189028
mov rax, qword [0x1404050d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140188f60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140188f60
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1401896b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140405140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140405120]
test rbx, rbx
je 0x14018970c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140189703
test eax, eax
jne 0x140189703
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401896e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140189a40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14036c800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140189a60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140189a68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140189a60
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140189abd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140189ab4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140189a60
add rax, 0x28
cmp rax, r9
jne 0x140189aa0
xor eax, eax
ret

Function at 0x140189ac0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14036c800]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140189adf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140189ae8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140189adf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140189b80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14036c800]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140189b9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140189ba8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001ee0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, dword [rcx]
mov r10, r8
xor r8d, r8d
mov rbx, rcx
lea eax, [r9*4]
test eax, eax
je 0x140001f1c
nop
movzx eax, byte [r8 + rdx]
mov byte [r8 + r10], al
inc r8d
mov r9d, dword [rcx]
lea eax, [r9*4]
cmp r8d, eax
jb 0x140001f00
mov eax, dword [rcx + 4]
lea r9d, [r9*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x140002119
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r12
lea r12, [0x140031920]
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
mov edi, dword [rbx]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r10]
xor edx, edx
lea eax, [r9 - 3]
movzx r11d, r8b
movzx esi, byte [rax + r10]
lea eax, [r9 - 2]
movzx ebp, byte [rax + r10]
lea eax, [r9 - 1]
movzx r14d, byte [rax + r10]
mov eax, r9d
shr eax, 2
div edi
test edx, edx
jne 0x14000202b
mov eax, esi
mov ecx, esi
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
xor edx, edx
mov eax, ebp
and eax, 0xf
movzx r11d, byte [rcx + r12]
mov ecx, ebp
and rcx, 0xfffffffffffffff0
add rcx, rax
mov eax, r14d
and eax, 0xf
movzx esi, byte [rcx + r12]
mov ecx, r14d
and rcx, 0xfffffffffffffff0
add rcx, rax
mov eax, r8d
and eax, 0xf
movzx ebp, byte [rcx + r12]
mov ecx, r8d
and rcx, 0xfffffffffffffff0
lea r8d, [rdi*4]
add rcx, rax
mov eax, r9d
div r8d
movzx r14d, byte [rcx + r12]
mov cl, 1
sub eax, 1
je 0x140002026
mov r8d, eax
nop word [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x140002010
xor r11b, cl
jmp 0x140002089
cmp edi, 6
jbe 0x140002089
cmp edx, 4
jne 0x140002089
mov rax, r8
mov rcx, r8
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
mov rax, rsi
and eax, 0xf
movzx r11d, byte [rcx + r12]
mov rcx, rsi
and rcx, 0xfffffffffffffff0
add rcx, rax
mov rax, rbp
and eax, 0xf
movzx esi, byte [rcx + r12]
mov rcx, rbp
and rcx, 0xfffffffffffffff0
add rcx, rax
mov rax, r14
and eax, 0xf
movzx ebp, byte [rcx + r12]
mov rcx, r14
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx r14d, byte [rcx + r12]
mov ecx, r9d
lea eax, [rdi*4]
sub ecx, eax
xor r11b, byte [rcx + r10]
mov ecx, r9d
mov byte [r9 + r10], r11b
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor sil, byte [rcx + r10]
mov ecx, r9d
mov byte [rax + r10], sil
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
add ecx, 2
xor bpl, byte [rcx + r10]
mov ecx, r9d
mov byte [r15 + r10], bpl
add r9d, 4
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor r14b, byte [rcx + r10]
mov byte [rax + r10], r14b
mov eax, dword [rbx + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x140001f60
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140005998
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140037018]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1400059dc
movzx eax, r14w
jmp 0x140005b12
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140005a18
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x140005a18
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x140005b12
cmp qword [rcx + 0x80], r14
je 0x140005b0f
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005a56
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005a7f
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14000e230
cmp ax, di
je 0x140005b0f
movzx edi, si
jmp 0x140005b0f
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x140024318]
test eax, eax
je 0x140005ad4
sub eax, 1
je 0x140005ad4
cmp eax, 2
jne 0x140005b0f
movzx ecx, word [rbp + 7]
jmp 0x140005a62
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x140005afe
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.14000efd8
cmp r14, rax
jne 0x140005b0f
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x140005b12
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400076b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140013584
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400133b0