joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400526e0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rdi
mov rax, qword [0x1400980c0]
xor rax, rbp
mov qword [rbp + 0x70], rax
mov eax, dword [rsp]
xor ebx, ebx
mov dword [rbp], ebx
sub rsp, 0x10
lea r13, [rsp + 0x30]
mov eax, dword [r13]
lea r8d, [rbx + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005284c
mov r14, qword [rbp + 0x18]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x44]
lea rcx, [rbp]
call fcn.1400541e0
test eax, eax
je 0x14005277a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400530f0
mov ecx, dword [rbp]
cmp ecx, 2
jne 0x1400527c2
lea rcx, [0x140072e08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400527bf
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400527bf
lea rcx, [rbp + 4]
mov dword [rbp + 4], ebx
call rax
cmp eax, 1
jne 0x1400527bf
mov eax, dword [rbp + 4]
test eax, eax
cmovne ebx, eax
mov ecx, dword [rbp]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x1400527e7
add edx, edi
lea eax, [rdi + rdi]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r13
mov eax, SafeArrayGetLBound
mov r12d, edx
sub rbx, r12
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x14005284c
mov r9d, 4
mov r8d, 0x1000
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14005284c
lea r9, [rbp + 8]
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14005284c
mov eax, r15d
jmp 0x14005284e
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rbp
call fcn.140052650
mov rbx, qword [rbp + 0xb0]
mov rsi, qword [rbp + 0xb8]
mov rdi, qword [rbp + 0xc0]
lea rsp, [rbp + 0x80]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140053190
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 [0x140252280]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140056c40
test rax, rax
je 0x1400531e4
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 0x140053279
mov ecx, 2
call fcn.14005a5f0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400565d0
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 0x140053265
test ebx, ebx
jne 0x140053265
lea ecx, [rax + 2]
call fcn.14005a5f0
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 0x1400532a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x140252280]
call fcn.140056c40
test rax, rax
je 0x1400532d5
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.14005a5f0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400565d0
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 0x14005335e
test ebx, ebx
jne 0x14005335e
lea ecx, [rax + 2]
call fcn.14005a5f0
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 0x140057960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14005799e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140057980
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140057b85
mov ecx, 3
call fcn.140063230
cmp eax, 1
je 0x140057b3c
mov ecx, 3
call fcn.140063230
test eax, eax
jne 0x1400579d5
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x140057b3c
cmp edi, 0xfc
je 0x140057b85
mov qword [rsp + 0x50], rbp
lea rbp, [0x140252310]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140052bc0
test eax, eax
je 0x140057a19
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400530f0
lea rdx, [0x140252329]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14025242d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140057a69
lea r8, str._program_name_unknown_
lea rcx, [0x140252329]
mov edx, 0x2fb
call fcn.140052bc0
test eax, eax
je 0x140057a69
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400530f0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140252329]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140057ab8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140252624]
lea r9d, [rax + 3]
lea r8, [0x14006e274]
sub rdx, rcx
call fcn.140063110
test eax, eax
je 0x140057ab8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400530f0
lea r8, [0x14006e270]
mov edx, 0x314
mov rcx, rbp
call fcn.140055830
test eax, eax
je 0x140057ae4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400530f0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140055830
test eax, eax
je 0x140057b14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400530f0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140062eb0
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 0x140057b85
cmp rax, 0xffffffffffffffff
je 0x140057b85
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 0x140057ba0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140063230
cmp eax, 1
je 0x140057bd2
mov ecx, 3
call fcn.140063230
test eax, eax
jne 0x140057c86
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140057c86
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140057bfe
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140057be8
jmp 0x140057c72
cmp edi, 0x17
jae 0x140057c72
mov ecx, 3
call fcn.140063230
cmp eax, 1
je 0x140057c29
mov ecx, 3
call fcn.140063230
test eax, eax
jne 0x140057c72
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140057c72
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140057c72
cmp rax, 0xffffffffffffffff
je 0x140057c72
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.140057960
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x140057de7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400980c0]
jne 0x14005266a
rol rcx, 0x10
test cx, 0xffff
jne 0x140052666
repz ret
ror rcx, 0x10
jmp 0x140057d40
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402526e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1402527d8]
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 0x140057dc5
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, [0x1402526e0]
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 0x140057de7
mov rax, qword [rsp + 0x88]
mov qword [0x1402527d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140252778], rax
mov rax, qword [0x1402527d8]
mov qword [0x140252650], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140252760], rax
mov dword [0x140252640], 0xc0000409
mov dword [0x140252644], 1
mov rax, qword [0x1400980c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400980c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402526d8], eax
mov ecx, 1
call fcn.14005a5f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006e2b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402526d8], 0
jne 0x140057e6e
mov ecx, 1
call fcn.14005a5f0
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 0x14005fe20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x14025316c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x14005fe7c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14005fe5c
mov dword [0x14025316c], 1
jmp 0x14005fe8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14005fe76
mov dword [0x14025316c], 2
jmp 0x14005fef9
mov eax, dword [0x14025316c]
cmp eax, 1
jne 0x14005fef0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14005feca
cmp word [rdi], bp
mov rax, rdi
je 0x14005fea9
add rax, 2
cmp word [rax], bp
jne 0x14005fe97
add rax, 2
cmp word [rax], bp
jne 0x14005fe97
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.140057730
test rax, rax
mov rbx, rax
jne 0x14005fed1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14005ffeb
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400551d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x14005ffeb
cmp eax, 2
je 0x14005fef9
test eax, eax
jne 0x14005feca
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x14005feca
cmp byte [rax], bpl
mov rbx, rax
je 0x14005ff48
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14005feca
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x14005ff10
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.1400577a0
test rax, rax
mov r12, rax
jne 0x14005ff6d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14005ffeb
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x14005ffd5
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14005fffe
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x14005ff80
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.140052950
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14005ffe6
Function at 0x140062eb0
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.140056b50
xor ebx, ebx
cmp qword [0x140253178], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x140062fdc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400630ef
lea rdx, [0x14006e520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400630ef
mov rcx, rax
call fcn.140056a80
lea rdx, [0x14006e510]
mov rcx, rsi
mov qword [0x140253178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140056a80
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140253180], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140056a80
lea rcx, [rsp + 0x98]
mov qword [0x140253188], rax
call fcn.1400541e0
test eax, eax
je 0x140062f8f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400530f0
cmp dword [rsp + 0x98], 2
jne 0x140062fdc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140056a80
test rax, rax
mov qword [0x140253198], rax
je 0x140062fdc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140056a80
mov qword [0x140253190], rax
mov rcx, qword [0x140253190]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140063088
cmp qword [0x140253198], rbp
je 0x140063088
call fcn.140056c40
mov rcx, qword [0x140253198]
mov rsi, rax
call fcn.140056c40
test rsi, rsi
mov r12, rax
je 0x140063088
test rax, rax
je 0x140063088
call rsi
test rax, rax
je 0x140063053
lea rcx, [rsp + 0x34]
mov r9d, SafeArrayGetDim
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140063053
test byte [rsp + 0x40], 1
jne 0x140063088
lea rcx, [rsp + 0x30]
call fcn.140054230
test eax, eax
je 0x140063075
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400530f0
cmp dword [rsp + 0x30], 4
jb 0x140063082
bts edi, 0x15
jmp 0x1400630c6
bts edi, 0x12
jmp 0x1400630c6
mov rcx, qword [0x140253180]
cmp rcx, rbp
je 0x1400630c6
call fcn.140056c40
test rax, rax
je 0x1400630c6
call rax
test rax, rax
mov rbx, rax
je 0x1400630c6
mov rcx, qword [0x140253188]
cmp rcx, rbp
je 0x1400630c6
call fcn.140056c40
test rax, rax
je 0x1400630c6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140253178]
call fcn.140056c40
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400630ef
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400630f1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065ac0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400980c0]
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 0x140065b07
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052650
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140054a80
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140052650
add rsp, 0x38
ret
Function at 0x1400695c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
mov r14, rdx
mov rbp, rcx
je 0x140069674
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rax + rcx + 0x88]
mov esi, ebx
add rdi, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x14006966f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov r13, rbx
mov r12, rbx
nop
nop
mov eax, dword [rdi + 0x20]
mov rdx, r14
add rax, r13
mov ecx, dword [rax + rbp]
add rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14006963f
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r12
add rcx, rbp
movzx edx, word [rax + rbp]
mov ebx, dword [rcx + rdx*4]
add rbx, rbp
add esi, 1
add r13, 4
add r12, 2
cmp esi, dword [rdi + 0x18]
jb 0x140069610
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rax, rbx
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rax, rbx
jmp 0x14006965c
mov rax, rbx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x14032c501
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x40]
call fcn.14056b8ae
sahf
and eax, dword [rax]
xor byte [rdi - 0x72], al
wait
mov eax, 0xd820c1f7
rol dword [rcx - 0x659525ee], 0xd1
sub al, 0x10
mov esp, dword [rsp + 0xf]
xor eax, 0x20eaa4d4
mov es, word [rdx - 0x79115814]
je 0x14032c50c
cdq
mov dh, 0x83
int1
or al, 0x48
cmp edx, ebp
jmp 0x150072c6d

Function at 0x140387aa2
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x38]
call fcn.14056da9d
Function at 0x140011230
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400151e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015200
xor al, al
jmp 0x140015281
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015213
xor al, al
jmp 0x140015281
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 0x14001523d
xor al, al
jmp 0x140015281
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015251
xor al, al
jmp 0x140015281
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015263
xor al, al
jmp 0x140015281
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001527f
xor al, al
jmp 0x140015281
mov al, 1
add rsp, 0x38
ret
Function at 0x140011451
Capabilities:
Enumerate threads

Disassembly:
jmp 0x140012260
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x168]
mov rax, qword [0x140020128]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400260a6]
call fcn.1400113e3
mov qword [rbp + 8], 0
mov dword [rbp + 0x28], 0x1c
mov dword [rbp + 0x2c], 0
mov dword [rbp + 0x30], 0
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x38], 0
mov dword [rbp + 0x3c], 0
mov dword [rbp + 0x40], 0
mov edx, dword [rbp + 0x140]
mov ecx, 4
call fcn.1400111c7
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001230c
xor eax, eax
jmp 0x140012395
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140011285
test eax, eax
jne 0x14001232b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140012395
mov eax, dword [rbp + 0x140]
cmp dword [rbp + 0x34], eax
jne 0x14001236e
mov r8d, dword [rbp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, qword [rbp + 0x148]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
mov ecx, dword [rbp + 0x30]
mov dword [rax], ecx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140012395
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140011078
test eax, eax
jne 0x14001232b
cmp qword [rbp + 8], 0
je 0x140012390
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c5a0]
call fcn.140011375
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret