joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007d810
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rax - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rax + 0x18]
call fcn.14007c600
nop
mov dword [rsp + 0x70], 0x68
xor esi, esi
mov qword [rsp + 0x78], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
movabs rax, 0x8000000080000000
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0xb0], esi
mov qword [rsp + 0xb8], rsi
movdqa xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rsi
mov rax, qword [rbx]
cmp dword [rax + 4], esi
jne 0x14007d8b2
mov ebx, esi
jmp 0x14007d8bd
mov rcx, rbx
call fcn.14001b320
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.14001b320
mov rdx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x410
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
test bl, bl
je 0x14007d930
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14007d930
mov eax, dword [rsp + 0x60]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx]
test eax, eax
je 0x14007d956
cmp eax, 0xffffffff
je 0x14007d964
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14007d964
mov rcx, qword [rsp + 0x100]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
movzx eax, bl
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400885d0
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
xor edx, edx
jmp fcn.14004bc70
test edx, edx
jne 0x140088639
cmp r8d, 5
ja case.default.0x1400885f3
movsxd rax, r8d
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x8866c]
add rdx, r8
jmp rdx
lea rdx, [0x1415a07f0]
xor r9d, r9d
xor r8d, r8d
jmp fcn.14005b870
xor r9d, r9d
lea rdx, [0x1415a07f0]
lea r8d, [r9 + 1]
jmp fcn.14005b870
mov rax, qword [r9 + 8]
mov edx, dword [rax]
jmp fcn.140076ad0
mov edx, 7
jmp fcn.140076ad0
jmp fcn.140076df0
jmp 0x14004bda0
cmp edx, 0xa
jne case.default.0x1400885f3
mov rcx, qword [r9 + 8]
mov rax, qword [r9]
lea rdx, [fcn.140088790]
cmp qword [rcx], rdx
jne 0x140088657
mov dword [rax], 0
lea rdx, [fcn.140088690]
cmp qword [rcx], rdx
jne case.default.0x1400885f3
mov dword [rax], 1
ret

