joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007b80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1400110a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140007bf8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140007bf8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140007bf8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140007bf8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x140007bec
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140007c00
add rdx, 0x28
cmp rdx, r10
jne 0x140007bd8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140007c10
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x140007c1e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140007bf5
test r8d, r8d
jg 0x140007c08
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400218d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rax, rdx
mov rdi, rcx
jb 0x1400218ea
mov rax, qword [rdx]
lea rdx, [0x1401e7140]
mov rcx, rax
call fcn.140144eb4
mov rsi, rax
test rax, rax
jne 0x14002190c
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.140145384
mov rcx, rsi
call fcn.140144c80
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, rsi
call fcn.140145384
test ebx, ebx
jne 0x140021962
mov rcx, rsi
call fcn.140144fe4
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x140021950
mov qword [rdi + 8], rax
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rdi + 8]
mov rdx, rbx
sub rax, qword [rdi]
cmp rax, rbx
je 0x140021979
mov rcx, rdi
call fcn.1400153d0
mov rcx, qword [rdi]
mov r9, rsi
mov r8, qword [rdi + 8]
mov edx, 1
sub r8, rcx
call fcn.140145680
mov rcx, rsi
mov rbx, rax
call fcn.140144fe4
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
mov rsi, qword [rsp + 0x38]
cmp rbx, rcx
mov rbx, qword [rsp + 0x30]
sete al
add rsp, 0x20
pop rdi
ret
Function at 0x14003a9c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 1
jb 0x14003aa6b
cmp qword [rcx + 0x18], 0x10
jb 0x14003a9e9
mov rcx, qword [rcx]
lea rax, [0x1401ea370]
mov qword [rsp + 0x30], 1
mov r9, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
call fcn.14000ab70
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14003aa60
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa5b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003aa65
call fcn.140138d84
add rsp, 0x68
ret
call fcn.14013fad4
int3
call fcn.140001630
int3

Function at 0x14003b0f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14003b121
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14003b19b
mov rdi, r14
mov rcx, rbx
call fcn.140008430
test rax, rax
jle 0x14003b173
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14013b040
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003b18b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003b193
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14003b135
sub r14, rdi
jmp 0x14003b27f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14003b1b2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003b1b4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003b1e6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14013b040
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003b27c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003b221
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14003b25d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140145680
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003b27c
cmp rbp, rax
ja 0x14003b230
test rbp, rbp
je 0x14003b27c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140145680
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140073a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x50
movzx eax, byte [rsp + 0x80]
mov rbx, rcx
mov byte [rcx + 9], al
xor eax, eax
mov qword [rcx], rdx
mov byte [rcx + 8], r9b
mov word [rcx + 0xa], 0
mov dword [rcx + 0xc], r8d
mov dword [rcx + 0x10], 1
mov qword [rcx + 0x14], 0xff
mov dword [rcx + 0x1c], eax
cmp byte [rsp + 0x88], al
je 0x140073acd
mov dword [rsp + 0x3c], eax
lea rcx, [rdx + 0xe8]
movzx eax, byte [rbx + 9]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], r9b
mov r9d, r8d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x34], 0xff
call fcn.1400f10f0
movups xmm0, xmmword [rsp + 0x40]
mov rcx, qword [rbx]
movsxd rdx, dword [rbx + 0xc]
movups xmmword [rbx + 0x10], xmm0
mov byte [rbx + 0xa], 1
mov rax, qword [rcx + 0xf0]
bt rax, rdx
jb 0x140073acd
bts rax, rdx
mov qword [rcx + 0xf0], rax
mov byte [rbx + 0xb], 1
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x1400a0f70
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x14027fb1c], 0
movzx ebx, cl
jne 0x1400a105b
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.140125ef0
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x14027fa30], xmm0
movaps xmmword [0x14027fa40], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x14027fa60], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x14027fa80], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x14027fa50], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x14027fa70], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x14027fa90], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x14027faa0], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x14027fab0], xmm0
movsd qword [0x14027fac0], xmm1
mov dword [0x14027fb1c], 1
mov rax, rbx
lea rdx, [0x14027faa8]
shr rax, 6
mov ecx, ebx
mov rbx, qword [rsp + 0x100]
and ecx, 0x3f
mov rax, qword [rdx + rax*8]
shr rax, cl
and al, 1
add rsp, 0xf0
pop rbp
ret
Function at 0x1400f4780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and r8d, 0x3f
lea r10, [0x140000000]
mov r9d, dword [r10 + r8*4 + 0xf49f8]
add r9, r10
jmp r9
xor r9d, r9d
xor r8d, r8d
jmp fcn.14008af30
xor r9d, r9d
xor r8d, r8d
jmp fcn.14008b250
xor r9d, r9d
lea r8d, [r9 + 1]
jmp fcn.14008af30
xor r9d, r9d
lea r8d, [r9 + 1]
jmp fcn.14008b250
xor r8d, r8d
jmp fcn.140086b90
mov r8d, 1
jmp fcn.140086b90
add r8d, 0xfffffff6
jmp fcn.14008b8c0
xor r8d, r8d
jmp fcn.140086c80
mov r8d, 1
jmp fcn.140086c80
xor r8d, r8d
jmp fcn.14008bc50
mov r8d, 1
jmp fcn.14008bc50
mov rcx, qword [rcx + 0x18]
xor r8d, r8d
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 1
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 2
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 3
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 4
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 5
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 6
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
mov r8d, 7
jmp fcn.14009e860
mov rcx, qword [rcx + 0x18]
xor r8d, r8d
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 1
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 2
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 3
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 4
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 5
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 6
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
mov r8d, 7
jmp fcn.14009e930
mov rcx, qword [rcx + 0x18]
xor r8d, r8d
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 1
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 2
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 3
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 4
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 5
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 6
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8d, 7
jmp fcn.14009ea00
mov rcx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x270
jmp fcn.14009ead0
mov rcx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x26c
jmp fcn.14009ead0
mov rcx, qword [rcx + 0x18]
jmp fcn.14009fb50
mov rcx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x268
jmp fcn.14009ead0
jmp fcn.14008b880
mov rcx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x1cc
jmp fcn.14009ead0
mov rcx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x1dc
jmp fcn.14009ead0
jmp fcn.14008ba50
jmp fcn.14008bb50
mov rcx, qword [rcx + 0x18]
jmp fcn.1400a00d0
mov rcx, qword [rcx + 0x18]
jmp fcn.1400a0530
ret
Function at 0x1400f6360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r9, rcx
test r8b, 0x18
jne 0x1400f6376
mov rcx, qword [rcx + 0x18]
and r8d, 7
jmp fcn.14009ea00
add r8d, 0xfffffff6
cmp r8d, 0x15
ja case.0x1400f6399.11
mov eax, r8d
lea r8, [0x140000000]
mov ecx, dword [r8 + rax*4 + 0xf6434]
add rcx, r8
jmp rcx
mov rcx, qword [r9 + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x270
jmp fcn.14009ead0
mov rcx, qword [r9 + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x26c
jmp fcn.14009ead0
mov rcx, qword [r9 + 0x18]
jmp fcn.14009fb50
mov rcx, qword [r9 + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x268
jmp fcn.14009ead0
mov rcx, r9
jmp fcn.14008b880
mov rcx, qword [r9 + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x1cc
jmp fcn.14009ead0
mov rcx, qword [r9 + 0x18]
mov r8, qword [rcx + 0x10]
add r8, 0x1dc
jmp fcn.14009ead0
mov rcx, r9
jmp fcn.14008ba50
mov rcx, r9
jmp fcn.14008bb50
mov rcx, qword [r9 + 0x18]
jmp fcn.1400a00d0
mov rcx, qword [r9 + 0x18]
jmp fcn.1400a0530
ret
Function at 0x1400f66a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
mov rdi, rdx
xor esi, esi
mov rdx, qword [rcx]
test r8d, r8d
je 0x1400f67b0
cmp r8d, 1
je 0x1400f66ec
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140095850
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rdi], rdx
mov word [rdi + 8], si
mov dword [rdi + 0x10], 1
mov qword [rdi + 0x14], 0xff
mov dword [rdi + 0x1c], esi
mov qword [rdi + 0x20], rdx
lea rax, [rdx + 0x98]
mov qword [rdi + 0x28], rax
mov word [rdi + 0x30], si
mov qword [rdi + 0x38], rdx
mov dword [rdi + 0x40], 0xffffffff
mov dword [rdi + 0x44], 1
mov qword [rdi + 0x48], 0xff
mov dword [rdi + 0x50], esi
mov qword [rdi + 0x58], rdx
mov byte [rdi + 0x60], 0
mov byte [rsp + 0x28], 1
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
mov r8d, 0x1f
lea rcx, [rdi + 0x68]
call fcn.140073a20
mov rax, qword [rdi + 0x78]
shr rax, 0x20
mov dword [rsp + 0x34], 0x4000031
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x3c], rsi
movups xmm0, xmmword [rsp + 0x34]
movups xmmword [rdi + 0x88], xmm0
mov dword [rdi + 0x98], 0x18
mov dword [rdi + 0x9c], 3
mov qword [rdi + 0xa0], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rdi], rdx
mov word [rdi + 8], si
mov dword [rdi + 0x10], 1
mov qword [rdi + 0x14], 0xff
mov dword [rdi + 0x1c], esi
mov qword [rdi + 0x20], rdx
lea rax, [rdx + 0x98]
mov qword [rdi + 0x28], rax
mov word [rdi + 0x30], si
mov qword [rdi + 0x38], rdx
mov dword [rdi + 0x40], 0xffffffff
mov dword [rdi + 0x44], 1
mov qword [rdi + 0x48], 0xff
mov dword [rdi + 0x50], esi
mov qword [rdi + 0x58], rdx
mov byte [rdi + 0x60], 0
mov byte [rsp + 0x28], 1
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
mov r8d, 0x1e
lea rcx, [rdi + 0x68]
call fcn.140073a20
mov rax, qword [rdi + 0x78]
shr rax, 0x20
mov dword [rsp + 0x34], 0x4000031
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x3c], rsi
movups xmm0, xmmword [rsp + 0x34]
movups xmmword [rdi + 0x88], xmm0
mov dword [rdi + 0x98], 0x18
mov dword [rdi + 0x9c], 3
mov qword [rdi + 0xa0], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400f68d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
mov rdi, rdx
xor esi, esi
mov rdx, qword [rcx]
test r8d, r8d
je 0x1400f69e0
cmp r8d, 1
je 0x1400f691c
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140095850
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rdi], rdx
mov word [rdi + 8], si
mov dword [rdi + 0x10], 1
mov qword [rdi + 0x14], 0xff
mov dword [rdi + 0x1c], esi
mov qword [rdi + 0x20], rdx
lea rax, [rdx + 0x98]
mov qword [rdi + 0x28], rax
mov word [rdi + 0x30], si
mov qword [rdi + 0x38], rdx
mov dword [rdi + 0x40], 0xffffffff
mov dword [rdi + 0x44], 1
mov qword [rdi + 0x48], 0xff
mov dword [rdi + 0x50], esi
mov qword [rdi + 0x58], rdx
mov byte [rdi + 0x60], 0
mov byte [rsp + 0x28], 1
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
mov r8d, 0x21
lea rcx, [rdi + 0x68]
call fcn.140073a20
mov rax, qword [rdi + 0x78]
shr rax, 0x20
mov dword [rsp + 0x34], 0x4000031
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x3c], rsi
movups xmm0, xmmword [rsp + 0x34]
movups xmmword [rdi + 0x88], xmm0
mov dword [rdi + 0x98], 0x18
mov dword [rdi + 0x9c], 3
mov qword [rdi + 0xa0], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rdi], rdx
mov word [rdi + 8], si
mov dword [rdi + 0x10], 1
mov qword [rdi + 0x14], 0xff
mov dword [rdi + 0x1c], esi
mov qword [rdi + 0x20], rdx
lea rax, [rdx + 0x98]
mov qword [rdi + 0x28], rax
mov word [rdi + 0x30], si
mov qword [rdi + 0x38], rdx
mov dword [rdi + 0x40], 0xffffffff
mov dword [rdi + 0x44], 1
mov qword [rdi + 0x48], 0xff
mov dword [rdi + 0x50], esi
mov qword [rdi + 0x58], rdx
mov byte [rdi + 0x60], 0
mov byte [rsp + 0x28], 1
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
mov r8d, 0x20
lea rcx, [rdi + 0x68]
call fcn.140073a20
mov rax, qword [rdi + 0x78]
shr rax, 0x20
mov dword [rsp + 0x34], 0x4000031
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x3c], rsi
movups xmm0, xmmword [rsp + 0x34]
movups xmmword [rdi + 0x88], xmm0
mov dword [rdi + 0x98], 0x18
mov dword [rdi + 0x9c], 3
mov qword [rdi + 0xa0], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov r8d, dword [rax]
jmp fcn.1400f4780
Function at 0x14011f650
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14011f701
mov rdx, qword [0x14022b060]
lea rdi, [0x14024d626]
sub rdi, rdx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, eax
mov r8d, eax
cmp rcx, rdi
jb 0x14011f6ab
lea r9, [rdi - 1]
dec r8
mov rdx, rbx
mov ecx, 5
call fcn.14011d810
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test eax, eax
je 0x14011f6ce
mov rax, qword [0x14022b060]
lea edx, [rcx + 1]
add rdx, rax
mov qword [0x14022b060], rdx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14011f6ea
mov rax, qword [0x14022b060]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xcb
je 0x14011f701
mov r8d, eax
mov rdx, rbx
mov ecx, 4
call fcn.14011d810
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140120040
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp dword [0x14027fb14], 0
je 0x140120057
mov eax, 1
add rsp, 0x28
ret
mov rcx, qword [0x14024d628]
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x20], rdi
mov dword [0x14027fb10], 1
mov qword [0x14027fb08], rsi
test rcx, rcx
je 0x14012008d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14024d628], rsi
xor r8d, r8d
lea rcx, str.INTEL_JIT_PROFILER64
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test eax, eax
je 0x1401200f4
lea ecx, [rax + 1]
mov qword [rsp + 0x30], rbx
call fcn.140147e00
mov rbx, rax
test rax, rax
je 0x1401200ef
mov r8d, edi
lea rcx, str.INTEL_JIT_PROFILER64
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1401200e7
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x14024d628], rax
mov rcx, rbx
call fcn.14013f71c
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x14024d628]
mov rdi, qword [rsp + 0x20]
test rcx, rcx
jne 0x14012011b
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov dword [0x14027fb10], 1
add rsp, 0x28
ret
lea rdx, str.NotifyEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027fb08], rax
test rax, rax
jne 0x140120145
mov qword [0x14027fb00], rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, qword [0x14024d628]
lea rdx, str.Initialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14027fb00], rax
test rax, rax
jne 0x140120176
mov qword [0x14027fb08], rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x28
ret
call rax
mov dword [0x14027fb18], eax
mov eax, 1
mov dword [0x14027fb10], esi
mov rsi, qword [rsp + 0x38]
mov dword [0x14027fb14], 1
add rsp, 0x28
ret
Function at 0x1401201b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, rcx
mov qword [rcx + 8], 0
lea rax, vtable.asmjit::_abi_1_9::JitRuntime.0
mov qword [rcx], rax
mov eax, dword [0x14027fb20]
nop
test eax, eax
jne 0x140120240
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x78]
mov qword [0x14027fb40], rax
mov eax, 1
xchg dword [0x14027fb20], eax
mov rbx, qword [0x14027fb40]
mov rdi, rbx
shr rbx, 0x20
mov ecx, 0x98
call fcn.140147e00
mov r15, rax
test rax, rax
jne 0x140120264
xor ecx, ecx
jmp 0x1401202d5
lea rsi, [rax + 0x60]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xor ecx, ecx
mov qword [r15 + 0x40], rcx
mov qword [r15 + 0x48], rcx
mov qword [r15 + 0x50], rsi
mov qword [r15 + 0x58], 1
mov dword [r15], ecx
mov dword [r15 + 4], ebx
mov eax, 0x40
mov dword [r15 + 8], eax
mov dword [r15 + 0xc], 0xcccccccc
mov dword [r15 + 0x38], edi
mov qword [rsi], rcx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rcx
mov dword [rsi + 0x18], ecx
mov word [rsi + 0x1c], ax
bsf eax, eax
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], cl
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x30], rcx
mov rcx, r15
lea rax, [0x1401d78b8]
test rcx, rcx
cmovne rax, rcx
mov qword [r14 + 0x10], rax
mov dword [rsp + 0x70], 0x1000002
mov dword [rsp + 0x74], 1
mov rax, qword [rsp + 0x70]
mov qword [r14 + 8], rax
mov byte [r14 + 0xd], 1
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401386bc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140138740
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14016e940]
cmp byte [rcx + rax], 0
je 0x140138740
dec r8
sub rdx, 1
jne 0x140138726
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140139a8c
Capabilities:
Parse pe header

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

Function at 0x140144570
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401445a7
call fcn.140148a70
mov dword [rax], 0x16
call fcn.14013fab4
xor eax, eax
jmp 0x140144635
mov rdx, r9
mov rcx, r8
call fcn.14014450c
mov rbx, rax
test rax, rax
je 0x140144632
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140144438]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14014461f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401489e4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140144606
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140144615
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140150494
jmp 0x140144632
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14014462f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret