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

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

Function at 0x14004c378
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14004c3b2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004c3b7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14004c400
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004e8c0]
cmp byte [rcx + rax], 0
je 0x14004c400
dec r8
sub rdx, 1
jne 0x14004c3e6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400396a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x68
xor r8d, r8d
mov dword [rax - 0x28], 0x8c668c65
mov dword [rax - 0x24], 0x8c608c15
mov edx, 0x73c7
mov dword [rax - 0x20], 0x8c798c6b
mov dword [rax - 0x1c], 0x8c1f8c74
mov dword [rax - 0x18], 0x8c728c06
mov dword [rax - 0x14], 0x8c758c7a
mov dword [rax - 0x10], 0x8c0d
mov byte [rax - 0xc], 1
mov eax, r8d
nop word [rax + rax]
movzx ecx, ax
sub cx, dx
xor word [rsp + rax*2 + 0x40], cx
inc rax
cmp rax, 0xd
jb 0x1400396f0
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rsp + 0x5c], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [0x140048050]
mov qword [0x1400e0718], rax
test rax, rax
je 0x14003974a
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x68
ret
add rsp, 0x68
ret
Function at 0x140042f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140042f20
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x1400461fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400480c0]
test rax, rax
je 0x140046246
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140046246
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140046246
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140046246
cmp dword [rcx + 0x84], 0xe
jbe 0x140046246
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140046248
xor al, al
add rsp, 0x28
ret
Function at 0x140003c04
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1800139f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1800111e5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180011d20
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rcx, [0x180022001]
call fcn.1800112fd
mov qword [rbp + 8], 0
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x124], 0
jmp 0x180011e18
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x124], eax
jae 0x180011ed6
mov eax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0xe8]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x144]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x1a8], 0
mov rcx, qword [rbp + 0x188]
call fcn.1800110af
mov dword [rbp + 0x1c4], eax
mov eax, dword [rbp + 0x2c8]
cmp dword [rbp + 0x1c4], eax
jne 0x180011ed1
mov eax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0x108]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0xc8]
mov eax, dword [rcx + rax*4]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
jmp 0x180011ed6
jmp 0x180011e0a
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013090
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400143e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014400
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014413
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001443d
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014451
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014463
xor al, al
jmp 0x140014481
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001447f
xor al, al
jmp 0x140014481
mov al, 1
add rsp, 0x38
ret
Function at 0x14001132f
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x1400117c0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400220a2]
call fcn.140011375
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x1b8]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x1b8]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x60], rax
mov eax, dword [rbp + 0x1b0]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x1b0]
mov dword [rbp + 0x5c], eax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x88], rax
lea rdx, str.SystemFunction032
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
mov rdx, qword [rbp + 0xa8]
lea rcx, str._n___Function_located_at_0x_p__n
call fcn.14001119a
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x28]
call qword [rbp + 0xa8]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400118c5
mov edx, dword [rbp + 4]
lea rcx, str.____SystemFunction032_FAILED_with_error_0x_0.8x_n
call fcn.14001119a
xor eax, eax
jmp 0x1400118ca
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001acc0]
call fcn.14001130c
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
pop rsi
adc edi, esi
invalid
Function at 0x140021140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140021174
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140021160
ret
Function at 0x140027bd0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140027c9c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140027c9c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140027cb5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140027c8c
cmp byte [rax], 0x5c
jne 0x140027c86
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140027c86
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140027c72
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140027c83
test r8b, 0x10
jne 0x140027c86
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140027c86
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400236b0
test edi, edi
jne 0x140027bf0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400236a0
int3

Function at 0x14002a420
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14002a4b8
test r8, r8
jle 0x14002a4b0
nop word [rax + rax]
mov rcx, rdi
call fcn.14001e640
test rax, rax
jle 0x14002a48e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.1400989a0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14002a4a8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, 0xffffffff
je 0x14002a4b0
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14002a450
sub r14, rbx
mov rax, r14
jmp 0x14002a536
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14002a4d1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002a4d3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14002a52b
test ecx, ecx
jle 0x14002a50c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1400989a0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14002a52b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002a52b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140083b90
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14002a550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002a581
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002a5fb
mov rdi, r14
mov rcx, rbx
call fcn.14001e660
test rax, rax
jle 0x14002a5d3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400989a0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002a5eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002a5f3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002a595
sub r14, rdi
jmp 0x14002a6df
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002a612
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002a614
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002a646
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400989a0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002a6dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002a681
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14002a6bd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140083e74
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002a6dc
cmp rbp, rax
ja 0x14002a690
test rbp, rbp
je 0x14002a6dc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140083e74
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002ab50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d30c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002ab7d
xor eax, eax
jmp 0x14002accb
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002abb7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002abb7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14002accb
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002acbe
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002abfa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002ac09
movsx ecx, dil
jmp 0x14002ac5d
lea r8, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x14002ac77
sub eax, 1
je 0x14002ac77
cmp eax, 2
jne 0x14002acbe
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.140082eec
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002acc3
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002aca4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140083b90
cmp rsi, rax
jne 0x14002acbe
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002acc3
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400743f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002f2b0
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400d6c40], 0
jne 0x14002f3a2
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400c13e8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400c13d8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400d6c40]
test eax, eax
js 0x14002f365
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400c13c8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14002f356
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400c13b8]
mov r9, rdi
lea rdx, [0x1400c13a8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14002f34b
mov rcx, qword [0x1400d6c40]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x14002f3a2
cmp qword [0x1400d6c40], 0
jne 0x14002f3a2
lea r9, [0x1400c13b8]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400c13a8]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14002f3af
mov rcx, qword [0x1400d6c40]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400c0cf8]
lea rdx, [0x1400c0d10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140030a20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140030a6c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140030aba
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140030ab5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140030ad9
mov rcx, r8
call fcn.140074410
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007b324
int3

Function at 0x140030ae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 7
jbe 0x140030b35
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140030b84
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140030b7f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140030ba3
mov rcx, r8
call fcn.140074410
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007b324
int3