joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ce8b
Capabilities:
Authenticate hmac

Disassembly:
push rax
pushf
mov eax, 0x2d8b5b13
pushf
not eax
add eax, 0xdcbd2498
xor eax, 0xe9fdd9f1
rol eax, 0xcb
popf
pushf
not eax
add eax, 0xaa475ce4
xor eax, 0xe06db03b
rol eax, 0x13
popf
pushf
not eax
add eax, 0xa48fc1f0
xor eax, 0x8fda747f
rol eax, 0x5c
popf
cmp eax, 2
jne 0x14003cedb
popf
pop rax
jmp 0x14003cfb3
cmp eax, 0
jne 0x14003ceea
popf
pop rax
jmp 0x14003cef9
cmp eax, 1
jne 0x14003cef9
popf
pop rax
jmp 0x14003cfa7
sub rsp, 0x28
mov ecx, dword [0x140018030]
cmp ecx, 0xffffffff
je 0x14003cf4e
push rax
pushf
mov eax, 0x23cbcc17
pushf
not eax
add eax, 0xb451b045
xor eax, 0xc141251c
rol eax, 0xe1
popf
pushf
not eax
add eax, 0xd4ed1d65
xor eax, 0x9d23d591
rol eax, 0x6c
popf
pushf
not eax
add eax, 0x99a4cc03
xor eax, 0x94b9913e
rol eax, 0xaf
popf
jmp 0x14003cecc
push rax
pushf
mov eax, 0xe331ad8e
pushf
not eax
add eax, 0xb6d2cbd2
xor eax, 0xb9f3cf54
rol eax, 0xb3
popf
pushf
not eax
add eax, 0x869ca3a3
xor eax, 0x9c178b0d
rol eax, 0x30
popf
pushf
not eax
add eax, 0xf75319a8
xor eax, 0xad0df526
rol eax, 0x54
popf
pushf
not eax
add eax, 0xc8718919
xor eax, 0x9ef68b54
rol eax, 0x96
popf
jmp 0x14003cecc
call fcn.14004ae1a
or dword [0x140018030], 0xffffffff
mov al, 0x14
pushf
not al
add al, 0xa8
xor al, 0x13
rol al, 6
popf
pushf
not al
add al, 0x46
xor al, 0x36
rol al, 0x99
popf
pushf
not al
add al, 0xf3
xor al, 0x4c
rol al, 1
popf
add rsp, 0x28
ret
Function at 0x14006215e
Capabilities:
Authenticate hmac

Disassembly:
push rax
pushf
mov eax, 0xd94db678
pushf
not eax
add eax, 0xd0a58c58
xor eax, 0x803933eb
rol eax, 0x42
popf
pushf
not eax
add eax, 0x9c9503a0
xor eax, 0xbe13b656
rol eax, 0x53
popf
pushf
not eax
add eax, 0xcac5ca19
xor eax, 0xe605c3c2
rol eax, 0xa0
popf
cmp eax, 2
jne 0x1400621ae
popf
pop rax
jmp 0x140062348
cmp eax, 0
jne 0x1400621bd
popf
pop rax
jmp 0x1400621cc
cmp eax, 1
jne 0x1400621cc
popf
pop rax
jmp 0x140062265
sub rsp, 0x28
cmp byte [0x140019674], 0
jne 0x14006221f
push rax
pushf
mov eax, 0x2ee51638
pushf
not eax
add eax, 0xdd497748
xor eax, 0x8ee33ff8
rol eax, 0x7d
popf
pushf
not eax
add eax, 0xa30cd486
xor eax, 0xf44cbba5
rol eax, 0x7c
popf
pushf
not eax
add eax, 0xff649982
xor eax, 0xdab92051
rol eax, 0x76
popf
jmp 0x14006219f
push rax
pushf
mov eax, 0x8a5601e2
pushf
not eax
add eax, 0xa780d57e
xor eax, 0xb7812c05
rol eax, 0xc7
popf
pushf
not eax
add eax, 0xbd54ec83
xor eax, 0x8ae64ee6
rol eax, 0xfb
popf
pushf
not eax
add eax, 0xe7edbc49
xor eax, 0x888021ba
rol eax, 0x5d
popf
jmp 0x14006219f
lea rcx, [0x185f237a6]
pushf
sub rcx, 0x45f0b296
popf
mov qword [0x140019660], rcx
lea rax, [0x189c95eb8]
pushf
sub rax, 0x49c7dce8
popf
lea rcx, [0x180eea2a5]
pushf
sub rcx, 0x40ed1ea5
popf
mov qword [0x140019668], rax
mov qword [0x140019658], rcx
call fcn.14003e5d2
lea r9, [0x18fbd7ca6]
pushf
sub r9, 0x4fbbe63e
popf
mov r8, rax
mov dl, 0xa7
pushf
not dl
add dl, 0x5c
xor dl, 0xc1
rol dl, 0xb8
popf
pushf
not dl
add dl, 0x6d
xor dl, 0x18
rol dl, 0xac
popf
pushf
not dl
add dl, 0x30
xor dl, 0x11
rol dl, 0xb
popf
mov ecx, 0x42d57fe6
pushf
not ecx
add ecx, 0xb0ba4c04
xor ecx, 0xb16b757d
rol ecx, 0xe0
popf
pushf
not ecx
add ecx, 0xb90d5d62
xor ecx, 0x966ec2ed
rol ecx, 0x73
popf
pushf
not ecx
add ecx, 0x87a43655
xor ecx, 0xafae1a46
rol ecx, 0xed
popf
call fcn.14005dab0
mov byte [0x140019674], 1
mov al, 0x5b
pushf
not al
add al, 0x5f
xor al, 0x77
rol al, 0x6d
popf
pushf
not al
add al, 0x36
xor al, 0xdf
rol al, 0x32
popf
pushf
not al
add al, 0xe7
xor al, 7
rol al, 0x97
popf
add rsp, 0x28
ret
Function at 0x140078ebb
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x60]
xor r11d, r11d
mov rsi, r8
mov ebp, edx
mov rdi, qword [rax + 0x10]
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
movzx eax, word [rbx + 0x14]
lea r9, [rbx + 0x18]
movzx r10d, word [rbx + 6]
add r9, rax
test r10, r10
je 0x140078f7a
mov dword [rsp + 0x78], 0x6544302e
mov byte [rsp + 0x7c], 0x76
movups xmm2, xmmword [r9]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r9 + 0x10]
movsd xmm1, qword [r9 + 0x20]
movd edx, xmm2
movups xmmword [rsp + 0x20], xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test dl, dl
je 0x140078f62
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x20]
sub r8, rax
movzx eax, dl
nop
movzx edx, al
cmp al, byte [rcx]
jne 0x140078f62
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x140078f4b
cmp dl, byte [rcx]
lea rdx, [rsp + 0x20]
cmovne rdx, r11
add r9, 0x28
mov r11, rdx
sub r10, 1
jne 0x140078f0d
mov eax, dword [r11 + 0xc]
mov rdx, rsi
mov ecx, dword [rbx + 8]
mov eax, dword [rax + rdi]
xor eax, dword [rbx + 0x68]
ror eax, cl
mov ecx, ebp
add rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp rax
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004400]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x140004380]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043f0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004360]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001430
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov ecx, 0x12
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
jns 0x140001466
mov eax, dword [0x14000300c]
cmp eax, 1
jne 0x14000147a
mov dword [0x14000300c], 0
jmp 0x14000147a
mov eax, dword [0x14000300c]
test eax, eax
jne 0x14000147a
mov dword [0x14000300c], 1
mov ecx, 0x64
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x14000143c
Function at 0x1400016e2
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
pxor xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movq qword [rbp - 0x10], xmm0
lea rax, [sym.wProc]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov ecx, 4
mov rax, qword [sym.imp.GDI32.dll_GetStockObject]
call rax
mov qword [rbp - 0x20], rax
lea rax, str.OverlayWindow
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_RegisterClassA]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 4], eax
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 8], eax
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rbp - 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
mov r8d, 0
lea rax, str.OverlayWindow
mov rdx, rax
mov ecx, 0x80028
mov rax, qword [sym.imp.USER32.dll_CreateWindowExA]
call rax
mov qword [0x140007040], rax
mov rax, qword [0x140007040]
mov r9d, 1
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call rax
mov rax, qword [0x140007040]
mov edx, 5
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
nop
add rsp, 0xb0
pop rbp
ret

