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

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x231976840
test ebx, ebx
jle 0x231976830
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.2319756e0
test rax, rax
jne 0x23197681d
add rsp, 0x20
pop rbx
ret

Function at 0x231976930
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x2319769a8
test byte [rbx + 0x40], 0xc
jne 0x23197695f
mov eax, dword [0x231f0acf8]
test eax, eax
jne 0x231976970
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.231974840
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x231976993
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x231976993
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x2319769bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.231974b30
call fcn.2319756e0
test rax, rax
mov rbx, rax
jne 0x23197694f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x2319769da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.231974b30
call fcn.231976850
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x231976a60
call fcn.231974600
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x231976a98
call fcn.231975630
mov ecx, dword [0x231ec8668]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x231976af0
test esi, esi
je 0x231976a76
call fcn.231976930
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x231976ad0
mov edx, edi
call fcn.2319746b0
call fcn.231976930
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x231976ae0
call fcn.231976930
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.231976930
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.231975630
mov ecx, dword [0x231ec8668]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x231976a35
call fcn.2319756e0
mov rbx, rax
jmp 0x231976a35
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x231976a4e
call fcn.2319756e0
jmp 0x231976a76
call fcn.2319756e0
mov rbx, rax
jmp 0x231976a31
Function at 0x2319769f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x2319769a8
test byte [rbx + 0x40], 0xc
jne 0x23197695f
mov eax, dword [0x231f0acf8]
test eax, eax
jne 0x231976970
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.231974840
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x231976993
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x231976993
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x2319769bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.231974b30
call fcn.2319756e0
test rax, rax
mov rbx, rax
jne 0x23197694f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x2319769da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.231974b30
call fcn.231976850
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x231976a60
call fcn.231974600
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x231976a98
call fcn.231975630
mov ecx, dword [0x231ec8668]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x231976af0
test esi, esi
je 0x231976a76
call fcn.231976930
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x231976ad0
mov edx, edi
call fcn.2319746b0
call fcn.231976930
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x231976ae0
call fcn.231976930
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.231976930
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.231975630
mov ecx, dword [0x231ec8668]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x231976a35
call fcn.2319756e0
mov rbx, rax
jmp 0x231976a35
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x231976a4e
call fcn.2319756e0
jmp 0x231976a76
call fcn.2319756e0
mov rbx, rax
jmp 0x231976a31

Function at 0x231976b00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.231975630
mov ecx, dword [0x231ec8668]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x231976b70
test esi, esi
je 0x231976b50
call fcn.231976930
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x231976b80
mov edx, esi
call fcn.2319746b0
call fcn.231976930
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.231976930
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.231976930
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.2319756e0
mov rbx, rax
jmp 0x231976b21
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x231976b3a
Function at 0x231977f60
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x231ec8678]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call fcn.231974e40
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x231977fa9
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x231977fa9
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call fcn.231974e80
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x20], 0x28
lea r9, str..._.._src_mingw_w64_mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov rcx, rax
lea rdx, str.Assertion_failed:___s___file__s__line__d_n
call fcn.2319733b0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop word cs:[rax + rax]
nop
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
neg eax
mov rbx, rcx
mov dword [rcx + 0x10], 0
mov dword [rcx + 0xc], eax
lea rcx, [rcx + 0x20]
call fcn.231974b30
lea rcx, [rbx + 0x18]
add rsp, 0x20
pop rbx
jmp fcn.231974b30

Function at 0x2319783d0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.231978230
test eax, eax
je 0x2319783f8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.231974840
test eax, eax
jne 0x231978421
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x231978438
mov rcx, rdi
call fcn.231974b30
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.231977f60
lea r12, [rsi + 0x20]
mov rcx, r12
call fcn.231974840
test eax, eax
mov ebp, eax
je 0x231978460
mov rcx, rdi
call fcn.231974b30
mov edx, ebp
jmp 0x231978423
mov eax, dword [rsi + 0x10]
mov rcx, r12
mov dword [rsi + 0x10], 0
sub dword [rsi + 0xc], eax
call fcn.231974b30
mov rcx, rdi
mov esi, eax
call fcn.231974b30
test esi, esi
cmove esi, eax
mov edx, esi
jmp 0x231978423

Function at 0x231978700
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call fcn.231977ef0
test eax, eax
jne 0x231978780
mov rdi, qword [rbx]
mov edx, dword [rdi + 8]
lea rbp, [rdi + 0x20]
test edx, edx
je 0x231978758
lock sub dword [rdi + 8], 1
mov rcx, rbp
call fcn.231974b30
lea rcx, [rdi + 0x18]
mov esi, eax
call fcn.231974b30
test esi, esi
cmove esi, eax
mov edx, esi
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.231977f60
mov rcx, rbp
call fcn.231974840
test eax, eax
mov esi, eax
jne 0x23197873f
lock add dword [rdi + 0x10], 1
mov eax, dword [rdi + 0x10]
test eax, eax
je 0x231978790
mov rcx, rbp
call fcn.231974b30
mov esi, eax
jmp 0x23197873f
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, [rdi + 0x28]
call fcn.231973d60
mov rcx, rbp
mov esi, eax
call fcn.231974b30
test esi, esi
cmove esi, eax
jmp 0x23197873f
Function at 0x2319787b0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, rcx
call fcn.231978230
test eax, eax
je 0x2319787d8
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.231974840
test eax, eax
mov ebp, eax
jne 0x231978829
lea r12, [rsi + 0x20]
mov rcx, r12
call fcn.231974840
test eax, eax
mov ebp, eax
jne 0x2319788c0
mov edx, dword [rsi + 8]
test edx, edx
jne 0x231978824
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x231978820
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x231978840
lock add dword [rsi + 8], 1
mov edx, ebp
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.231977f60
mov qword [rsp + 0x28], rsi
lea r13, [rsi + 0x28]
neg eax
mov dword [rsi + 0x10], eax
lea rax, [0x231977ff0]
mov qword [rsp + 0x20], rax
call fcn.231976660
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.231976660
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x23197888f
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x2319788d0
mov rdx, r12
mov rcx, r13
call fcn.231973fc0
test eax, eax
mov edi, eax
je 0x231978888
call fcn.231976660
mov rdx, qword [rsp + 0x30]
mov ebp, edi
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
jmp 0x231978829
mov rcx, rdi
call fcn.231974b30
jmp 0x231978829
call fcn.231976660
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x231978824
Function at 0x2319ef8a0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cmp eax, 0xffffffff
movsxd rbp, eax
je 0x2319ef8e8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x2319ef8ba
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001540
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1403710d8]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [rcx], 3
mov rdi, rcx
jne 0x1400015cb
xor ebx, ebx
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov dword [rsp + 0x38], 0xc3d2e1f0
lea edx, [rbx + 0x10]
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x28]
mov eax, dword [r8]
mov rcx, qword [rdi + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x1400015a1
mov rax, qword [rdi + 0x10]
mov dword [rax], ebx
mov rax, qword [rdi + 0x10]
mov dword [rax + 4], ebx
jmp 0x1400016d4
cmp dword [rcx], 4
jne 0x140001638
xor ebx, ebx
lea rcx, [rsp + 0x3c]
xor edx, edx
lea r8d, [rbx + 0x40]
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov dword [rsp + 0x38], 0xc3d2e1f0
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x28]
lea edx, [rbx + 0x10]
mov eax, dword [r8]
mov rcx, qword [rdi + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x14000161e
jmp 0x1400015b9
cmp dword [rcx], 1
jne 0x140001694
xor ebx, ebx
mov dword [rsp + 0x68], 0x67452301
mov dword [rsp + 0x6c], 0xefcdab89
mov dword [rsp + 0x70], 0x98badcfe
mov dword [rsp + 0x74], 0x10325476
mov dword [rsp + 0x78], 0xc3d2e1f0
lea edx, [rbx + 0x10]
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x68]
mov eax, dword [r8]
mov rcx, qword [rdi + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x140001677
jmp 0x1400015b9
cmp dword [rcx], 2
jne 0x1400016dc
lea rcx, [rsp + 0x20]
call fcn.140003780
lea r8, [rsp + 0x20]
mov edx, 0x1c
mov eax, dword [r8]
mov rcx, qword [rdi + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x1400016ad
mov rcx, qword [rdi + 0x10]
xor ebx, ebx
mov dword [rcx], ebx
mov rcx, qword [rdi + 0x10]
mov dword [rcx + 4], ebx
mov dword [rdi + 0x20], ebx
mov ax, bx
jmp 0x1400016e1
mov eax, recv
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14028a900
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x140003780
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
lea r8d, [rdx + 0x40]
add rcx, 0x28
call sub.MSVCR90.dll_memset
and dword [rbx + 0x24], 0
and dword [rbx + 0x20], 0
add rsp, 0x20
pop rbx
ret
Function at 0x1400037e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r11d, dword [rcx]
mov esi, dword [rcx + 4]
mov ebp, dword [rcx + 8]
mov r14d, dword [rcx + 0xc]
mov ebx, dword [rcx + 0x10]
mov r12d, dword [rcx + 0x14]
mov r13d, dword [rcx + 0x18]
mov r15d, dword [rcx + 0x1c]
mov r10, qword [rsp + 0x50]
lea r9, [rcx + 0x28]
lea rax, [0x140338710]
xor edi, edi
sub r9, rax
mov qword [rsp + 0x60], reloc.WS2_32.dll_recv
mov ecx, dword [r10]
add r10, 4
mov r8d, ebx
rol ecx, 0x10
mov eax, ecx
mov edx, ecx
shl ecx, 8
shl eax, 8
shr edx, 8
xor edx, eax
lea rax, [r9 + rdi*4]
and edx, 0xff00ff
xor edx, ecx
ror r8d, 0xb
lea rcx, [0x140338710]
mov dword [rax + rcx], edx
mov eax, ebx
mov ecx, ebx
rol eax, 7
not ecx
xor r8d, eax
and ecx, r13d
mov eax, ebx
ror eax, 6
xor r8d, eax
mov eax, r12d
and eax, ebx
xor ecx, eax
lea rax, [0x140338710]
add r8d, ecx
mov ecx, esi
add r8d, dword [rax + rdi*4]
xor ecx, r11d
mov eax, r11d
add r8d, edx
and ecx, ebp
mov edx, r11d
add r8d, r15d
ror edx, 0xd
rol eax, 0xa
xor edx, eax
mov eax, r11d
mov r15d, r13d
ror eax, 2
mov r13d, r12d
mov r12d, ebx
xor edx, eax
mov eax, esi
lea ebx, [r8 + r14]
and eax, r11d
mov r14d, ebp
mov ebp, esi
xor ecx, eax
mov esi, r11d
inc rdi
add edx, ecx
lea r11d, [rdx + r8]
mov r8d, reloc.WS2_32.dll_recv
cmp rdi, r8
jl 0x140003830
mov r10, qword [rsp + 0x48]
lea rax, [0x140338710]
lea ecx, [r8 - 2]
lea rax, [rax + rdi*4]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
lea eax, [rcx + 3]
mov r9d, r8d
and eax, 0xf
and r9d, 0xf
mov edx, dword [r10 + rax*4 + 0x28]
mov rax, rcx
and eax, 0xf
mov ecx, dword [r10 + rax*4 + 0x28]
mov r8d, ecx
mov eax, ecx
shr ecx, 0xa
rol r8d, 0xf
rol eax, 0xd
xor r8d, eax
mov eax, edx
xor r8d, ecx
mov ecx, edx
shr edx, 3
rol ecx, 0xe
ror eax, 7
xor ecx, eax
mov rax, qword [rsp + 0x50]
xor ecx, edx
add eax, 0xfffffffb
mov edx, r11d
add r8d, ecx
and eax, 0xf
mov ecx, ebx
add r8d, dword [r10 + rax*4 + 0x28]
not ecx
mov eax, ebx
add dword [r10 + r9*4 + 0x28], r8d
and ecx, r13d
mov r8d, ebx
ror r8d, 0xb
rol eax, 7
xor r8d, eax
mov eax, ebx
ror eax, 6
xor r8d, eax
mov eax, r12d
and eax, ebx
xor ecx, eax
mov rax, qword [rsp + 0x58]
add qword [rsp + 0x58], 4
add r8d, ecx
mov ecx, esi
add r8d, dword [rax]
xor ecx, r11d
mov eax, r11d
add r8d, dword [r10 + r9*4 + 0x28]
and ecx, ebp
add r8d, r15d
ror edx, 0xd
rol eax, 0xa
xor edx, eax
mov eax, r11d
mov r15d, r13d
ror eax, 2
mov r13d, r12d
mov r12d, ebx
xor edx, eax
lea ebx, [r8 + r14]
mov eax, esi
and eax, r11d
mov r14d, ebp
mov ebp, esi
xor ecx, eax
mov esi, r11d
add edx, ecx
mov rcx, qword [rsp + 0x50]
lea r11d, [rdx + r8]
mov r8, qword [rsp + 0x60]
inc ecx
inc r8d
cmp ecx, 0x3e
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], r8
jl 0x140003907
add dword [r10], r11d
add dword [r10 + 4], esi
add dword [r10 + 8], ebp
add dword [r10 + 0xc], r14d
add dword [r10 + 0x10], ebx
add dword [r10 + 0x14], r12d
add dword [r10 + 0x18], r13d
add dword [r10 + 0x1c], r15d
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003af4
Capabilities:
Encode data using xor

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 r12
push r13
push r14
sub rsp, 0x20
mov r12, rcx
mov ecx, dword [rdx + 0x20]
xor ebp, ebp
mov rdi, rdx
cmp r12, rbp
je 0x140003c1a
mov edx, ecx
shr edx, 3
and edx, 0x3f
rol ecx, 0x10
mov r13d, ecx
mov eax, ecx
shl ecx, 8
shr r13d, 8
shl eax, 8
xor r13d, eax
and r13d, 0xff00ff
xor r13d, ecx
mov ecx, dword [rdi + 0x24]
rol ecx, 0x10
mov r14d, ecx
mov eax, ecx
shl ecx, 8
shr r14d, 8
shl eax, 8
xor r14d, eax
and r14d, 0xff00ff
xor r14d, ecx
cmp edx, ebp
jbe 0x140003bc2
lea esi, [rbp + 0x38]
mov byte [rdx + rdi + 0x28], 0x80
inc edx
cmp edx, esi
ja 0x140003b8c
sub esi, edx
lea rcx, [rdx + rdi + 0x28]
mov r8d, esi
jmp 0x140003bb9
mov eax, 0x40
cmp edx, eax
jae 0x140003ba6
sub eax, edx
lea rcx, [rdx + rdi + 0x28]
xor edx, edx
mov r8d, eax
call sub.MSVCR90.dll_memset
lea rdx, [rdi + 0x28]
mov rcx, rdi
call fcn.1400037e0
mov r8, rsi
lea rcx, [rdi + 0x28]
xor edx, edx
call sub.MSVCR90.dll_memset
jmp 0x140003bd5
xor edx, edx
lea rcx, [rdi + 0x28]
lea r8d, [rdx + 0x38]
call sub.MSVCR90.dll_memset
mov byte [rdi + 0x28], 0x80
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov dword [rdi + 0x64], r13d
mov dword [rdi + 0x60], r14d
call fcn.1400037e0
mov ecx, dword [rdi + rbp*4]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rdi + rbp*4], edx
inc rbp
mov dword [r12], edx
add r12, 4
cmp rbp, 8
jl 0x140003be9
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov dword [rdi], eax
mov dword [rdi + 4], eax
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14000fdd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x478
mov rax, qword [0x1403710d8]
xor rax, rsp
mov qword [rsp + 0x468], rax
cmp qword [rsp + 0x480], 0
jne 0x14000fe0b
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000ff61
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x14000fe2f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000ff61
movzx eax, word [0x140372820]
test eax, eax
jne 0x14000feb2
mov edx, 0x209
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r11d, r11d
mov word [rsp + 0x450], r11w
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
cdqe
movzx eax, word [rsp + rax*2 + 0x40]
cmp eax, 0x5c
je 0x14000fe86
lea r8, [0x140293070]
mov edx, 0x209
lea rcx, [rsp + 0x40]
call fcn.14000afd0
lea r8, [rsp + 0x40]
mov edx, 0x209
lea rcx, [0x140372820]
call fcn.14000af60
lea rcx, [0x140372820]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov qword [0x140372c38], rax
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140372c38]
mov rax, qword [rsp + 0x28]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x20], rax
mov eax, 2
mul qword [rsp + 0x20]
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000ff1b
xor eax, eax
jmp 0x14000ff61
mov r8, qword [rsp + 0x20]
shl r8, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.MSVCR90.dll_memset
lea r8, [0x140372820]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.14000af60
mov r8, qword [rsp + 0x480]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.14000afd0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.14028a900
add rsp, 0x478
ret
Function at 0x140011690
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14001173b
mov dword [rsp + 0x30], 0
jmp 0x1400116d2
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jge 0x140011730
movsxd rax, dword [rsp + 0x30]
lea rdx, str._manual
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x140011705
mov dword [0x14037390c], 1
movsxd rax, dword [rsp + 0x30]
lea rdx, str._admin
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14001172e
mov dword [0x140373910], 1
jmp 0x1400116c7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsp, 0x48
ret

Function at 0x140017780
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140017870
mov rcx, qword [rsp + 0x40]
add rcx, 0x10
call fcn.140267cb0
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140017861
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140017804
cmp dword [rsp + 0x24], 0x80
je 0x14001780f
cmp dword [rsp + 0x24], 0x102
je 0x140017824
jmp 0x140017858
mov rax, qword [rsp + 0x40]
mov byte [rax + 8], 1
jmp 0x140017861
mov rax, qword [rsp + 0x40]
mov byte [rax + 8], 1
mov rcx, qword [rsp + 0x40]
call fcn.140017870
jmp 0x140017861
mov rax, qword [rsp + 0x40]
mov byte [rax + 8], 0
xor r8d, r8d
lea rdx, str...............AhnLabCommonMedicineFramework2.5TrunkSrcCommonClassDMZManager.cpp
lea rcx, [0x1403749c0]
call fcn.14002d540
lea rdx, str._CDMZManagerSimpleLock::Lock__t_o
lea rcx, [0x1403749c0]
call fcn.14002d6f0
jmp 0x140017861
mov rax, qword [rsp + 0x40]
mov byte [rax + 8], 0
add rsp, 0x38
ret