joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001172
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18004b284
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800b6cc8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1800b6cc0]
call fcn.18004aba4
mov rsi, rax
test rax, rax
je 0x18004b2d0
mov rcx, rax
call fcn.180002b7b
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x18004b2db
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800011ae
Capabilities:
Query environment variable

Disassembly:
jmp 0x18008c7bc
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x18008c890
mov rsi, rax
cmp word [rax], r14w
je 0x18008c80f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x18008c7f7
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x18008c7f3
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x18008c890
mov rcx, rbp
call fcn.1800021ad
mov rdi, rax
test rax, rax
je 0x18008c883
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x18008c883
mov rsi, rdi
mov rdi, r14
jmp 0x18008c886
mov rsi, r14
mov rcx, rdi
call fcn.1800049f3
jmp 0x18008c893
mov rsi, r14
test rbx, rbx
je 0x18008c8a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18000145b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18004b218
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800b6ca8]
mov ecx, 2
lea r8, [0x1800b6ca0]
lea rdx, str.FlsGetValue
call fcn.18004aba4
mov rdi, rax
test rax, rax
je 0x18004b259
mov rcx, rax
call fcn.180002b7b
mov ecx, ebx
call rdi
jmp 0x18004b261
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180001c08
Capabilities:
Query environment variable

Disassembly:
jmp 0x18008c900
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x18008c987
mov rbp, rax
cmp word [rax], si
je 0x18008c949
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18008c930
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18008c92c
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.1800021ad
mov rdi, rax
test rax, rax
je 0x18008c977
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.180003463
mov rsi, rdi
xor ecx, ecx
call fcn.1800049f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001c17
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x18004724c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800472da
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1800472da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800472da
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1800472c1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800472bb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1800472c3
add rdx, 0x28
jmp 0x1800472a0
xor edx, edx
test rdx, rdx
jne 0x1800472cc
xor al, al
jmp 0x1800472e0
cmp dword [rdx + 0x24], 0
jge 0x1800472d6
xor al, al
jmp 0x1800472e0
mov al, 1
jmp 0x1800472e0
xor al, al
jmp 0x1800472e0
add rsp, 0x18
ret

Function at 0x180001dac
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1800a3ee0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1800a3f21
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1800a3f15
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1800a3f23
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1800a3f03
xor eax, eax
ret

Function at 0x180001ebf
Capabilities:
Get geographical location

Disassembly:
jmp 0x18007f020
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1800b8ba8]
mov rbp, rcx
lea r8, [0x1800b8ba0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.18007e42c
mov rcx, rbp
test rax, rax
je 0x18007f076
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x1800e0010]
jmp 0x18007f08d
xor edx, edx
call fcn.180002d0b
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000215d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18009c25c
sub rsp, 0x58
mov rax, qword [0x1800d12b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov r9, rdx
cmp rax, 0x20
mov r8, rcx
jae 0x18009c2f4
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 0x20
jl 0x18009c27b
mov al, byte [rdx]
jmp 0x18009c2ae
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
inc r9
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r9]
test al, al
jne 0x18009c28f
jmp 0x18009c2d3
movzx eax, r9b
mov edx, 1
movzx ecx, r9b
and ecx, 7
shr rax, 3
shl edx, cl
test byte [rsp + rax + 0x20], dl
jne 0x18009c2ef
inc r8
mov r9b, byte [r8]
test r9b, r9b
jne 0x18009c2b4
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18000459d
add rsp, 0x58
ret
mov rax, r8
jmp 0x18009c2dd
call fcn.180002095
int3
Function at 0x1800025ef
Capabilities:
Clear file content

Disassembly:
jmp 0x1800a0280
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov ebp, 1
mov r8d, ebp
xor edx, edx
mov esi, ecx
call fcn.180004f89
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1800a02c1
call fcn.180002f95
mov eax, dword [rax]
jmp 0x1800a0367
xor edx, edx
mov ecx, esi
lea r8d, [rdx + 2]
call fcn.180004f89
cmp rax, 0xffffffffffffffff
je 0x1800a02b5
mov rdi, rbx
sub rdi, rax
test rdi, rdi
jle 0x1800a03a8
mov r15d, 0x1000
mov rdx, rbp
mov ecx, r15d
call fcn.18000388c
mov rbx, rax
test rax, rax
jne 0x1800a030c
call fcn.180002f95
mov dword [rax], 0xc
jmp 0x1800a0395
mov edx, 0x8000
mov ecx, esi
call fcn.180001e1a
mov ebp, eax
mov r8d, edi
cmp rdi, r15
mov rdx, rbx
mov ecx, esi
cmovge r8d, r15d
call fcn.180002739
cmp eax, 0xffffffff
je 0x1800a0380
cdqe
sub rdi, rax
test rdi, rdi
jg 0x1800a031a
mov edx, ebp
mov ecx, esi
call fcn.180001e1a
mov rcx, rbx
call fcn.1800049f3
xor r8d, r8d
mov rdx, r14
mov ecx, esi
call fcn.180004f89
cmp rax, 0xffffffffffffffff
je 0x1800a02b5
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.1800046a1
cmp dword [rax], 5
jne 0x1800a0395
call fcn.180002f95
mov dword [rax], 0xd
call fcn.180002f95
mov rcx, rbx
mov edi, dword [rax]
call fcn.1800049f3
mov eax, edi
jmp 0x1800a0367
jns 0x1800a034e
xor r8d, r8d
mov rdx, rbx
mov ecx, esi
call fcn.180004f89
cmp rax, 0xffffffffffffffff
je 0x1800a02b5
mov ecx, esi
call fcn.180002621
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800a034e
call fcn.180002f95
mov dword [rax], 0xd
call fcn.1800046a1
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
jmp 0x1800a02b5
Function at 0x180002612
Capabilities:
Check if file exists

Disassembly:
jmp 0x1800293c0
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1800295e5
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x1800293e6
test rax, rax
je 0x180029424
xor ecx, ecx
nop word [rax + rax]
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1800295e5
cmp r8w, 0x2f
je 0x1800295e5
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x180029400
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.180003a6c
mov rsi, rax
test rax, rax
je 0x180029515
mov qword [rsp + 0x50], r14
call fcn.180004a7a
mov r14, rax
test rax, rax
je 0x180029502
mov rcx, rsi
call fcn.180022270
test eax, eax
je 0x1800294eb
lea rax, [0x1800aa230]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, [0x1800aa250]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x180029497
mov r8, rbx
mov rcx, rsi
call fcn.1800019b5
test eax, eax
je 0x1800294bf
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x180029490
jmp 0x1800294ce
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.180026a60
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x1800294f9
mov rcx, rsi
call fcn.180022200
test eax, eax
je 0x1800294f9
mov rbp, rsi
xor esi, esi
jmp 0x1800294f9
mov rdx, rsi
mov rcx, r14
call fcn.180026a60
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x1800295b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1800295ba
mov rcx, rbx
call fcn.180022040
mov rdi, rax
test rax, rax
je 0x1800295ba
mov ecx, 0x37e4
call fcn.1800259e0
test eax, eax
je 0x18002954f
xor ecx, ecx
call fcn.1800039ea
jmp 0x180029554
call fcn.180004a7a
mov rbx, rax
test rax, rax
je 0x1800295a8
mov rdx, rdi
mov rcx, rax
call fcn.180026a60
mov rbp, rax
test rax, rax
je 0x18002959f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180029581
test al, 0x50
je 0x18002959f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180029594
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x1800295ba
xor ecx, ecx
jmp 0x1800295c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800295cd
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x1800028fb
Capabilities:
Parse pe header

Disassembly:
jmp 0x1800a3fa0
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x1800a3fb0
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x1800a3fcd
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret

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

Disassembly:
jmp 0x1800143f0
mov eax, dword [r8 + 0x1c]
mov dword [rdx + 0x14], eax
mov eax, dword [r8 + 0xa0]
mov dword [rdx + 0xb0], eax
mov eax, dword [r8 + 0x20]
mov dword [rdx + 0x18], eax
mov eax, dword [r8 + 0x28]
mov dword [rdx + 0x20], eax
mov eax, dword [r8 + 0x24]
mov dword [rdx + 0x1c], eax
mov eax, dword [r8 + 0x34]
mov dword [rdx + 0x30], eax
mov eax, dword [r8 + 0x38]
mov dword [rdx + 0x34], eax
mov eax, dword [r8 + 0x3c]
mov dword [rdx + 0x38], eax
mov eax, dword [r8 + 0x44]
mov dword [rdx + 0x40], eax
mov eax, dword [r8 + 0x2c]
mov dword [rdx + 0x24], eax
mov eax, dword [r8 + 0x30]
mov dword [rdx + 0x2c], eax
mov eax, dword [r8 + 0x50]
add eax, eax
xor eax, dword [rdx + 0x4c]
and eax, 0x20
xor dword [rdx + 0x4c], eax
movzx eax, word [r8 + 0x86]
mov word [rdx + 0x82], ax
movzx eax, byte [r8 + 0x88]
mov byte [rdx + 0x84], al
mov eax, dword [r8 + 0x90]
mov dword [rdx + 0x8c], eax
mov eax, dword [r8 + 0x9c]
mov dword [rdx + 0xac], eax
mov eax, dword [r8 + 0xc0]
mov dword [rdx + 0xd0], eax
mov eax, dword [r8 + 0x134]
mov dword [rdx + 0x774], eax
mov eax, dword [r8 + 0x12c]
mov dword [rdx + 0x76c], eax
mov eax, dword [r8 + 0xfc]
mov dword [rdx + 0x700], eax
mov eax, dword [r8 + 0x110]
mov dword [rdx + 0x714], eax
mov eax, dword [r8 + 0x108]
mov dword [rdx + 0x70c], eax
mov eax, dword [r8 + 0x10c]
mov dword [rdx + 0x710], eax
mov eax, dword [r8 + 0xc4]
mov dword [rdx + 0xd4], eax
mov eax, dword [r8 + 0xb8]
mov dword [rdx + 0xc8], eax
mov eax, dword [r8 + 0x98]
xor eax, dword [rdx + 0xa8]
and eax, 0x8000
xor dword [rdx + 0xa8], eax
ret

Function at 0x180002fc2
Capabilities:
Parse pe header

Disassembly:
jmp 0x18007a860
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x18007a62b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18007a62b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007a62b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18007a62b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18007a62b
cmp dword [rcx + 0x84], 0xe
jbe 0x18007a62b
cmp dword [rcx + 0xf8], 0
je 0x18007a62b
mov ecx, ebx
call fcn.18007a7bc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.18007a320
cmp dword [rbp + 0x20], 0
je 0x18007a678
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18007a6b0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18007a5c4
Function at 0x18000304e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180014560
mov eax, dword [r8 + 0x1c]
mov dword [rdx + 0x14], eax
mov eax, dword [r8 + 0xac]
mov dword [rdx + 0xbc], eax
mov eax, dword [r8 + 0x20]
mov dword [rdx + 0x18], eax
mov eax, dword [r8 + 0x28]
mov dword [rdx + 0x20], eax
mov eax, dword [r8 + 0x24]
mov dword [rdx + 0x1c], eax
mov eax, dword [r8 + 0x34]
mov dword [rdx + 0x30], eax
mov eax, dword [r8 + 0x38]
mov dword [rdx + 0x34], eax
mov eax, dword [r8 + 0x3c]
mov dword [rdx + 0x38], eax
mov eax, dword [r8 + 0x44]
mov dword [rdx + 0x40], eax
mov eax, dword [r8 + 0x2c]
mov dword [rdx + 0x24], eax
mov eax, dword [r8 + 0x30]
mov dword [rdx + 0x2c], eax
movzx eax, byte [r8 + 0x88]
mov byte [rdx + 0x84], al
mov eax, dword [r8 + 0x90]
mov dword [rdx + 0x8c], eax
mov eax, dword [r8 + 0x98]
mov dword [rdx + 0xa8], eax
mov eax, dword [r8 + 0x9c]
mov dword [rdx + 0xac], eax
mov eax, dword [r8 + 0xa0]
mov dword [rdx + 0xb0], eax
mov eax, dword [r8 + 0xa4]
mov dword [rdx + 0xb4], eax
mov eax, dword [r8 + 0x110]
mov dword [rdx + 0x15c], eax
mov eax, dword [r8 + 0xa8]
xor eax, dword [rdx + 0xb8]
and eax, 0x600
xor dword [rdx + 0xb8], eax
mov eax, dword [r8 + 0xe4]
mov dword [rdx + 0xf4], eax
mov eax, dword [r8 + 0xf8]
mov dword [rdx + 0x108], eax
mov eax, dword [r8 + 0xf0]
mov dword [rdx + 0x100], eax
mov eax, dword [r8 + 0xf4]
mov dword [rdx + 0x104], eax
ret