Function at 0x14000181f
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call dbg.__main
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.cOverlay
mov r9d, 0
mov r8d, 0
lea rax, [sym.hMouse]
mov rdx, rax
mov ecx, 0xe
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [0x140007030], rax
mov r9d, 0
mov r8d, 0
lea rax, [sym.hKeyboard]
mov rdx, rax
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [0x140007038], rax
mov rax, qword [0x140007030]
test rax, rax
je 0x1400018b8
mov rax, qword [0x140007038]
test rax, rax
jne 0x1400018c2
mov eax, 0xffffffff
jmp 0x140001965
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [sym.hAlt]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
jmp 0x140001915
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_TranslateMessage]
call rax
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DispatchMessageA]
call rax
lea rax, [rbp - 0x40]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
call rax
test eax, eax
jne 0x1400018f5
mov rax, qword [0x140007030]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call rax
mov rax, qword [0x140007038]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call rax
mov eax, 0
add rsp, 0x70
pop rbp
ret
Function at 0x140001c30
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070b4]
mov rbx, rcx
test esi, esi
jle 0x140001dd0
mov rax, qword [0x1400070b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001ceb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001d75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001cd0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001df2
mov rax, qword [0x1400070b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001dd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001d6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001d80
add dword [0x1400070b4], 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 [0x1400070b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001cf8
mov rax, qword [0x1400070b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400023a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140002404
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400023fb
test eax, eax
jne 0x1400023fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400023e0
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 0x140002640
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002658
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002660
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002670
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400026bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400026b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400026bf
add rax, 0x28
cmp rax, r9
jne 0x1400026a0
xor eax, eax
ret

Function at 0x1400026c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002750
mov rdx, qword [0x140004380]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000273e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000273e
cmp word [rax + 0x18], 0x20b
jne 0x14000273e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002750
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002729
add rbx, 0x28
cmp rbx, rdi
je 0x140002750
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002720
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x140004380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002780
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002788
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002780
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400027dd
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 0x1400027d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002780
add rax, 0x28
cmp rax, r9
jne 0x1400027c0
xor eax, eax
ret

Function at 0x1400027e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400027ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002808
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400027ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002820
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004380]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002840
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002848
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002840
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002898
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000288f
test rcx, rcx
je 0x140002840
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002880
xor eax, eax
ret

Function at 0x1400028a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400028bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x140004380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002900
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002908
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002900
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002900
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002954
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002960
add rdx, 0x28
cmp r9, rdx
jne 0x140002940
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004380]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002992
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400029a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002992
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002992
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002992
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400029f5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002a08
add rdx, 0x28
cmp r10, rdx
jne 0x1400029e0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002a17
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002a27
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400029fe
test ecx, ecx
jg 0x140002a10
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003e40
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140003ed0
jmp 0x140003ebf
jae 0x140003f90
cmp r8, 0x201
jae 0x140003ed0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003f28
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140003eff
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001b970
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140003f51
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140003ff8
mov r8d, r14d
cmp r15, r8
jne 0x140003eb0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000401b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003ebf
jmp 0x140003ed0
cmp rsi, r8
jb 0x140004035
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400065f0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140003fe1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400012c0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140003fc9
jmp 0x140003fe1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_e4c14468460b22ac7a289a422fb7fee606e12a0blibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001c410
jmp 0x14000404a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001c860
ud2
Function at 0x140006e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
movzx ebp, byte [rdx + 0x38]
cmp bpl, 1
ja 0x140006ead
movzx ebx, byte [rdi + 0x3a]
mov rcx, rdi
call fcn.140006d30
test bpl, bpl
jne 0x140006eb1
lea rcx, [rdi + 0x10]
xor r8d, r8d
cmp byte [rdi + 0x10], 6
cmove rcx, r8
je case.0x140006ea1.2
movzx edx, byte [rcx]
mov r8d, 6
lea r9, [0x140007024]
movsxd rdx, dword [r9 + rdx*4]
add rdx, r9
jmp rdx
mov r8, qword [rcx + 0x10]
add r8, 4
jmp case.0x140006ea1.2
xor eax, eax
xor ebx, ebx
xor r8d, r8d
movzx r10d, bl
movzx ebx, al
lea rcx, [r10 + rbx]
add rcx, r8
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140007008
mov r11, qword [rdi]
lea rax, [r11 + rcx]
cmp rdx, rcx
jne 0x140006ee8
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140006f69
movzx r9d, byte [rdi + 0x10]
add r8, rbx
add r8, r10
sub r8, rdx
inc r8
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140006f30
nop dword [rax]
cmp byte [rdi], 0x5c
je 0x140006f4b
inc r8
dec rdi
cmp r8, 1
jne 0x140006f10
jmp 0x140006f69
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140006f4b
cmp ebx, 0x5c
je 0x140006f4b
inc r8
dec rdi
cmp r8, 1
jne 0x140006f30
jmp 0x140006f69
neg r8
add rcx, r8
inc rcx
cmp rdx, rcx
jb 0x140007016
add r11, rcx
mov r10d, 1
mov rax, r11
sub rdx, rcx
je 0x140006f92
mov cl, 9
cmp rdx, 2
je 0x140006f96
cmp rdx, 1
jne 0x140006fa5
cmp byte [rax], 0x2e
jne 0x140006fa5
xor ecx, ecx
cmp r9b, 3
setae cl
lea ecx, [rcx + rcx*2]
add ecx, 7
jmp 0x140006fa5
mov cl, 0xa
jmp 0x140006fa5
cmp byte [rax], 0x2e
jne 0x140006fa5
cmp byte [rax + 1], 0x2e
sete cl
xor cl, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], cl
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 8
jmp case.0x140006ea1.2
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
lea r8, [rcx + 1]
test rcx, rcx
cmove r8, rcx
add r8, rdx
add r8, 2
jmp case.0x140006ea1.2
mov r8d, 2
jmp case.0x140006ea1.2
lea r8, str.library_std_srcpath.rs
call fcn.14001c7e0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14001c7e0
ud2