joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400070e8
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, [0x140008e65]
call sub.msvcrt.dll_getenv
jmp 0x140007223
lea rcx, [0x140008e69]
lea rdx, [0x140008e61]
mov r8, rax
mov rax, qword [str.fegas]
call rax
mov rsi, rax
lea rdi, [0x140008e69]
lea r12, [0x140007cb2]
push r12
push rbp
mov rbp, rsp
sub rsp, 0x150
mov edx, dword [rbp - 0xa5]
mov qword [rbp - 0x123], r9
test qword [0x140008009], rax
je 0x140007283
mov r10, qword [rbp - 1]
mov word [rbp - 0xcb], dx
add word [rbp - 0xf0], cx
mov dword [rbp - 0xd9], ecx
mov ah, ah
cmp ecx, 0xca209348
jmp 0x1400072b5
cmp rcx, rdx
je 0x1400072ba
mov qword [rbp - 0x118], rdx
mov r11, qword [rbp - 0x6e]
mov r10, r9
mov ecx, dword [rbp - 0x13]
and rcx, qword [rbp - 0xc2]
mov dword [rbp - 0x2a], edx
test qword [0x140008008], rcx
je 0x1400072e5
mov qword [str.Tz_afwybBplwzw_M_LByfg], rax
mov qword [rbp - 0xc4], r8
mov qword [0x14000800c], rcx
mov cl, byte [rbp - 0x8c]
mov qword [0x140008003], rcx
mov edx, dword [rbp - 4]
cmp rax, rcx
jo 0x14000731d
movzx edx, ch
mov qword [rbp - 0xe], r11
and rcx, 0x7d9e
or r11, qword [0x14000800e]
mov dword [rbp - 0x38], eax
mov rax, qword [0x14000800f]
mov eax, dword [rbp - 0x74]
cmp eax, dword [0x14000800c]
jo 0x140007342
sub ecx, dword [rbp - 0x123]
xor edx, 0x9479
mov qword [rbp - 0x7e], r11
mov edx, dword [0x140008002]
movzx ecx, ch
test ecx, 0xd1a1ea4e
jne 0x140007373
add qword [rbp - 0xf3], rcx
mov qword [rbp - 0xef], rax
sub qword [rbp - 0xb1], r9
or r10, qword [rbp - 0xe4]
mov qword [rbp - 0x16], r9
mov dword [rbp - 0xa3], eax
mov dword [rbp - 0x143], edx
mov rax, qword [rbp - 0xba]
mov rdx, r8
mov qword [rbp - 0x30], r11
or ecx, dword [rbp - 0x11b]
mov dword [rbp - 0x24], ecx
push rax
add ecx, 0x19a4
mov qword [rbp - 0xc7], r11
mov qword [rbp - 0x14c], rax
mov ecx, ecx
mov rax, 0xf31d
mov dword [rbp - 0x105], ecx
movzx edx, al
mov qword [rbp - 0x36], rcx
mov dword [rbp - 0x35], eax
and qword [rbp - 0xbc], r11
mov dword [rbp - 0x131], edx
add r10, 0xb52e
sub r8, qword [rbp - 0xa7]
mov rcx, r10
sub dword [rbp - 0x2b], eax
mov qword [rbp - 0x2f], r10
add edx, dword [rbp - 0x102]
mov edx, edx
mov qword [rbp - 0xbd], r11
or qword [rbp - 0x90], rax
mov dword [rbp - 0xf5], ecx
mov rcx, qword [rbp - 0xd5]
mov ecx, ecx
sub eax, eax
sub ecx, dword [rbp - 0x14e]
mov rdx, qword [rbp - 0x5e]
mov ecx, dword [rbp - 0xbf]
and ecx, 0x216
add r8, rdx
sub rcx, 0x297c
mov r11, rcx
cmp ecx, dword [0x140008003]
je 0x140007457
mov edx, 0x464a
sub rcx, qword [rbp - 0xe0]
call fcn.140007534
or r10, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x145]
mov r11, qword [rbp - 0x19]
call fcn.140007463
pop rax
leave
ret
Function at 0x140005a90
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 [0x140015240]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400079c0
test rax, rax
je 0x140005ae4
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 0x140005b79
mov ecx, 2
call fcn.140008760
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400075c0
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 0x140005b65
test ebx, ebx
jne 0x140005b65
lea ecx, [rax + 2]
call fcn.140008760
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 0x140005ba0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x140015240]
call fcn.1400079c0
test rax, rax
je 0x140005bd5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.140008760
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400075c0
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 0x140005c5e
test ebx, ebx
jne 0x140005c5e
lea ecx, [rax + 2]
call fcn.140008760
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x140007757
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400141f0]
jne 0x1400056da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400056d6
repz ret
ror rcx, 0x10
jmp 0x1400076b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140015390]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140015488]
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 0x140007735
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, [0x140015390]
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 0x140007757
mov rax, qword [rsp + 0x88]
mov qword [0x140015488], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140015428], rax
mov rax, qword [0x140015488]
mov qword [0x140015300], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140015410], rax
mov dword [0x1400152f0], 0xc0000409
mov dword [0x1400152f4], 1
mov rax, qword [0x1400141f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400141f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140015388], eax
mov ecx, 1
call fcn.140008760
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000f598]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140015388], 0
jne 0x1400077de
mov ecx, 1
call fcn.140008760
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 0x140008380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140014210]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x1400083be
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x1400083a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x1400085a5
mov ecx, 3
call fcn.14000cdf0
cmp eax, 1
je 0x14000855c
mov ecx, 3
call fcn.14000cdf0
test eax, eax
jne 0x1400083f5
cmp dword [0x140014070], 1
je 0x14000855c
cmp edi, 0xfc
je 0x1400085a5
mov qword [rsp + 0x50], rbp
lea rbp, [0x140015870]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1400092d0
test eax, eax
je 0x140008439
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400059f0
lea rdx, [0x140015889]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14001598d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140008489
lea r8, str._program_name_unknown_
lea rcx, [0x140015889]
mov edx, 0x2fb
call fcn.1400092d0
test eax, eax
je 0x140008489
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400059f0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140015889]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1400084d8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140015b84]
lea r9d, [rax + 3]
lea r8, [0x14000fb94]
sub rdx, rcx
call fcn.14000ccd0
test eax, eax
je 0x1400084d8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400059f0
lea r8, [0x14000fb90]
mov edx, 0x314
mov rcx, rbp
call fcn.14000cc10
test eax, eax
je 0x140008504
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400059f0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14000cc10
test eax, eax
je 0x140008534
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400059f0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14000c9b0
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 0x1400085a5
cmp rax, 0xffffffffffffffff
je 0x1400085a5
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 0x1400085c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14000cdf0
cmp eax, 1
je 0x1400085f2
mov ecx, 3
call fcn.14000cdf0
test eax, eax
jne 0x1400086a6
cmp dword [0x140014070], 1
jne 0x1400086a6
mov qword [rsp + 0x48], rbx
lea rbx, [0x140014210]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x14000861e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140008608
jmp 0x140008692
cmp edi, 0x17
jae 0x140008692
mov ecx, 3
call fcn.14000cdf0
cmp eax, 1
je 0x140008649
mov ecx, 3
call fcn.14000cdf0
test eax, eax
jne 0x140008692
cmp dword [0x140014070], 1
jne 0x140008692
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140008692
cmp rax, 0xffffffffffffffff
je 0x140008692
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.140008380
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400099c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x140015f38]
test eax, eax
jne 0x140009a13
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400099f3
mov dword [0x140015f38], 1
jmp 0x140009a2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140009a0d
mov dword [0x140015f38], 2
jmp 0x140009b09
mov eax, dword [0x140015f38]
cmp eax, 1
jne 0x140009b00
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140009b53
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140009a55
add rbx, 2
cmp word [rbx], 0
jne 0x140009a41
add rbx, 2
cmp word [rbx], 0
jne 0x140009a41
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 0x140009af3
mov rcx, rbp
call fcn.140007fe0
test rax, rax
mov rsi, rax
je 0x140009af3
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 0x140009acd
mov rcx, rsi
call fcn.1400063f0
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 0x140009ad9
cmp eax, 2
je 0x140009b09
test eax, eax
jne 0x140009b53
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140009b53
cmp byte [rax], 0
je 0x140009b32
nop
add rax, 1
cmp byte [rax], 0
jne 0x140009b20
add rax, 1
cmp byte [rax], 0
jne 0x140009b20
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.140007fe0
test rax, rax
mov rdi, rax
jne 0x140009b65
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.140007270
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 0x14000c9b0
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.1400078d0
xor ebx, ebx
cmp qword [0x140015f80], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14000cadc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14000cbef
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cbef
mov rcx, rax
call fcn.140007800
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140015f80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007800
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140015f88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007800
lea rcx, [rsp + 0x98]
mov qword [0x140015f90], rax
call fcn.140005d60
test eax, eax
je 0x14000ca8f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400059f0
cmp dword [rsp + 0x98], 2
jne 0x14000cadc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007800
test rax, rax
mov qword [0x140015fa0], rax
je 0x14000cadc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007800
mov qword [0x140015f98], rax
mov rcx, qword [0x140015f98]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14000cb88
cmp qword [0x140015fa0], rbp
je 0x14000cb88
call fcn.1400079c0
mov rcx, qword [0x140015fa0]
mov rsi, rax
call fcn.1400079c0
test rsi, rsi
mov r12, rax
je 0x14000cb88
test rax, rax
je 0x14000cb88
call rsi
test rax, rax
je 0x14000cb53
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 0x14000cb53
test byte [rsp + 0x40], 1
jne 0x14000cb88
lea rcx, [rsp + 0x30]
call fcn.140005db0
test eax, eax
je 0x14000cb75
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400059f0
cmp dword [rsp + 0x30], 4
jb 0x14000cb82
bts edi, 0x15
jmp 0x14000cbc6
bts edi, 0x12
jmp 0x14000cbc6
mov rcx, qword [0x140015f88]
cmp rcx, rbp
je 0x14000cbc6
call fcn.1400079c0
test rax, rax
je 0x14000cbc6
call rax
test rax, rax
mov rbx, rax
je 0x14000cbc6
mov rcx, qword [0x140015f90]
cmp rcx, rbp
je 0x14000cbc6
call fcn.1400079c0
test rax, rax
je 0x14000cbc6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140015f80]
call fcn.1400079c0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14000cbef
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000cbf1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e2a0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400141f0]
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 0x14000e2e7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400056c0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14000e1a0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400056c0
add rsp, 0x38
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013110
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 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014480
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014493
xor al, al
jmp 0x140014501
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 0x1400144bd
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144d1
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144e3
xor al, al
jmp 0x140014501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144ff
xor al, al
jmp 0x140014501
mov al, 1
add rsp, 0x38
ret
Function at 0x1400031f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000324d
lea rbx, [0x1400c3890]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003234
cmp r10, 2
jb 0x140003234
cmp byte [r9], r8b
jne 0x140003234
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003210
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000328f
lea rbx, [0x1400c3890]
cmp r8b, 0x23
jne 0x140003273
cmp byte [r9], r8b
jne 0x140003273
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003260
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400033d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400033ea
mov qword [r8], 0
lea rdx, [0x1400c33f8]
call fcn.1400032a0
mov rbx, rax
test rax, rax
jne 0x14000340a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400034e3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400034e3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400034e3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400034e3
cmp rdi, 0xffffffffffffffff
je 0x1400034e3
mov rax, qword [0x1401cf3c0]
test rax, rax
je 0x140003480
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400034e3
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]
mov rcx, rbx
cmp rax, rdi
je 0x1400034d0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cf3c0]
test rax, rax
je 0x1400034c5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400034ec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400034de
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400034ee
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400064a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400c3890]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140006534
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400190d0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140006550
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x1400c3890]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret