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

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7d8710
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7d8720
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7d8761
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7d8758
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d8763
add rax, 0x28
cmp rax, r9
jne 0x6d7d8744
xor eax, eax
ret

Function at 0x6d7d8800
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d886d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d886d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d886d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d8864
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d886f
add rax, 0x28
cmp rax, r9
jne 0x6d7d8850
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d8970
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f51f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d8990
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d8988
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d89ed
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d89e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d89f4
add rax, 0x28
cmp rax, r9
jne 0x6d7d89d0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d8a10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f51f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d8a7e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d8a7e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d8a7e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d8a7e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7d8a75
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d8a85
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d8a60
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d8a98
jmp 0x6d7d8a7e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d8aa6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d8a7e
test r9d, r9d
jg 0x6d7d8a90
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d8de0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001330
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x94
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000138e
cmp dword [0x14000f7f0], 2
je 0x140001370
call fcn.140001e20
mov ecx, 0x12
call fcn.140001be0
mov ecx, 0xff
call fcn.1400017e0
mov eax, 0xff
jmp 0x140001596
mov dword [rax], 0x94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1400013bf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0xff
jmp 0x140001596
mov r13d, dword [rbx + 0x10]
mov esi, dword [rbx + 4]
mov r12d, dword [rbx + 8]
mov edi, dword [rbx + 0xc]
and edi, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r13d, 2
je 0x1400013f1
bts edi, 0xf
mov eax, esi
shl eax, 8
add eax, r12d
mov dword [0x14000fd74], r13d
mov dword [0x14000fd7c], eax
mov dword [0x14000fd80], esi
mov dword [0x14000fd84], r12d
mov dword [0x14000fd78], edi
cmp word [0x140000000], 0x5a4d
jne 0x140001477
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x140001445
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000147d
cmp word [rax + 0x18], 0x20b
je 0x140001455
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000147d
cmp dword [rax + 0x84], 0xe
ja 0x140001466
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000147d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x50], ebx
jmp 0x14000147d
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov ecx, 1
call fcn.1400034f0
test eax, eax
jne 0x1400014ad
cmp dword [0x14000f7f0], 2
je 0x140001499
call fcn.140001e20
mov ecx, 0x1c
call fcn.140001be0
mov ecx, 0xff
call fcn.1400017e0
call fcn.1400033d0
test eax, eax
jne 0x1400014d8
cmp dword [0x14000f7f0], 2
je 0x1400014c4
call fcn.140001e20
mov ecx, 0x10
call fcn.140001be0
mov ecx, 0xff
call fcn.1400017e0
call fcn.140002c90
nop
call fcn.140002960
test eax, eax
jns 0x1400014f1
mov ecx, 0x1b
call fcn.1400017b0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x140011eb8], rax
call fcn.140002790
mov qword [0x14000f7e0], rax
call fcn.140002680
test eax, eax
jns 0x14000151d
mov ecx, 8
call fcn.1400017b0
call fcn.1400022f0
test eax, eax
jns 0x140001530
mov ecx, 9
call fcn.1400017b0
mov ecx, 1
call fcn.140001920
test eax, eax
je 0x140001545
mov ecx, eax
call fcn.1400017b0
mov r8, qword [0x14000fda0]
mov qword [0x14000fda8], r8
mov rdx, qword [0x14000fd90]
mov ecx, dword [0x14000fd88]
call fcn.140001000
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140001576
mov ecx, eax
call fcn.140001b30
call fcn.140001b50
jmp 0x140001594
mov eax, edi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
sub rsp, 0x28
call fcn.140189000
add rsp, 0x28
jmp 0x140001330
Function at 0x140001697
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x14000132a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001326
repz ret
ror rcx, 0x10
jmp 0x1400015f0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f8a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000f998]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001675
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f8a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001697
mov rax, qword [rsp + 0x88]
mov qword [0x14000f998], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f938], rax
mov rax, qword [0x14000f998]
mov qword [0x14000f810], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f920], rax
mov dword [0x14000f800], 0xc0000409
mov dword [0x14000f804], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f898], eax
mov ecx, 1
call fcn.140003610
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a340]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f898], 0
jne 0x14000171e
mov ecx, 1
call fcn.140003610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14000e020]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140001c1e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140001c00
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140001e05
mov ecx, 3
call fcn.140004890
cmp eax, 1
je 0x140001dbc
mov ecx, 3
call fcn.140004890
test eax, eax
jne 0x140001c55
cmp dword [0x14000e010], 1
je 0x140001dbc
cmp edi, 0xfc
je 0x140001e05
mov qword [rsp + 0x50], rbp
lea rbp, [0x14000fde0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1400047e0
test eax, eax
je 0x140001c99
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003940
lea rdx, [0x14000fdf9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14000fefd], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140001ce9
lea r8, str._program_name_unknown_
lea rcx, [0x14000fdf9]
mov edx, 0x2fb
call fcn.1400047e0
test eax, eax
je 0x140001ce9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003940
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14000fdf9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140001d38
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1400100f4]
lea r9d, [rax + 3]
lea r8, [0x14000a924]
sub rdx, rcx
call fcn.1400046c0
test eax, eax
je 0x140001d38
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003940
lea r8, [0x14000a920]
mov edx, 0x314
mov rcx, rbp
call fcn.140004600
test eax, eax
je 0x140001d64
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003940
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140004600
test eax, eax
je 0x140001d94
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003940
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1400043a0
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140001e05
cmp rax, 0xffffffffffffffff
je 0x140001e05
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140001e20
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140004890
cmp eax, 1
je 0x140001e52
mov ecx, 3
call fcn.140004890
test eax, eax
jne 0x140001f06
cmp dword [0x14000e010], 1
jne 0x140001f06
mov qword [rsp + 0x48], rbx
lea rbx, [0x14000e020]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140001e7e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140001e68
jmp 0x140001ef2
cmp edi, 0x17
jae 0x140001ef2
mov ecx, 3
call fcn.140004890
cmp eax, 1
je 0x140001ea9
mov ecx, 3
call fcn.140004890
test eax, eax
jne 0x140001ef2
cmp dword [0x14000e010], 1
jne 0x140001ef2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140001ef2
cmp rax, 0xffffffffffffffff
je 0x140001ef2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140001be0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140002790
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x140010208]
test eax, eax
jne 0x1400027e3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400027c3
mov dword [0x140010208], 1
jmp 0x1400027fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400027dd
mov dword [0x140010208], 2
jmp 0x1400028d9
mov eax, dword [0x140010208]
cmp eax, 1
jne 0x1400028d0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140002923
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140002825
add rbx, 2
cmp word [rbx], 0
jne 0x140002811
add rbx, 2
cmp word [rbx], 0
jne 0x140002811
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x1400028c3
mov rcx, rbp
call fcn.1400049c0
test rax, rax
mov rsi, rax
je 0x1400028c3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14000289d
mov rcx, rsi
call fcn.140004970
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400028a9
cmp eax, 2
je 0x1400028d9
test eax, eax
jne 0x140002923
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140002923
cmp byte [rax], 0
je 0x140002902
nop
add rax, 1
cmp byte [rax], 0
jne 0x1400028f0
add rax, 1
cmp byte [rax], 0
jne 0x1400028f0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1400049c0
test rax, rax
mov rdi, rax
jne 0x140002935
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140005700
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1400039e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140010450]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140002ed0
test rax, rax
je 0x140003a34
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140003ac9
mov ecx, 2
call fcn.140003610
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140005ee0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140003ab5
test ebx, ebx
jne 0x140003ab5
lea ecx, [rax + 2]
call fcn.140003610
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400043a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002de0
xor ebx, ebx
cmp qword [0x1400104a8], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400044cc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400045df
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400045df
mov rcx, rax
call fcn.140002d10
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400104a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d10
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400104b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d10
lea rcx, [rsp + 0x98]
mov qword [0x1400104b8], rax
call fcn.140001880
test eax, eax
je 0x14000447f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140003940
cmp dword [rsp + 0x98], 2
jne 0x1400044cc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d10
test rax, rax
mov qword [0x1400104c8], rax
je 0x1400044cc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d10
mov qword [0x1400104c0], rax
mov rcx, qword [0x1400104c0]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140004578
cmp qword [0x1400104c8], rbp
je 0x140004578
call fcn.140002ed0
mov rcx, qword [0x1400104c8]
mov rsi, rax
call fcn.140002ed0
test rsi, rsi
mov r12, rax
je 0x140004578
test rax, rax
je 0x140004578
call rsi
test rax, rax
je 0x140004543
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140004543
test byte [rsp + 0x40], 1
jne 0x140004578
lea rcx, [rsp + 0x30]
call fcn.1400018d0
test eax, eax
je 0x140004565
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140003940
cmp dword [rsp + 0x30], 4
jb 0x140004572
bts edi, 0x15
jmp 0x1400045b6
bts edi, 0x12
jmp 0x1400045b6
mov rcx, qword [0x1400104b0]
cmp rcx, rbp
je 0x1400045b6
call fcn.140002ed0
test rax, rax
je 0x1400045b6
call rax
test rax, rax
mov rbx, rax
je 0x1400045b6
mov rcx, qword [0x1400104b8]
cmp rcx, rbp
je 0x1400045b6
call fcn.140002ed0
test rax, rax
je 0x1400045b6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400104a8]
call fcn.140002ed0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400045df
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400045e1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007400
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140007447
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001310
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1400078c0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001310
add rsp, 0x38
ret
Function at 0x140009130
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x140009157
and qword [r8], 0
call fcn.14000923c
mov rbx, rax
test rax, rax
je 0x14000921f
mov rcx, rax
call fcn.1400090b8
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009216
mov rax, qword [0x140053cf8]
test rax, rax
je 0x14000918f
inc dword [rax + 0xf4]
mov rdx, qword [0x140053d08]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140009216
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x1400091ee
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140053cf8]
test rax, rax
je 0x1400091dc
dec dword [rax + 0xf4]
mov rdx, qword [0x140053d08]
mov rcx, rsi
call qword [0x140052008]
jmp 0x14000921f
test ebp, ebp
jle 0x140009200
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009211
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009221
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140009560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14000958e
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140044b30]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x14000956b
not r8d
mov eax, r8d
ret

Function at 0x140009598
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400095f2
mov r11b, 0x23
lea rdi, [0x140044b30]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400095dc
cmp rdx, 2
jb 0x1400095dc
cmp byte [r10], r11b
jne 0x1400095dc
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400095ba
jmp 0x140009633
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140009633
mov r11b, 0x23
lea rdi, [0x140044b30]
cmp dl, r11b
jne 0x140009617
cmp byte [r10], r11b
jne 0x140009617
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140009605
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000a9e8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000aa81
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000aa39
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015b80
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400152e4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140053d00]
movsxd r8, eax
mov rax, qword [rdi + 0x53f0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000aa89
mov rcx, rbx
call fcn.1400152e4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140010fc4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140053cf8]
mov rbx, rcx
and dword [rax + 0x537c], 0
test rcx, rcx
je 0x14001102d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140011038
lea rdx, [0x140045f58]
mov rcx, rbx
mov rdi, rax
call fcn.14000923c
mov rbx, rax
test rax, rax
je 0x14001102d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret