joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141477130
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rdx
mov dword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xb]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14147721b
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1413c12d0
nop
mov dword [rsp + 0x30], 1
lea rax, [0x1400fcc60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1413d0b30
test al, al
je 0x1414771ef
lea edx, [rbx + 2]
mov rcx, rdi
call fcn.14146a4d0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1414771df
cmp eax, ebx
je 0x141477225
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x141477225
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x141477225
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14147720d
cmp eax, 0xffffffff
je 0x14147721b
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14147721b
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
xor edx, edx
mov rcx, rdi
call fcn.14146a4d0
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x141477590
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 0xf]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x29]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141477626
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1413c12d0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14146a3a0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x141477616
cmp eax, edi
je 0x141477630
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x141477630
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x141477630
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x141477cc0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 4], 0
mov rbx, rcx
jne 0x141477d84
mov ecx, dword [rcx]
lea r8, [rsp + 0x20]
mov r9d, 8
mov edx, 0x1014
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x141477d1d
mov dword [rbx + 4], 3
mov eax, 3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1414c4ac0
add rsp, 0x50
pop rbx
ret
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
jne 0x141477d31
mov dword [rbx + 4], 3
jmp 0x141477d84
cmp ax, 0x30
jne 0x141477d40
mov dword [rbx + 4], 1
jmp 0x141477d84
cmp ax, 0x32
jne 0x141477d4f
mov dword [rbx + 4], 2
jmp 0x141477d84
mov ecx, dword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 0xb
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141477cfe
movzx ecx, word [rsp + 0x30]
xor edx, edx
movzx eax, word [rsp + 0x20]
add ecx, 2
cmp eax, ecx
setne dl
add edx, 2
mov dword [rbx + 4], edx
mov eax, dword [rbx + 4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1414c4ac0
add rsp, 0x50
pop rbx
ret

Function at 0x141478f30
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x140036840]
mov qword [rbx], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0xff
lea r8, [rsp + 0x40]
mov edx, 0x5a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x141478fed
or edi, 0xffffffff
mov r8d, edi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1413c12d0
mov rdx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x141478fdf
cmp eax, edi
je 0x141478fed
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x141478fed
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x14147fe90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x70], 0x1000
xor edi, edi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14147fed9
mov edi, dword [rsp + 0x60]
jmp 0x14147feeb
cmp byte [rbx + 0x4b], dil
jne 0x14147feeb
mov byte [rbx + 0x4b], 1
mov rcx, rbx
call fcn.1414b0390
mov dword [rsp + 0x78], edi
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x78]
cmp edi, 0x1000
cmovae rax, rcx
mov edi, dword [rax]
cmp byte [rbx + 0x4b], 0
jne 0x14148001c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14147ff36
mov rdx, qword [rbx + 0x30]
mov rax, rcx
sub rax, rdx
cmp rdi, rax
jle 0x14147ff36
mov rdi, rcx
sub rdi, rdx
test rdi, rdi
jle 0x14148001c
lea rcx, [rbx + 0x28]
mov rdx, rdi
call fcn.14143d0a0
mov rsi, rax
mov word [rbx + 0x48], 0x100
cmp qword [rbx + 0x18], 0
jne 0x14147ff69
mov ecx, 0x28
call fcn.1414c4ae4
mov qword [rsp + 0x68], rax
mov qword [rax + 0x20], rbx
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rax, [0x14147fe20]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x18]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14148001c
mov byte [rbx + 0x49], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x141480010
cmp ecx, 0x7c
je 0x141480010
mov edx, 0x22
lea rcx, [0x1400fdcc0]
call fcn.1413d4280
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
mov edx, edi
mov rcx, rbx
call fcn.1414b0490
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x141480000
cmp eax, 0xffffffff
je 0x14148001c
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14148001c
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
jmp 0x14148001c
mov byte [rbx + 0x4b], 1
mov rcx, rbx
call fcn.1414b0390
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x141480680
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
cmp byte [rcx + 0x31], 0
mov rsi, rdx
mov rbx, rcx
je 0x1414806a3
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp qword [rcx + 0x18], 0
mov qword [rsp + 0x48], rdi
jne 0x1414806c6
mov ecx, 0x28
call fcn.1414c4ae4
mov qword [rsp + 0x40], rax
mov qword [rax + 0x20], rbx
mov qword [rbx + 0x18], rax
mov rax, qword [rbx + 0x18]
xor ecx, ecx
mov rdx, rsi
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rcx, [rbx + 0x20]
call fcn.1413e7010
mov rdx, qword [rbx + 0x20]
lea rax, [0x141480770]
mov r9, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov word [rbx + 0x30], 0x100
mov r8d, dword [rdx + 4]
add rdx, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
jne 0x141480750
lea rcx, [rbx + 0x20]
mov byte [rbx + 0x31], al
call fcn.1413e7730
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x14148073e
lea rdx, [0x1400fddc8]
mov ecx, eax
call fcn.1413c9c80
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov rdi, qword [rsp + 0x48]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret

Function at 0x141480f60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x268], rbx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
cmp eax, 0x104
jbe 0x141480fed
mov dword [rsp + 0x260], eax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x260]
cmp edi, dword [rsp + 0x30]
cmovge rcx, rax
mov r8d, dword [rcx]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.141418d50
mov edx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
mov r8d, edi
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1413c12d0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x141481012
call fcn.1414e8384
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x141481030
Capabilities:
Terminate process

Disassembly:
test edx, edx
jne 0x14148105d
test r8d, r8d
je 0x14148104b
cmp r8d, 1
jne 0x14148107b
mov rax, qword [r9 + 8]
movzx edx, byte [rax]
jmp fcn.1414414a0
mov rdx, qword [r9 + 8]
movzx r8d, byte [rsp + 0x10]
mov rdx, qword [rdx]
jmp fcn.141481080
cmp edx, 0xa
jne 0x14148107b
mov rax, qword [r9 + 8]
lea rcx, [fcn.141481080]
cmp qword [rax], rcx
jne 0x14148107b
mov rax, qword [r9]
mov dword [rax], 0
ret
Function at 0x141499e30
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rbp - 0x68], rcx
xor esi, esi
mov dword [rsp + 0x70], esi
lea rax, [0x1400368b8]
mov qword [rcx], rax
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x68], rsi
or r8d, 0xffffffff
lea rdx, [0x140101ea0]
lea rcx, [rsp + 0x78]
call fcn.1413bc190
nop
mov rcx, rax
call fcn.1413db220
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x141499ef2
cmp eax, 0xffffffff
je 0x141499f00
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141499f00
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
test bl, bl
je 0x14149a039
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14149a02e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14149a02e
mov ebx, esi
mov dword [rsp + 0x74], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x74]
lea r8, [rbp - 0x60]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14149a022
or r8d, 0xffffffff
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call fcn.1413c12d0
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1413c6420
nop
mov rdx, rax
mov rcx, rdi
call fcn.1413e73f0
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x141499fe6
cmp eax, 0xffffffff
je 0x141499ff5
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141499ff5
mov rcx, qword [rbp - 0x80]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1413e6510
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x14149a014
cmp eax, 0xffffffff
je 0x14149a022
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149a022
mov rcx, qword [rbp - 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x141499f62
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1414c4ac0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14149bdc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov dword [rsp + 0x34], 0
mov rbx, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1414e5e70
mov rcx, qword [rbx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1413c12d0
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1414c4ac0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret

Function at 0x14149c1c0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
xor ebx, ebx
lea r8, [rsp + 0x40]
mov ecx, eax
mov word [rsp + 0x20], bx
lea r9d, [rbx + 3]
lea edx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
cmp eax, 3
jne 0x14149c23b
mov qword [rsp + 0x30], 3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14142b1d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1414c4ac0
add rsp, 0x50
pop rbx
ret
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1414c4ac0
add rsp, 0x50
pop rbx
ret
Function at 0x1414c1120
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x14154fc40]
test rcx, rcx
jne 0x1414c114a
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14154fc40], rax
jmp 0x1414c1153
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x14154fc68]
lea rax, [rbx - 0x10]
mov rcx, qword [rax]
mov r9, rax
sub r9, qword [rax + 8]
sub r10, rcx
mov qword [0x14154fc68], r10
cmp qword [r9], 0
jne 0x1414c118a
add qword [r9 + 0x20], rcx
lea r8, [r9 + 0x20]
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
jmp 0x1414c11b9
xor edx, edx
mov qword [rax + 0x20], rcx
mov rcx, qword [0x14154fc60]
lea r8, [rax + 0x20]
mov qword [rax], rdx
mov r9, rax
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x1414c11b2
mov qword [rcx + 0x18], rax
mov qword [0x14154fc60], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x1414c1205
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1414c11df
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
test rcx, rcx
je 0x1414c11f2
mov qword [rcx + 0x10], rax
jmp 0x1414c11f9
mov qword [0x14154fc60], rax
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x1414c126b
cmp qword [rdx], 1
jne 0x1414c126b
mov rcx, qword [0x14154fc70]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x1414c126b
mov qword [0x14154fc70], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x1414c1240
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x10]
test rcx, rcx
je 0x1414c1253
mov qword [rcx + 0x10], rax
jmp 0x1414c125a
mov qword [0x14154fc60], rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x14154fc40]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]

Function at 0x1414c88ac
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1414c88bf
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1414d2a98
lea rdx, [0x1415452c8]
lea rcx, [rsp + 0x20]
call fcn.1414e55f4
int3

Function at 0x1414d34b4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x141550ce0]
xor edx, edx
jmp fcn.1414c88ac

Function at 0x1414d3ea4
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x141550ce0]
jmp fcn.1414c88ac
Function at 0x1414f6c40
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1414f6a14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1414f6a14
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1414f6a14
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1414f6a14
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1414f6a14
cmp dword [rcx + 0x84], 0xe
jbe 0x1414f6a14
cmp dword [rcx + 0xf8], esi
je 0x1414f6a14
mov ecx, r14d
call fcn.1414f6b5c
mov ecx, 2
call fcn.1414f4128
nop
cmp byte [0x141551310], 0
jne 0x1414f6ade
mov r15d, 1
mov eax, r15d
xchg dword [0x141551300], eax
test ebx, ebx
jne 0x1414f6a87
mov rdi, qword [0x141548130]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x141551308]
cmp rcx, rax
je 0x1414f6a7e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1413bf510]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x141551428]
jmp 0x1414f6a93
cmp ebx, r15d
jne 0x1414f6a99
lea rcx, [0x141551440]
call fcn.1414f73ac
nop
test ebx, ebx
jne 0x1414f6ab0
lea rdx, [0x140001170]
lea rcx, [0x140001148]
call fcn.1414f7674
lea rdx, [0x140001180]
lea rcx, [0x140001178]
call fcn.1414f7674
movzx eax, byte [0x141551310]
test esi, esi
cmove eax, r15d
mov byte [0x141551310], al
jmp 0x1414f6ade
mov ecx, 2
call fcn.1414f417c
test esi, esi
jne 0x1414f6af5
mov ecx, r14d
call fcn.1414f6b10
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1414f69a4
Function at 0x1414f99e8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1414f9888
call fcn.1414e8148
mov dword [rax], 0x16
call fcn.1414e7b44
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1414f9870
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1414f9870
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1414f98ba
lock or dword [rax + 0x14], 0x10
jmp 0x1414f9870
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1414f98d7
mov rcx, qword [rbp + 0x10]
call fcn.1414fac34
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1414f2f8c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1414f132c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1414f992e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1414f9870
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1414f999a
mov rcx, qword [rbp + 0x10]
call fcn.1414f2f8c
cmp eax, 0xffffffff
je 0x1414f9981
mov rcx, qword [rbp + 0x10]
call fcn.1414f2f8c
cmp eax, 0xfffffffe
je 0x1414f9981
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1414f2f8c
movsxd rdi, eax
lea rsi, [0x141551480]
mov rcx, rbx
sar rdi, 6
call fcn.1414f2f8c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1414f9988
lea rax, [0x141548630]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1414f999a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1414f99d0
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1414f99cc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1414f99cc
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1414f9873
jmp 0x1414f9840
Function at 0x140003410
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x14022f67c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400b6790
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x14022f67c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400035a0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1400035bc
cmp rcx, r8
jl 0x1400035af
mov qword [rdx + 0x80], rcx
test dword [0x1402271a8], 1
je 0x1400035eb
cmp byte [rsp + 0xd0], 0
je 0x1400035eb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140003110
mov rsp, r8
jmp rax