joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a43e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400cded0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400a4400
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400a4408
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400a4400
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400a4450
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400a4447
test rcx, rcx
je 0x1400a4400
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400a4438
xor eax, eax
ret

Function at 0x1400a4460
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400cded0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a44c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a44c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a44c0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400a44c0
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 0x1400a4514
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400a4520
add rdx, 0x28
cmp r9, rdx
jne 0x1400a4500
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400cded0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400a4552
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400a4560
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a4552
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400a4552
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400a4552
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 0x1400a45b5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400a45c8
add rdx, 0x28
cmp rdx, r10
jne 0x1400a45a0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400a45d7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400a45e7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a45be
test ecx, ecx
jg 0x1400a45d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001507
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rcx, qword [0x140027578]
test rcx, rcx
je 0x14000154f
mov rdi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rsi, [rsp + 0x24]
mov edx, 8
mov r8d, 0x40
mov r9, rsi
call rdi
mov qword [0x140027578], 0
mov r8d, dword [rsi]
mov edx, 8
xor ecx, ecx
mov r9, rsi
call rdi
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140001557
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rcx, [0x14001e608]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.VirtualAlloc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140027578], rax
lea rsi, [0x140027578]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdi, [rsp + 0x2c]
mov edx, 8
mov rcx, rsi
mov r8d, 0x40
mov r9, rdi
call rbx
lea rax, [0x1400014fd]
mov qword [0x140027578], rax
mov r8d, dword [rdi]
mov edx, 8
mov rcx, rsi
mov r9, rdi
call rbx
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140001f67
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x128
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov ecx, 0x100
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov rcx, rdi
call sub.msvcrt.dll_strlen
test rax, rax
js 0x140002030
mov rdi, rax
cmp rax, 0xf
ja 0x140001fce
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
add rdi, rsi
jmp 0x14000201d
mov rax, rdi
or rax, 0xf
cmp rax, 0x17
mov r14d, 0x16
cmovae r14, rax
lea rcx, [r14 + 1]
cmp r14, 0xfff
jb 0x140001ff7
call fcn.140002330
jmp 0x140001ffc
call fcn.14000c600
mov rbx, rax
mov qword [rsi], rax
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], r14
lea rdx, [rsp + 0x20]
mov rcx, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
add rdi, rbx
mov byte [rdi], 0
mov rax, rsi
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14000231f
int3
Function at 0x1400066a8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x84222325
sub r8, rdx
je 0x1400066cb
xor ecx, ecx
movzx r9d, byte [rdx + rcx]
xor r9d, eax
imul eax, r9d, 0x1b3
inc rcx
cmp r8, rcx
jne 0x1400066b4
ret