Function at 0x180003125
Capabilities:
Terminate process

Disassembly:
jmp 0x18007d780
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18007d79a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.180001b68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18000351c
Capabilities:
Terminate process

Disassembly:
jmp 0x180047438
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1800035df
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18004b144
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1800b6c68]
xor ecx, ecx
lea r8, [0x1800b6c60]
lea rdx, str.FlsAlloc
call fcn.18004aba4
mov rbx, rax
test rax, rax
je 0x18004b184
mov rcx, rax
call fcn.180002b7b
mov rcx, rdi
call rbx
jmp 0x18004b18a
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180003b0c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18007ee34
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800b8ae0]
mov ecx, 5
lea r8, [0x1800b8ad8]
lea rdx, str.FlsGetValue
call fcn.18007e42c
mov ecx, ebx
test rax, rax
je 0x18007ee6e
add rsp, 0x20
pop rbx
jmp qword [0x1800e0010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x180003df0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18007ee8c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800b8af0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1800b8ae8]
call fcn.18007e42c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18007eecc
call qword [0x1800e0010]
jmp 0x18007eed2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003f53
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18007ed80
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1800b8ac0]
mov ecx, 3
lea r8, [0x1800b8ab8]
lea rdx, str.FlsAlloc
call fcn.18007e42c
test rax, rax
je 0x18007edbc
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800e0010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1800041bf
Capabilities:
Check if file exists

Disassembly:
jmp 0x180029bb0
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14d, r8d
xor ecx, ecx
mov ebp, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x180029d19
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x180029c16
cmp ax, 0x2f
je 0x180029c16
movzx ecx, ax
call fcn.18000234c
test eax, eax
je 0x180029d19
cmp word [rbx + 2], 0x3a
jne 0x180029d19
movzx eax, word [rbx + 4]
cmp ax, 0x2f
je 0x180029c16
cmp ax, 0x5c
jne 0x180029d19
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180029cfd
test al, 0x50
jne 0x180029cfd
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180029c83
lea ecx, [rax + 0x21]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
test r14d, r14d
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rdi
call fcn.18000218f
test eax, eax
je 0x180029cb5
test r14d, r14d
je 0x180029cc9
cmp dword [rsp + 0x60], edi
jne 0x180029cc9
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.180025e20
test eax, eax
je 0x180029ce0
and ebp, 0xffffe8f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x180029c6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x180029c67
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret

Function at 0x1800043b3
Capabilities:
Parse pe header

Disassembly:
jmp 0x18007a870
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18007a5c4
Function at 0x1800046f1
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800a11f8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.180003256
cmp eax, 2
sete dil
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1800a1245
test rbx, rbx
je 0x1800a1239
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
je 0x1800a127c
mov eax, 4
jmp 0x1800a128b
test dil, dil
je 0x1800a127c
call fcn.1800015f0
test al, al
je 0x1800a127c
call fcn.1800045a2
test al, al
jne 0x1800a1272
bts esi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, esi
call fcn.18000394f
jmp 0x1800a128b
call fcn.1800022a7
mov rcx, rax
jmp 0x1800a1262
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004a7a
Capabilities:
Get common file path

Disassembly:
jmp 0x1800296b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x180029712
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180029707
cmp edi, eax
jb 0x180029707
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180022470
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x180022533
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x1800224a4
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x180022536
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x1800224ef
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x1800224f3
test rax, rax
je 0x180022533
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x180022524
cmp rdx, rax
jb 0x180022510
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret