joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x1400134b0
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]
nop
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014800
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014820
xor al, al
jmp 0x1400148a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014833
xor al, al
jmp 0x1400148a1
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 0x14001485d
xor al, al
jmp 0x1400148a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014871
xor al, al
jmp 0x1400148a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014883
xor al, al
jmp 0x1400148a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001489f
xor al, al
jmp 0x1400148a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001133e
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x140011a60
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400230a4]
call fcn.140011398
nop
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x170]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [0x14001e950]
test eax, eax
je 0x140011b61
mov qword [rbp + 0x48], 0
jmp 0x140011b06
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x48], rax
jae 0x140011b3b
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x140011b39
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov byte [rax], 0x90
jmp 0x140011afb
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x28]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [0x14001e948]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001acd0]
call fcn.14001132f
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400126f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c0
movzx eax, al
test eax, eax
jne 0x140012710
mov ecx, 7
call fcn.140011339
nop
mov byte [rsp + 0x20], 0
call fcn.140011352
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012734
mov ecx, 7
call fcn.140011339
nop
jmp 0x14001278c
cmp dword [0x14001e868], 0
jne 0x140012787
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x140012768
mov eax, 0xff
jmp 0x140012891
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011348
mov dword [0x14001e868], 2
jmp 0x14001278c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011325
call fcn.1400112bc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400127e9
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x1400127e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112ee
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001281d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001281d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137f
nop
call fcn.140012940
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x14001283c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001284b
call fcn.140011389
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140012891
add rsp, 0x68
ret
Function at 0x2fc4da130
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dab32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4dabca
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4dabae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4daba2
cmp qword [rbp - 0x10], 0
je 0x2fc4daba2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dab68
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dabcb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dacd0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dacf8
mov eax, 0
jmp 0x2fc4dad46
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dad21
mov eax, 0
jmp 0x2fc4dad46
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dad41
mov eax, 0
jmp 0x2fc4dad46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dad4c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dadca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dadc1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dadc1
mov rax, qword [rbp - 8]
jmp 0x2fc4daddf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dad94
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400020f0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
movsxd rcx, ecx
call fcn.140052590
call fcn.1400525d0
call fcn.1400469e0
call fcn.140046254
call fcn.140052800
call fcn.140052800
call fcn.140052800
call fcn.140052800
call fcn.140052710
movsxd rcx, eax
call fcn.140052590
call fcn.140052800
lea rcx, [0x1400f0b40]
call fcn.140052830
call fcn.1400527d0
call fcn.140052800
call fcn.140052800
call fcn.140052710
movsxd rcx, eax
call fcn.140052590
call fcn.1400525d0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
lea rdx, [0x140138d00]
call fcn.140052970
call fcn.140052800
call fcn.140052800
call fcn.140052710
mov edx, eax
mov ecx, 0x100
call fcn.140050e20
call fcn.140052710
lea rcx, [rsp + 0x60]
mov edx, eax
call fcn.1400528a0
call fcn.140052800
call fcn.140052800
call fcn.140052710
mov edx, eax
mov ecx, 0x100
call fcn.140050e20
call fcn.140052710
lea rcx, [rsp + 0x68]
mov edx, eax
call fcn.1400528a0
mov qword [rsp + 0x38], 0x100
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x100
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_GetVolumeInformationW
call fcn.140052800
call fcn.140052800
call fcn.140052710
movsxd rcx, dword [rsp + 0x48]
mov edx, eax
call fcn.140050ec0
call fcn.140052710
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.1400528a0
call fcn.140052800
mov rcx, qword [rsp + 0x50]
call fcn.140052830
call fcn.1400527d0
mov rcx, qword [rsp + 0x50]
call fcn.140052930
mov rcx, qword [rsp + 0x58]
call fcn.140052930
mov rcx, qword [rsp + 0x60]
call fcn.140052930
mov rcx, qword [rsp + 0x68]
call fcn.140052930
call fcn.140052710
call fcn.1400527d0
mov rbx, rax
call fcn.140052710
mov r9d, eax
mov r8d, 0x100
mov edx, 5
mov rcx, rbx
call fcn.1400475a0
call fcn.1400527d0
nop
add rsp, 0x70
pop rbx
ret
Function at 0x140008a04
Capabilities:
Parse pe header

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