Function at 0x1400080c8
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x1400080f7
xor edi, edi
cmp ebp, 0x3d
je 0x1400080f7
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x140008118
bt r15, rcx
jb 0x140008125
mov rcx, rsi
call fcn.140007052
inc r14
jmp 0x140008107
cmp eax, ebp
jne 0x1400081d4
cmp ebp, 0x3a
jne 0x14000816b
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
shr r9d, 8
and r9d, 1
mov rdx, rbx
call fcn.1400078d6
test ax, ax
je 0x1400081db
lea rcx, [rsi + 0x40]
mov rdx, qword [rsi + 0x48]
mov r8d, eax
xor r9d, r9d
call fcn.140007af8
jmp 0x1400081b2
cmp ebp, 0x2e
je 0x14000818e
cmp ebp, 0x3d
jne 0x1400081b2
mov r8, qword [rsi]
cmp rbx, r8
je 0x1400081e5
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.1400081ee
jmp 0x1400081b2
mov r8, qword [rsi]
cmp rbx, r8
je 0x1400081e5
lea rcx, [rsi + 0x40]
mov rax, qword [rsi + 0x48]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r9, r14
call fcn.140008592
mov rcx, rsi
call fcn.140007052
cmp dword [rsi + 0x7c], 0x5d
jne 0x1400081d4
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140007052
mov ecx, edi
call fcn.14000d1f0
mov ecx, 1
call fcn.14000d1f0
xor ecx, ecx
call fcn.14000d1f0
int3
Function at 0x14000c26c
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 1
cmp dword [0x1400275c8], 0
jne 0x14000c423
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r10, qword [rcx + 0x30]
test r10, r10
je 0x14000c3a9
xor r9d, r9d
mov r8d, 0xdfdfdfdf
mov rdx, r10
movsxd r10, dword [r10 + 0x3c]
mov r11d, dword [r10 + rdx + 0x88]
test r11, r11
je 0x14000c2f2
mov r9d, dword [r11 + rdx + 0xc]
add r11, rdx
mov r10d, dword [r9 + rdx]
and r10d, r8d
cmp r10d, 0x4c44544e
jne 0x14000c2ef
mov r10d, dword [r9 + rdx + 4]
and r10d, r8d
mov r9, r11
cmp r10d, 0x4c440e4c
jne 0x14000c2f2
jmp 0x14000c30a
mov r9, r11
mov rcx, qword [rcx]
mov r10, qword [rcx + 0x30]
test r10, r10
jne 0x14000c2ad
mov r11, r9
test r9, r9
je 0x14000c3a9
mov r8d, dword [r11 + 0x18]
mov r9d, dword [r11 + 0x1c]
add r9, rdx
mov r10d, dword [r11 + 0x20]
add r10, rdx
mov r11d, dword [r11 + 0x24]
add r11, rdx
xor ecx, ecx
lea rsi, [0x1400275c8]
dec r8d
mov edi, dword [r10 + r8*4]
movzx ebx, word [rdi + rdx]
cmp ebx, 0x775a
jne 0x14000c396
add rdi, rdx
mov ebx, 0x75776791
mov ebp, 1
xor r14d, r14d
mov r15d, ebx
movzx r14d, word [r14 + rdi]
rol ebx, 0x18
add ebx, r14d
xor ebx, r15d
mov r14d, ebp
inc ebp
cmp byte [rdi + r14], 0
jne 0x14000c34f
mov edi, ecx
shl rdi, 4
mov dword [rdi + rsi + 8], ebx
movzx ebx, word [r11 + r8*2]
mov ebx, dword [r9 + rbx*4]
mov dword [rdi + rsi + 0xc], ebx
mov qword [rdi + rsi + 0x10], 0
inc ecx
cmp ecx, 0x258
je 0x14000c3ad
test r8, r8
jne 0x14000c32c
mov dword [0x1400275c8], ecx
mov edx, ecx
dec edx
jne 0x14000c3c1
jmp 0x14000c423
xor eax, eax
jmp 0x14000c423
mov dword [0x1400275c8], 0x258
mov ecx, 0x258
mov edx, 0x257
xor r8d, r8d
lea r9, [0x1400275e8]
mov r10d, edx
mov r10d, r10d
inc r8d
cmp ecx, r8d
je 0x14000c41b
mov esi, dword [0x1400275d4]
mov r11, r10
mov rdi, r9
mov ebx, dword [rdi - 4]
cmp esi, ebx
jbe 0x14000c410
mov ebp, dword [rdi - 0x18]
mov r14, qword [rdi - 0x10]
mov r15d, dword [rdi - 8]
mov dword [rdi - 0x18], r15d
mov dword [rdi - 0x14], ebx
mov rbx, qword [rdi]
mov qword [rdi - 0x10], rbx
mov dword [rdi - 8], ebp
mov dword [rdi - 4], esi
mov qword [rdi], r14
jmp 0x14000c412
mov esi, ebx
add rdi, 0x10
dec r11
jne 0x14000c3e5
dec r10d
cmp r8d, edx
jne 0x14000c3ce
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14000c5c0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8395cb5a
call fcn.14000c42c
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x14000e364
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 0x14000e392
xor eax, eax
jmp 0x14000e478
cmp qword [rcx + 0x68], 0
je 0x14000e3a3
call fcn.14000dae0
jmp 0x14000e478
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e3ba
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e3bc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e3ee
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.msvcrt.dll_memcpy
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 0x14000e472
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000e425
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 0x14000e44e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call sub.msvcrt.dll_fread
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000e472
cmp rsi, rbx
ja 0x14000e42c
test rsi, rsi
je 0x14000e472
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call sub.msvcrt.dll_fread
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 0x14000f7a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400111f0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.1400111f0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.1400111f0
mov ecx, dword [0x140029b60]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 8
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140015760
call fcn.1400111f0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x140013360
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400133bc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400133bc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400133bc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400133bc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400133bc
cmp dword [rcx + 0xf8], 0
je 0x1400133bc
mov ecx, ebx
call fcn.1400135d0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14002a6b0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140013750
cmp dword [rsp + 0x60], 0
jne 0x1400133ff
mov ecx, ebx
call fcn.140013650
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140013410
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140013472
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140013472
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140013472
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140013472
cmp dword [rdx + 0x84], 0xe
jbe 0x140013472
cmp dword [rdx + 0xf8], 0
je 0x140013472
mov ecx, ebx
call fcn.1400135d0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14002a6b0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140013750
cmp dword [rsp + 0x60], 0
jne 0x1400134b5
mov ecx, ebx
call fcn.140013650
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140013860
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140027240]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x1400138cc
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400138cc
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14001391f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x1400138b0
mov rcx, qword [0x14002a6b8]
test rcx, rcx
jne 0x140013902
call fcn.140016b30
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14002a6b8], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x140013a03
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x140013a05
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x140013a2a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x1400138cc
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400138cc
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400138cc
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x1400139f3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x1400139d1
jmp 0x1400138cc
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x1400138cc
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14000fc90
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140010440
int3
Function at 0x140014050
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140027240]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14001408c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.14000f798
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140014148
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400141ae
test ebx, ebx
jne 0x1400141ae
lea ecx, [rax + 2]
call fcn.14000f798
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14000fc90
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400074b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x20
movabs rdi, 0x30474a4145564153
mov eax, 0x113
mov qword [rbp + 0x38], rdi
mov word [rbp + 0x20], ax
test ecx, ecx
jne 0x1400075de
lea r8, [0x1400e6ce0]
lea rdx, str.save.dat
lea rcx, [rbp + 0x28]
call fcn.1400c2cd4
test eax, eax
je 0x14000756d
lea r8, [0x1400ecebc]
lea rdx, str.save.dat
lea rcx, [rbp + 0x30]
call fcn.1400c2cd4
test eax, eax
jne 0x140007682
mov r9, qword [rbp + 0x30]
lea ebx, [rax + 1]
mov r8d, ebx
lea edx, [rax + 8]
lea rcx, [rbp + 0x38]
call fcn.1400c3948
mov r9, qword [rbp + 0x30]
lea edx, [rbx + 1]
mov r8d, ebx
lea rcx, [rbp + 0x20]
call fcn.1400c3948
mov r9, qword [rbp + 0x30]
lea rcx, [0x140121f60]
mov r8d, ebx
mov edx, 0x118
call fcn.1400c3948
mov rcx, qword [rbp + 0x30]
call fcn.1400c2bb4
xor ecx, ecx
call fcn.1400074b0
add rsp, 0x20
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x28]
xor r8d, r8d
xor edx, edx
call fcn.1400c36f0
mov r9, qword [rbp + 0x28]
lea rcx, [rbp + 0x38]
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 7]
call fcn.1400c3c2c
cmp qword [rbp + 0x38], rdi
jne 0x1400076b2
mov r9, qword [rbp + 0x28]
lea edx, [rbx + 1]
mov r8d, ebx
lea rcx, [rbp + 0x20]
call fcn.1400c3c2c
movzx eax, word [rbp + 0x20]
mov ecx, 0x100
sub ax, cx
cmp ax, 0x13
ja 0x1400076eb
mov r9, qword [rbp + 0x28]
lea edx, [rcx + 0x18]
lea rcx, [0x140121f60]
mov r8d, ebx
call fcn.1400c3c2c
jmp 0x140007644
mov ebx, 1
cmp ecx, ebx
jne 0x140007565
lea r8, [0x1400ecebc]
lea rdx, str.save.dat
lea rcx, [rbp + 0x28]
call fcn.1400c2cd4
test eax, eax
jne 0x140007652
mov r9, qword [rbp + 0x28]
lea edx, [rbx + 7]
mov r8d, ebx
lea rcx, [rbp + 0x38]
call fcn.1400c3948
mov r9, qword [rbp + 0x28]
lea edx, [rbx + 1]
mov r8d, ebx
lea rcx, [rbp + 0x20]
call fcn.1400c3948
mov r9, qword [rbp + 0x28]
lea rcx, [0x140121f60]
mov r8d, ebx
mov edx, 0x118
call fcn.1400c3948
mov rcx, qword [rbp + 0x28]
call fcn.1400c2bb4
jmp 0x140007565
call fcn.140032278
mov rcx, rax
lea r8, [0x1400e6cc8]
mov r9d, pe_nt_image_headers64
lea rdx, [0x1400ecec0]
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.14004325c
or ecx, 0xffffffff
call fcn.1400c2b24
int3
call fcn.140032278
mov rcx, rax
lea r8, [0x1400e6cc8]
mov r9d, pe_nt_image_headers64
lea rdx, [0x1400ecec0]
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.14004325c
or ecx, 0xffffffff
call fcn.1400c2b24
int3
call fcn.140032278
mov rcx, rax
lea r8, [0x1400e6cc8]
mov r9d, pe_nt_image_headers64
lea rdx, [0x1400ecec0]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x28]
call fcn.1400c2bb4
call fcn.14004325c
or ecx, 0xffffffff
call fcn.1400c2b24
int3
call fcn.140032278
mov rcx, rax
lea r8, [0x1400e6cc8]
mov r9d, pe_nt_image_headers64
lea rdx, [0x1400ecec0]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x28]
call fcn.1400c2bb4
call fcn.14004325c
or ecx, 0xffffffff
call fcn.1400c2b24
int3