Function at 0x14008fbe0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x141699250]
test rcx, rcx
jne 0x14008fc0a
lea edx, [rcx + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x141699250], rax
jmp 0x14008fc13
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x141699278]
mov rcx, qword [rbx - 0x10]
lea rax, [rbx - 0x10]
sub r10, rcx
mov r9, rax
sub r9, qword [rax + 8]
mov qword [0x141699278], r10
cmp qword [r9], 0
jne 0x14008fc4c
add qword [r9 + 0x20], rcx
mov rax, qword [r9 + 0x20]
lea r8, [r9 + 0x20]
mov qword [rax + r9 + 8], rax
jmp 0x14008fc7a
xor edx, edx
lea r8, [rax + 0x20]
mov r9, rax
mov qword [r8], rcx
mov rcx, qword [0x141699270]
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x14008fc73
mov qword [rcx + 0x18], rax
mov qword [0x141699270], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x14008fcc6
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14008fca0
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
test rcx, rcx
je 0x14008fcb3
mov qword [rcx + 0x10], rax
jmp 0x14008fcba
mov qword [0x141699270], rax
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x14008fd2c
cmp qword [rdx], 1
jne 0x14008fd2c
mov rcx, qword [0x141699280]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x14008fd2c
mov qword [0x141699280], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x14008fd01
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x10]
test rcx, rcx
je 0x14008fd14
mov qword [rcx + 0x10], rax
jmp 0x14008fd1b
mov qword [0x141699270], rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x141699250]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]
Function at 0x1400a13c0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x141693be0]
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 + 0x28]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a1451
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000e3e0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14009dfb0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400a1441
cmp eax, 0xffffffff
je 0x1400a145b
lock dec dword [rcx]
jne 0x1400a145b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a145b
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400a1480
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x1400a1653
dec r8d
je 0x1400a15e4
dec r8d
jne 0x1400a16b6
mov dword [rsp + 0x54], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0x40
lea r9d, [r8 + 0x40]
lea r8, [rsp + 0x60]
mov edx, 0x1008
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400a157e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400a1533
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400a16b6
call fcn.1400f95d4
jmp 0x1400a16b6
mov dword [rsp + 0x20], 0xff
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x20]
cmp dword [rsp + 0x50], 0xff
cmovle rax, rcx
mov r8d, dword [rax]
mov edx, 0xff
lea rcx, [rsp + 0x50]
call fcn.140067120
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov edx, 0x1008
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a1516
or r8d, 0xffffffff
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000e3e0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14009dfb0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400a15b8
cmp eax, 0xffffffff
je 0x1400a15c7
lock dec dword [rcx]
jne 0x1400a15c7
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400a16c4
call fcn.1400f95d4
jmp 0x1400a16c4
mov r9d, 0xd
lea r8, [rbp - 0x20]
lea edx, [r9 + 7]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a16b6
or r8d, 0xffffffff
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000e3e0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14009dfb0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400a1643
cmp eax, 0xffffffff
je 0x1400a16c4
lock dec dword [rcx]
jne 0x1400a16c4
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a16c4
mov r9d, 9
lea r8, [rbp - 0x20]
lea edx, [r9 + 0xc]
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a16b6
or r8d, 0xffffffff
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.14000e3e0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14009dfb0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400a16a6
cmp eax, 0xffffffff
je 0x1400a16c4
lock dec dword [rcx]
jne 0x1400a16c4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a16c4
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400fa620
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400a1c30
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov dword [rsp + 0x28], 0
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, 0x100c
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a1cd2
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000e3e0
nop
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call fcn.14001a880
lea edx, [rax + 1]
mov rcx, rdi
call fcn.14009e030
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400a1cc2
cmp eax, 0xffffffff
je 0x1400a1cdf
lock dec dword [rcx]
jne 0x1400a1cdf
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a1cdf
mov edx, 1
mov rcx, rdi
call fcn.14009e020
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400a1d00
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov dword [rbp - 0x69], 0
mov edi, 0x40
test r9d, r9d
cmovne edi, r9d
mov dword [rbp - 0x55], edi
cmp edi, 0x40
jle 0x1400a1d6b
movsxd rcx, edi
add rcx, rcx
call fcn.1400fb0d8
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x1400a1d66
call fcn.1400f7a40
mov rax, qword [rbp - 0x51]
mov edi, dword [rbp - 0x55]
mov dword [rbp - 0x59], edi
jmp 0x1400a1d7a
lea rax, [rbp - 0x49]
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x59], 0x40
mov r9d, edi
mov r8, rax
mov edx, esi
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400a1d9e
lea rax, [0x141524b70]
mov qword [rbx], rax
jmp 0x1400a1e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400a1e0d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, eax
test eax, eax
jne 0x1400a1dcc
lea rax, [0x141524b70]
mov qword [rbx], rax
jmp 0x1400a1e1e
mov dword [rbp + 0x7f], eax
lea rax, [rbp - 0x59]
lea rcx, [rbp + 0x7f]
cmp edx, dword [rbp - 0x59]
cmovge rax, rcx
mov r8d, dword [rax]
lea rcx, [rbp - 0x59]
call fcn.140067120
mov r9d, dword [rbp - 0x55]
mov r8, qword [rbp - 0x51]
mov edx, esi
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400a1e0d
lea rax, [0x141524b70]
mov qword [rbx], rax
jmp 0x1400a1e1e
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x51]
mov rcx, rbx
call fcn.14000e3e0
nop
lea rax, [rbp - 0x49]
mov rcx, qword [rbp - 0x51]
cmp rcx, rax
je 0x1400a1e30
call fcn.1400f95d4
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a24c0
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 0x1400a25a4
or r8d, 0xffffffff
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000e3e0
nop
mov dword [rsp + 0x30], 1
lea rax, [0x1415f54e8]
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.140012f10
test al, al
je 0x1400a257c
mov edx, 1
mov rcx, rdi
call fcn.14009e020
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400a256c
cmp eax, 0xffffffff
je 0x1400a25ae
lock dec dword [rcx]
jne 0x1400a25ae
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a25ae
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400a2596
cmp eax, 0xffffffff
je 0x1400a25a4
lock dec dword [rcx]
jne 0x1400a25a4
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
xor edx, edx
mov rcx, rdi
call fcn.14009e020
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a2970
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x141693be0]
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 0x1400a2a01
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000e3e0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14009dfb0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400a29f1
cmp eax, 0xffffffff
je 0x1400a2a0b
lock dec dword [rcx]
jne 0x1400a2a0b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400a2a0b
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400a30b0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 4], 0
mov rbx, rcx
jne 0x1400a3174
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 0x1400a310d
mov dword [rbx + 4], 3
mov eax, 3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fa620
add rsp, 0x50
pop rbx
ret
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
jne 0x1400a3121
mov dword [rbx + 4], 3
jmp 0x1400a3174
cmp ax, 0x30
jne 0x1400a3130
mov dword [rbx + 4], 1
jmp 0x1400a3174
cmp ax, 0x32
jne 0x1400a313f
mov dword [rbx + 4], 2
jmp 0x1400a3174
mov ecx, dword [rbx]
mov r9d, 0xb
lea r8, [rsp + 0x30]
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a30ee
movzx ecx, word [rsp + 0x30]
movzx eax, word [rsp + 0x20]
xor edx, edx
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.1400fa620
add rsp, 0x50
pop rbx
ret
Function at 0x1400a4420
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, edx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x141524b70]
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 0x1400a44d3
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14000e3e0
mov rdx, qword [rbx]
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 0x1400a44c5
cmp eax, 0xffffffff
je 0x1400a44d3
lock dec dword [rcx]
jne 0x1400a44d3
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400abd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov ecx, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
add ecx, 0xfffffefa
add ecx, ebx
sub esi, edx
cmp edx, ecx
jb 0x1400abdef
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.1400f87c0
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
lea rdx, [rdx - 2]
cmp eax, ebx
jb 0x1400abdc0
sub eax, ebx
jmp 0x1400abdc2
xor eax, eax
mov word [rdx], ax
dec r8d
jne 0x1400abdb0
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
lea rcx, [rcx - 2]
cmp eax, ebx
jb 0x1400abde4
sub eax, ebx
jmp 0x1400abde6
xor eax, eax
mov word [rcx], ax
dec edx
jne 0x1400abdd4
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x1400abedc
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.1400ac130
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x1400abe57
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x1400abe6d
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x1400abd60
mov ecx, dword [rdi + 0x1718]
mov esi, dword [rdi + 0x58]
cmp ecx, esi
jae 0x1400abedc
mov ebx, dword [rdi + 0x94]
add ebx, r9d
cmp ecx, ebx
jae 0x1400abeae
sub esi, ebx
mov eax, 0x102
mov ecx, ebx
cmp esi, eax
cmova esi, eax
add rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, esi
call fcn.1400fa650
lea eax, [rsi + rbx]
mov dword [rdi + 0x1718], eax
jmp 0x1400abedc
lea eax, [rbx + 0x102]
cmp ecx, eax
jae 0x1400abedc
sub ebx, ecx
sub esi, ecx
mov eax, 0x102
add ebx, eax
cmp ebx, esi
cmova ebx, esi
add rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, ebx
call fcn.1400fa650
add dword [rdi + 0x1718], ebx
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ad4c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov r14d, r8d
test rcx, rcx
je 0x1400ad5e2
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x1400ad5e2
test rdx, rdx
je 0x1400ad5e2
mov eax, dword [rbx + 0x2c]
cmp eax, 2
je 0x1400ad5e2
cmp eax, 1
jne 0x1400ad520
cmp dword [rbx + 8], 0x2a
jne 0x1400ad5e2
cmp eax, 0
je 0x1400ad530
mov ecx, dword [rcx + 0x4c]
call sym.Xin_1029_Q.exe_z_adler32
mov dword [rbp + 0x4c], eax
cmp edi, 3
jb 0x1400ad5de
mov eax, dword [rbx + 0x44]
cmp edi, eax
jbe 0x1400ad54a
sub edi, eax
mov r14d, eax
mov eax, edi
add rsi, rax
mov rcx, qword [rbx + 0x50]
mov r8d, r14d
mov rdx, rsi
call fcn.1400f87c0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x80]
mov dword [rbx + 0x94], r14d
mov dword [rbx + 0x84], r14d
movzx edx, byte [rax]
mov dword [rbx + 0x70], edx
movzx eax, byte [rax + 1]
shl edx, cl
xor edx, eax
xor r9d, r9d
and edx, dword [rbx + 0x7c]
add r14d, 0xfffffffd
mov r10d, r9d
mov dword [rbx + 0x70], edx
nop
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x80]
mov edx, dword [rbx + 0x4c]
movzx r8d, byte [rax + r10 + 2]
mov eax, dword [rbx + 0x70]
and rdx, r10
shl eax, cl
mov rcx, qword [rbx + 0x60]
inc r10
xor r8d, eax
mov rax, qword [rbx + 0x68]
and r8d, dword [rbx + 0x7c]
mov dword [rbx + 0x70], r8d
movzx eax, word [rax + r8*2]
mov word [rcx + rdx*2], ax
mov ecx, dword [rbx + 0x70]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*2], r9w
inc r9d
cmp r9d, r14d
jbe 0x1400ad590
xor eax, eax
jmp 0x1400ad5e7
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400b22b0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x68], 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 0x1400b22f8
mov edi, dword [rsp + 0x60]
jmp 0x1400b230a
cmp byte [rbx + 0x6e], dil
jne 0x1400b230a
mov byte [rbx + 0x6e], 1
mov rcx, rbx
call fcn.1400c50e0
mov dword [rsp + 0x70], edi
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
cmp edi, 0x1000
cmovae rax, rcx
mov edi, dword [rax]
cmp byte [rbx + 0x6e], 0
jne 0x1400b2414
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400b234e
movsxd rdx, dword [rbx + 0x60]
sub rcx, rdx
cmp rdi, rcx
jle 0x1400b234e
mov edi, dword [rbx + 0x40]
sub edi, edx
je 0x1400b2414
lea rcx, [rbx + 0x48]
mov edx, edi
call fcn.14003e4c0
mov byte [rbx + 0x6d], 1
lea rcx, [rbx + 0x18]
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, edi
mov rdx, rax
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400b2414
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x1400b2406
sub ecx, 0x7c
je 0x1400b2406
dec ecx
je 0x1400b2414
cmp ecx, 0x2fb
je 0x1400b2414
mov byte [rbx + 0x6d], 0
mov edx, 0x22
lea rcx, [0x141604020]
call fcn.140015850
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, edi
mov rcx, rbx
call fcn.1400c51e0
nop
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400b23f6
cmp eax, 0xffffffff
je 0x1400b2414
lock dec dword [rcx]
jne 0x1400b2414
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
jmp 0x1400b2414
mov word [rbx + 0x6d], 0x100
mov rcx, rbx
call fcn.1400c50e0
add rsp, 0x48
pop rdi
pop rbx
ret