joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007d5b0
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.14007c360
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 0x14007d652
mov ebx, esi
jmp 0x14007d65d
mov rcx, rbx
call fcn.14001a740
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.14001a740
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 0x14007d6d0
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 0x14007d6d0
mov eax, dword [rsp + 0x60]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx]
test eax, eax
je 0x14007d6f6
cmp eax, 0xffffffff
je 0x14007d704
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14007d704
mov rcx, qword [rsp + 0x100]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
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 0x14007ea40
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
xor edx, edx
jmp fcn.140042020
test edx, edx
jne 0x14007eaa9
cmp r8d, 5
ja case.default.0x14007ea63
movsxd rax, r8d
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x7eadc]
add rdx, r8
jmp rdx
lea rdx, [0x1413d6bd0]
xor r9d, r9d
xor r8d, r8d
jmp fcn.140052580
xor r9d, r9d
lea rdx, [0x1413d6bd0]
lea r8d, [r9 + 1]
jmp fcn.140052580
mov rax, qword [r9 + 8]
mov edx, dword [rax]
jmp fcn.140076520
mov edx, 7
jmp fcn.140076520
jmp fcn.140076840
jmp 0x140042150
cmp edx, 0xa
jne case.default.0x14007ea63
mov rcx, qword [r9 + 8]
mov rax, qword [r9]
lea rdx, [fcn.14007ec00]
cmp qword [rcx], rdx
jne 0x14007eac7
mov dword [rax], 0
lea rdx, [fcn.14007eb00]
cmp qword [rcx], rdx
jne case.default.0x14007ea63
mov dword [rax], 1
ret

Function at 0x140086130
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x1414d1220]
test rcx, rcx
jne 0x14008615a
lea edx, [rcx + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1414d1220], rax
jmp 0x140086163
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x1414d1248]
mov rcx, qword [rbx - 0x10]
lea rax, [rbx - 0x10]
sub r10, rcx
mov r9, rax
sub r9, qword [rax + 8]
mov qword [0x1414d1248], r10
cmp qword [r9], 0
jne 0x14008619c
add qword [r9 + 0x20], rcx
mov rax, qword [r9 + 0x20]
lea r8, [r9 + 0x20]
mov qword [rax + r9 + 8], rax
jmp 0x1400861ca
xor edx, edx
lea r8, [rax + 0x20]
mov r9, rax
mov qword [r8], rcx
mov rcx, qword [0x1414d1240]
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x1400861c3
mov qword [rcx + 0x18], rax
mov qword [0x1414d1240], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x140086216
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400861f0
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
test rcx, rcx
je 0x140086203
mov qword [rcx + 0x10], rax
jmp 0x14008620a
mov qword [0x1414d1240], rax
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x14008627c
cmp qword [rdx], 1
jne 0x14008627c
mov rcx, qword [0x1414d1250]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x14008627c
mov qword [0x1414d1250], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140086251
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x10]
test rcx, rcx
je 0x140086264
mov qword [rcx + 0x10], rax
jmp 0x14008626b
mov qword [0x1414d1240], rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x1414d1220]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]
Function at 0x1400973e0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1414cdb60]
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 0x140097471
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000da20
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400940f0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140097461
cmp eax, 0xffffffff
je 0x14009747b
lock dec dword [rcx]
jne 0x14009747b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x14009747b
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400974a0
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 [0x1414cdb60]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
test r8d, r8d
je 0x140097673
dec r8d
je 0x140097604
dec r8d
jne 0x1400976d6
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 0x14009759e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140097553
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400976d6
call fcn.1400f9c94
jmp 0x1400976d6
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.14005dfc0
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 0x140097536
or r8d, 0xffffffff
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000da20
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400940f0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400975d8
cmp eax, 0xffffffff
je 0x1400975e7
lock dec dword [rcx]
jne 0x1400975e7
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400976e4
call fcn.1400f9c94
jmp 0x1400976e4
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 0x1400976d6
or r8d, 0xffffffff
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000da20
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400940f0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140097663
cmp eax, 0xffffffff
je 0x1400976e4
lock dec dword [rcx]
jne 0x1400976e4
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x1400976e4
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 0x1400976d6
or r8d, 0xffffffff
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.14000da20
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400940f0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400976c6
cmp eax, 0xffffffff
je 0x1400976e4
lock dec dword [rcx]
jne 0x1400976e4
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x1400976e4
mov dword [rdi + 8], 0x80000000
mov qword [rdi], 0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140097c80
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1414cdb60]
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 0x140097d22
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000da20
nop
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call fcn.140019ca0
lea edx, [rax + 1]
mov rcx, rdi
call fcn.140094170
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140097d12
cmp eax, 0xffffffff
je 0x140097d2f
lock dec dword [rcx]
jne 0x140097d2f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x140097d2f
mov edx, 1
mov rcx, rdi
call fcn.140094160
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140097d50
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 0x140097dbb
movsxd rcx, edi
add rcx, rcx
call fcn.1400fb798
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x140097db6
call fcn.1400f80f0
mov rax, qword [rbp - 0x51]
mov edi, dword [rbp - 0x55]
mov dword [rbp - 0x59], edi
jmp 0x140097dca
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 0x140097dee
lea rax, [0x14135c948]
mov qword [rbx], rax
jmp 0x140097e6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140097e5d
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 0x140097e1c
lea rax, [0x14135c948]
mov qword [rbx], rax
jmp 0x140097e6e
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.14005dfc0
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 0x140097e5d
lea rax, [0x14135c948]
mov qword [rbx], rax
jmp 0x140097e6e
or r8d, 0xffffffff
mov rdx, qword [rbp - 0x51]
mov rcx, rbx
call fcn.14000da20
nop
lea rax, [rbp - 0x49]
mov rcx, qword [rbp - 0x51]
cmp rcx, rax
je 0x140097e80
call fcn.1400f9c94
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 0x140098510
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 0x1400985f4
or r8d, 0xffffffff
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000da20
nop
mov dword [rsp + 0x30], 1
lea rax, [0x14142bc98]
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.140012200
test al, al
je 0x1400985cc
mov edx, 1
mov rcx, rdi
call fcn.140094160
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400985bc
cmp eax, 0xffffffff
je 0x1400985fe
lock dec dword [rcx]
jne 0x1400985fe
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x1400985fe
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400985e6
cmp eax, 0xffffffff
je 0x1400985f4
lock dec dword [rcx]
jne 0x1400985f4
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
xor edx, edx
mov rcx, rdi
call fcn.140094160
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140098a00
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1414cdb60]
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 0x140098a91
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14000da20
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400940f0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140098a81
cmp eax, 0xffffffff
je 0x140098a9b
lock dec dword [rcx]
jne 0x140098a9b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x140098a9b
mov dword [rbx + 8], 0x80000000
mov qword [rbx], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140099140
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 4], 0
mov rbx, rcx
jne 0x140099204
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 0x14009919d
mov dword [rbx + 4], 3
mov eax, 3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400face0
add rsp, 0x50
pop rbx
ret
movzx eax, word [rsp + 0x20]
cmp ax, 0x31
jne 0x1400991b1
mov dword [rbx + 4], 3
jmp 0x140099204
cmp ax, 0x30
jne 0x1400991c0
mov dword [rbx + 4], 1
jmp 0x140099204
cmp ax, 0x32
jne 0x1400991cf
mov dword [rbx + 4], 2
jmp 0x140099204
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 0x14009917e
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.1400face0
add rsp, 0x50
pop rbx
ret
Function at 0x14009a500
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x1414cdb60]
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, [0x14135c948]
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 0x14009a5b3
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14000da20
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 0x14009a5a5
cmp eax, 0xffffffff
je 0x14009a5b3
lock dec dword [rcx]
jne 0x14009a5b3
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400a5a10
Capabilities:
Get common file path

Disassembly:
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 0x1400a5a99
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.14005dec0
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.14000da20
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400a5abe
call fcn.1400f9c94
mov rax, rbx
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x1400abd00
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 0x1400abdaf
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.1400f8e80
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 0x1400abd80
sub eax, ebx
jmp 0x1400abd82
xor eax, eax
mov word [rdx], ax
dec r8d
jne 0x1400abd70
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 0x1400abda4
sub eax, ebx
jmp 0x1400abda6
xor eax, eax
mov word [rcx], ax
dec edx
jne 0x1400abd94
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x1400abe9c
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.1400ac0f0
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x1400abe17
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 0x1400abe2d
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x1400abd20
mov ecx, dword [rdi + 0x1718]
mov esi, dword [rdi + 0x58]
cmp ecx, esi
jae 0x1400abe9c
mov ebx, dword [rdi + 0x94]
add ebx, r9d
cmp ecx, ebx
jae 0x1400abe6e
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.1400fad10
lea eax, [rsi + rbx]
mov dword [rdi + 0x1718], eax
jmp 0x1400abe9c
lea eax, [rbx + 0x102]
cmp ecx, eax
jae 0x1400abe9c
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.1400fad10
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 0x1400ad480
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 0x1400ad5a2
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x1400ad5a2
test rdx, rdx
je 0x1400ad5a2
mov eax, dword [rbx + 0x2c]
cmp eax, 2
je 0x1400ad5a2
cmp eax, 1
jne 0x1400ad4e0
cmp dword [rbx + 8], 0x2a
jne 0x1400ad5a2
cmp eax, 0
je 0x1400ad4f0
mov ecx, dword [rcx + 0x4c]
call sym.Xin_1105_Q.exe_z_adler32
mov dword [rbp + 0x4c], eax
cmp edi, 3
jb 0x1400ad59e
mov eax, dword [rbx + 0x44]
cmp edi, eax
jbe 0x1400ad50a
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.1400f8e80
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 0x1400ad550
xor eax, eax
jmp 0x1400ad5a7
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 0x1400b25a0
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 0x1400b25e8
mov edi, dword [rsp + 0x60]
jmp 0x1400b25fa
cmp byte [rbx + 0x78], dil
jne 0x1400b25fa
mov byte [rbx + 0x78], 1
mov rcx, rbx
call fcn.1400c5b70
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 + 0x78], 0
jne 0x1400b26f5
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400b263e
movsxd rdx, dword [rbx + 0x60]
sub rcx, rdx
cmp rdi, rcx
jle 0x1400b263e
mov edi, dword [rbx + 0x40]
sub edi, edx
je 0x1400b26f5
lea rcx, [rbx + 0x48]
mov edx, edi
call fcn.14003d770
mov byte [rbx + 0x6c], 1
lea rcx, [rbx + 0x18]
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 0x1400b26f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x6d
je 0x1400b26e5
sub ecx, 0x7c
je 0x1400b26e5
dec ecx
je 0x1400b26f5
cmp ecx, 0x2fb
je 0x1400b26f5
mov byte [rbx + 0x6c], 0
mov edx, 0x22
lea rcx, [0x14143eea0]
call fcn.140014c00
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, edi
mov rcx, rbx
call fcn.1400c5c70
nop
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400b26d5
cmp eax, 0xffffffff
je 0x1400b26f5
lock dec dword [rcx]
jne 0x1400b26f5
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
jmp 0x1400b26f5
mov byte [rbx + 0x6c], 0
mov byte [rbx + 0x78], 1
mov rcx, rbx
call fcn.1400c5b70
add rsp, 0x48
pop rdi
pop rbx
ret