Function at 0x140009de4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140009e53
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009e53
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009e53
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009e53
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009e53
cmp dword [rcx + 0x84], 0xe
jbe 0x140009e53
cmp dword [rcx + 0xf8], 0
je 0x140009e53
mov ecx, ebx
call fcn.140009f04
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140009ce0
nop
cmp dword [rbp + 0x20], 0
je 0x140009ea1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140009eac
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140009de4

Function at 0x140009fe8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009de4
Function at 0x14000fe48
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 0x14000fe78
xor eax, eax
jmp 0x14000ff3b
mov rbp, rbx
cmp word [rax], si
je 0x14000fe9d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000fe84
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000fe80
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.14000fd68
movsxd r14, eax
test eax, eax
jne 0x14000fedb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000fe71
mov rcx, r14
call fcn.14000c528
mov rdi, rax
test rax, rax
jne 0x14000fef4
xor ecx, ecx
call fcn.14000c4ec
jmp 0x14000fed0
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.14000fd68
test eax, eax
jne 0x14000ff25
mov rcx, rdi
call fcn.14000c4ec
jmp 0x14000ff2f
xor ecx, ecx
call fcn.14000c4ec
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 0x14000ff58
Capabilities:
Query environment variable

Disassembly:
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000ffdf
mov rsi, rbx
cmp word [rax], bp
je 0x14000ff9e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000ff88
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000ff84
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000c528
mov rdi, rax
test rax, rax
je 0x14000ffcc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001cb10
mov rbp, rdi
xor ecx, ecx
call fcn.14000c4ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140014244
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14000d248
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400142e5
cmp ebx, dword [rsp + 0x30]
je 0x1400142de
test esi, esi
je 0x1400142de
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400142b9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400142c6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400142a3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400142ca
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400142e7
mov eax, 1
jmp 0x1400142e7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140016850
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.14000edb0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400168da
cmp byte [rbp - 0x21], r15b
je 0x1400168d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016910
call fcn.14000d928
test eax, eax
jne 0x1400168fc
cmp byte [rbp - 0x21], r15b
je 0x1400168f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016910
cmp byte [rbp - 0x21], r15b
je 0x14001690d
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.14000e390
test eax, eax
jne 0x1400169b0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000edb0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001694f
cmp byte [rbp - 0x21], r15b
je 0x140016984
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016984
call fcn.14000d928
test eax, eax
jne 0x140016970
cmp byte [rbp - 0x21], r15b
je 0x140016969
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016984
cmp byte [rbp - 0x21], r15b
je 0x140016981
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.14000e390
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400169b0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400169b3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400169c1
mov rcx, rdi
call fcn.14000c4ec
cmp byte [rbp + 0x3f], r15b
je 0x1400169d0
mov rcx, qword [rbp + 0x27]
call fcn.14000c4ec
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 0x14001aac8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140230f50]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001ab1f
cmp word [rdx], r13w
jne 0x14001ab1f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001ab24
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001ac49
mov r11d, reloc.WS2_32.dll_listen
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001ac6a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001ab5d
mov rdx, r9
mov word [rbx], cx
jmp 0x14001ab84
cmp r9, r8
jae 0x14001ab94
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001ab3e
jmp 0x14001ac49
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ac3e
cmp dword [rsp + 0x80], esi
je 0x14001ac3e
lea r8, [0x140230f50]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001ac16
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001abe6
mov word [rbx], r13w
jmp 0x14001ac46
mov ecx, reloc.WS2_32.dll_listen
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001abf3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001ac46
cmp word [rsp + 0x70], r13w
jne 0x14001ac23
cmp rbx, r14
je 0x14001abe0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001a7cc
cmp word [rsp + 0x70], r13w
je 0x14001ac49
mov ecx, reloc.WS2_32.dll_listen
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140230f50]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001ac43
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001ac49
Function at 0x14001f5ec
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14001f668
movsxd rdx, ecx
lea rcx, [0x14001f54c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x140231560]
test rbx, rbx
je 0x14001f6db
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14001f65e
cmp byte [rbx + 0x20], 0
je 0x14001f65e
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14001f624
jmp 0x14001f6db
mov rbx, qword [0x140231560]
test rbx, rbx
je 0x14001f6db
mov rsi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14001f6d3
cmp byte [rbx + 0x21], 0
je 0x14001f697
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14001f6c3
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
or rdx, 0xffffffffffffffff
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140231560]
call fcn.1400524b8
mov rbx, rsi
test rsi, rsi
jne 0x14001f674
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret