joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800082d0
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1800851e8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov r15, rcx
test rdx, rdx
jne 0x18000830d
xor al, al
jmp 0x180008523
cmp qword [rcx + 0x18], 0
ja 0x180008393
lea rcx, [rsp + 0x48]
call fcn.180007c90
mov rbx, rax
lea rdi, [r15 + 8]
cmp rdi, rax
je 0x180008351
mov rcx, rdi
call fcn.180003c70
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180008393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000838e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008543
call fcn.18001c898
lea rdi, [r15 + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov r15, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1800083ae
mov rdi, qword [rdi]
cmp r15, 8
jae 0x1800083c7
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], 7
jmp 0x18000840a
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.180003ce0
mov qword [rsp + 0x28], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.18003a700
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r15
mov r8d, 0xa
lea rdx, str.Software_
lea rcx, [rsp + 0x28]
call fcn.180003d50
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rbp + r8*2], 0
jne 0x180008430
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.180003d50
test r14, r14
je 0x180008488
mov r8d, 1
lea rdx, [0x1800602c4]
lea rcx, [rsp + 0x28]
call fcn.180003d50
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x180008470
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.180003d50
test rsi, rsi
je 0x1800084be
mov r8d, 1
lea rdx, [0x1800602c4]
lea rcx, [rsp + 0x28]
call fcn.180003d50
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1800084a4
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180003d50
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x180008521
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000851c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000853d
call fcn.18001c898
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18001c9b0
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18003e394
int3
call fcn.18003e394
int3
Function at 0x180013d10
Capabilities:
Check os version
Create thread
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800851e8]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx + 0x414], 0
jne 0x180013fa2
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x74]
call fcn.18003ab60
mov dword [rsp + 0x70], 0x11c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x74], 5
jg 0x180013f13
cmp dword [rsp + 0x78], 2
jg 0x180013f13
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.18003ab60
cmp qword [rbx + 0x18], 8
jb 0x180013dc2
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180013ca0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.18003ab60
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180013df0
mov rdx, qword [rdi]
lea rcx, [rbp + 0x180]
call fcn.180013ca0
cmp qword [rdi + 0x10], 0
jne 0x180013e15
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.180013fd0
jmp 0x180013fa2
movdqa xmm0, xmmword [0x1800602e0]
movdqu xmmword [rsp + 0x50], xmm0
xor eax, eax
mov word [rsp + 0x40], ax
lea rdx, [0x180060aac]
lea rcx, [rsp + 0x40]
call fcn.180008010
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180013e50
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180003d50
mov r8d, 2
lea rdx, [0x180060ab0]
lea rcx, [rsp + 0x40]
call fcn.180003d50
lea rax, [rbp + 0x180]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013e90
mov r8, rbx
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.180003d50
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.180013fd0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180013fa2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013f09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013fc9
call fcn.18001c898
jmp 0x180013fa2
mov byte [rsi + 0x414], 1
xor edx, edx
mov r8d, 0x104
mov rcx, rsi
call fcn.18003ab60
cmp qword [rbx + 0x18], 8
jb 0x180013f34
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.180013ca0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsi + 0x208]
call fcn.18003ab60
cmp qword [rdi + 0x18], 8
jb 0x180013f5d
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsi + 0x208]
call fcn.180013ca0
mov eax, dword [r14]
mov dword [rsi + 0x410], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, [0x180014070]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.18001c9b0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18003e394
int3
Function at 0x180013fd0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rbx, rdx
lea rcx, [rsp + 0x74]
xor edx, edx
lea r8d, [rdx + 0x64]
call fcn.18003ab60
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18001405c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe0
pop rbx
ret
Function at 0x180015d70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x180015e25
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x180015df1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180015e10
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015e10
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x180015e10
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x180088188], 0
jne 0x180015e70
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180015e60
lea rdx, [0x180061fd8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180088180], rax
mov byte [0x180088188], 1
jmp 0x180015e77
mov rax, qword [0x180088180]
mov byte [0x180088188], 1
jmp 0x180015e77
mov rax, qword [0x180088180]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x180015dfa
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x180017b10
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800851e8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov dword [rsp + 0x50], ebp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x48]
call fcn.1800175f0
mov ebx, eax
test eax, eax
jne 0x180017c27
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180017c01
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180017b10
mov ebx, eax
test eax, eax
jne 0x180017c27
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180017bb0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180017c16
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov dword [rsp + 0x50], ebp
mov rcx, rdi
call fcn.180015d70
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180017c37
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18001c9b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180018140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1800851e8]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800181ce
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800181ce
call fcn.1800159e0
mov ebx, eax
jmp 0x1800182f3
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1800181ef
call fcn.1800159e0
jmp 0x1800182e2
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180018212
call fcn.1800159e0
jmp 0x1800182e2
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180018234
mov ebx, 0x8007000e
jmp 0x1800182e4
mov ecx, eax
test eax, eax
je 0x180018269
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18001832b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180018269
lea rcx, [rsp + 0x70]
call fcn.1800158c0
jmp 0x180018273
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180018286
cmp qword [rsp + 0x70], 0
jne 0x180018295
mov ebx, 0x8007000e
jmp 0x1800182e4
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1800182bf
call fcn.1800159e0
jmp 0x1800182e2
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180017c60
mov ebx, eax
test rdi, rdi
je 0x1800182f3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18001830a
lea rcx, [rsp + 0x70]
call fcn.180015ee0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18001c9b0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180004080
int3
Function at 0x18001f054
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18001f067
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18001f674
lea rdx, [0x1800830f0]
lea rcx, [rsp + 0x20]
call fcn.18003b4ac
int3

Function at 0x18002add8
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1800894c8]
xor edx, edx
jmp fcn.18001f054

Function at 0x18002b770
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1800894c8]
jmp fcn.18001f054

Function at 0x1800373c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x18003747c]
mov r9, qword [r9 + 8]
jmp fcn.1800272ac

Function at 0x180037454
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x18003748c]
mov r9, qword [r9 + 8]
jmp fcn.1800272ac
Function at 0x1400010e6
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140009ebc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140009f49
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140009f49
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009f49
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140009f30
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140009f2a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140009f32
add rdx, 0x28
jmp 0x140009f0f
xor edx, edx
test rdx, rdx
jne 0x140009f3b
xor al, al
jmp 0x140009f4f
cmp dword [rdx + 0x24], 0
jge 0x140009f45
xor al, al
jmp 0x140009f4f
mov al, 1
jmp 0x140009f4f
xor al, al
jmp 0x140009f4f
add rsp, 0x18
ret

Function at 0x14000114a
Capabilities:
Terminate process

Disassembly:
jmp 0x1400092dc
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001195
Capabilities:
Terminate process

Disassembly:
jmp 0x140009b2c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.140001253
test al, al
je 0x1400099f7
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140001221
mov bl, al
mov ecx, dword [0x1400137f8]
cmp ecx, 1
je 0x140009a02
test ecx, ecx
jne 0x14000992d
mov dword [0x1400137f8], 1
lea rdx, [0x14000e660]
lea rcx, [0x14000e330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x14000990e
mov eax, 0xff
jmp 0x1400099e7
lea rdx, [0x14000e220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400137f8], 2
jmp 0x140009935
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.14000120d
call fcn.1400011cc
mov rbx, rax
cmp qword [rax], 0
je 0x140009968
mov rcx, rax
call fcn.1400010e6
test al, al
je 0x140009968
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14001c020]
call fcn.1400011ea
mov rbx, rax
cmp qword [rax], 0
je 0x14000998a
mov rcx, rax
call fcn.1400010e6
test al, al
je 0x14000998a
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000118b
mov ebx, eax
call fcn.14000119f
test al, al
je 0x140009a0c
test sil, sil
jne 0x1400099c1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010dc
mov eax, ebx
jmp 0x1400099e7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001217
nop
mov ecx, 7
call fcn.140001217
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400011b3
add rsp, 0x28
jmp 0x1400098a0

Function at 0x14000119f
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000a464
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a4ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a4ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a4ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a4ae
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a4ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000a4b0
xor al, al
add rsp, 0x28
ret

Function at 0x1400011ae
Capabilities:
Terminate process

Disassembly:
jmp 0x140008410
push rbx
sub rsp, 0x20
cmp dword [0x140013898], 0
mov rbx, rcx
mov ecx, 2
jle 0x140008448
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [0x140013898]
lea rdx, str.Error_on_line__d:__s_n
mov rcx, rax
mov r9, rbx
call fcn.14000122b
jmp 0x140008460
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error:__s_n
mov rcx, rax
call fcn.14000122b
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400022d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
movsx eax, byte [rcx]
cmp al, dl
je 0x14000230c
mov r9d, eax
movsx r8d, dl
mov edx, dword [0x140013898]
lea rax, [0x1400138c0]
lea rcx, str.Error_on_line__d:_Expected__c_but_found__d:_n_s_n
mov qword [rsp + 0x20], rax
call fcn.14000111d
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x38
ret

Function at 0x140002330
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, str.0123456789
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
cmp rax, rbx
je 0x140002374
movsx r8d, byte [rbx]
lea r9, [0x1400138c0]
mov edx, dword [0x140013898]
lea rcx, str.Error_on_line__d:_Expected_digit_but_found__c:_n_s_n
call fcn.14000111d
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140008410
Capabilities:
Terminate process

Disassembly:
jmp 0x140008410
push rbx
sub rsp, 0x20
cmp dword [0x140013898], 0
mov rbx, rcx
mov ecx, 2
jle 0x140008448
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [0x140013898]
lea rdx, str.Error_on_line__d:__s_n
mov rcx, rax
mov r9, rbx
call fcn.14000122b
jmp 0x140008460
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error:__s_n
mov rcx, rax
call fcn.14000122b
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14000a464
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000a464
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a4ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a4ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a4ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a4ae
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a4ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000a4b0
xor al, al
add rsp, 0x28
ret
Function at 0x1400017c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r15, rdx
mov rsi, rcx
sub r15, rcx
mov r9d, 4
mov qword [rsp + 0x38], r15
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [r15 + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140001800
sub r9, 1
jne 0x1400017f0
mov r15, qword [rsp + 0x40]
mov r12b, 1
lea r10, [0x14005e590]
mov r8, rsi
mov r9d, 4
nop
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r10]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
movzx eax, byte [rsi + 5]
movzx ecx, byte [rsi + 1]
mov byte [rsi + 1], al
movzx eax, byte [rsi + 9]
mov byte [rsi + 5], al
movzx eax, byte [rsi + 0xd]
mov byte [rsi + 9], al
movzx eax, byte [rsi + 0xa]
mov byte [rsi + 0xd], cl
movzx ecx, byte [rsi + 2]
mov byte [rsi + 2], al
movzx eax, byte [rsi + 0xe]
mov byte [rsi + 0xa], cl
movzx ecx, byte [rsi + 6]
mov byte [rsi + 6], al
movzx eax, byte [rsi + 0xf]
mov byte [rsi + 0xe], cl
movzx ecx, byte [rsi + 3]
mov byte [rsi + 3], al
movzx eax, byte [rsi + 0xb]
mov byte [rsi + 0xf], al
movzx eax, byte [rsi + 7]
mov byte [rsi + 0xb], al
mov byte [rsi + 7], cl
cmp r12b, 0xa
je 0x1400019ce
lea r14, [rsi + 2]
lea ebp, [rdx + 4]
nop dword [rax]
nop word [rax + rax]
movzx edi, byte [r14 - 2]
movzx r8d, byte [r14 - 1]
movzx edx, dil
movzx ebx, byte [r14 + 1]
xor dl, r8b
movzx r10d, byte [r14]
lea r14, [r14 + 4]
movzx eax, dl
movzx r9d, bl
shr al, 7
add dl, dl
movzx eax, al
xor r9b, r10b
imul ecx, eax, 0x1b
movzx r11d, r9b
xor r11b, dil
xor r11b, r8b
xor cl, dl
movzx edx, r8b
xor cl, dil
xor dl, r10b
xor cl, r11b
movzx eax, dl
mov byte [r14 - 6], cl
xor dil, bl
shr al, 7
add dl, dl
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, r9b
shr al, 7
add r9b, r9b
movzx eax, al
xor cl, dl
xor cl, r8b
xor cl, r11b
mov byte [r14 - 5], cl
imul ecx, eax, 0x1b
movzx eax, dil
shr al, 7
add dil, dil
movzx eax, al
xor cl, r9b
xor cl, r10b
xor cl, r11b
mov byte [r14 - 4], cl
imul ecx, eax, 0x1b
xor cl, dil
xor cl, bl
xor cl, r11b
mov byte [r14 - 3], cl
sub rbp, 1
jne 0x1400018d0
movzx r8d, r12b
lea r9d, [rbp + 4]
shl r8, 4
mov rax, rsi
sub r8, rsi
add r8, r15
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x1400019b0
sub r9, 1
jne 0x1400019a0
inc r12b
jmp 0x14000181e
mov r15, qword [rsp + 0x38]
mov edx, 4
nop dword [rax + rax]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [r15 + rsi + 0xa0]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x1400019f0
sub rdx, 1
jne 0x1400019e0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002cf8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140053150]
test rax, rax
je 0x14002cfd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002cfd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002cfd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002cfd6
cmp dword [rcx + 0x84], 0xe
jbe 0x14002cfd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002cfd8
xor al, al
add rsp, 0x28
ret

Function at 0x14003b200
Capabilities:
Parse pe header

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