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

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov r14, rdx
call fcn.140029890
mov esi, eax
test eax, eax
je 0x140029599
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
lea r12, [0x140361610]
mov qword [rsp + 0x20], r15
xor r15d, r15d
test eax, eax
jne 0x140029486
mov edi, r15d
jmp 0x1400294a4
mov ecx, esi
mov eax, esi
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rdi, [rax + rcx*8]
movsxd rbx, dword [r14 + 8]
mov rbp, qword [rdi + 8]
lea eax, [rbx + 1]
mov dword [r14 + 8], eax
cmp eax, dword [r14 + 0xc]
jle 0x1400294c3
mov edx, ebx
mov rcx, r14
call fcn.1400849e0
mov rax, qword [r14]
lea rdx, [rax + rbx*8]
test rdx, rdx
je 0x1400294d2
mov qword [rdx], rbp
mov ecx, dword [0x140361500]
mov ebp, esi
mov esi, dword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140029516
lea ecx, [rax + 0xc]
call fcn.14000c600
mov rbx, rax
test rax, rax
je 0x140029504
mov qword [rax], r15
mov dword [rax + 8], r15d
jmp 0x140029507
mov rbx, r15
mov ecx, dword [0x140361500]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 8], 0x40
jl 0x140029537
mov edx, dword [rbx]
test edx, edx
je 0x14002952e
lea rcx, [0x140361508]
call fcn.14002b250
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov qword [rbx + 4], r15
test ebp, ebp
jne 0x140029540
mov rcx, r15
jmp 0x140029560
mov rcx, rbp
mov rax, rbp
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
and qword [rcx], 0xfffffffffc000000
mov dword [rcx + 0x10], r15d
mov eax, dword [rbx + 4]
mov qword [rcx + 8], rax
inc dword [rbx + 8]
mov dword [rbx + 4], ebp
test esi, esi
jne 0x140029486
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x1400295b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov r14, rdx
call fcn.140029970
mov esi, eax
test eax, eax
je 0x140029709
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
lea r12, [0x140361610]
mov qword [rsp + 0x20], r15
xor r15d, r15d
test eax, eax
jne 0x1400295f6
mov edi, r15d
jmp 0x140029614
mov ecx, esi
mov eax, esi
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rdi, [rax + rcx*8]
movsxd rbx, dword [r14 + 8]
mov rbp, qword [rdi + 8]
lea eax, [rbx + 1]
mov dword [r14 + 8], eax
cmp eax, dword [r14 + 0xc]
jle 0x140029633
mov edx, ebx
mov rcx, r14
call fcn.1400849e0
mov rax, qword [r14]
lea rdx, [rax + rbx*8]
test rdx, rdx
je 0x140029642
mov qword [rdx], rbp
mov ecx, dword [0x140361500]
mov ebp, esi
mov esi, dword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140029686
lea ecx, [rax + 0xc]
call fcn.14000c600
mov rbx, rax
test rax, rax
je 0x140029674
mov qword [rax], r15
mov dword [rax + 8], r15d
jmp 0x140029677
mov rbx, r15
mov ecx, dword [0x140361500]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 8], 0x40
jl 0x1400296a7
mov edx, dword [rbx]
test edx, edx
je 0x14002969e
lea rcx, [0x140361508]
call fcn.14002b250
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov qword [rbx + 4], r15
test ebp, ebp
jne 0x1400296b0
mov rcx, r15
jmp 0x1400296d0
mov rcx, rbp
mov rax, rbp
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
and qword [rcx], 0xfffffffffc000000
mov dword [rcx + 0x10], r15d
mov eax, dword [rbx + 4]
mov qword [rcx + 8], rax
inc dword [rbx + 8]
mov dword [rbx + 4], ebp
test esi, esi
jne 0x1400295f6
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140029720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov r14, rdx
call fcn.140029a50
mov esi, eax
test eax, eax
je 0x140029879
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
lea r12, [0x140361610]
mov qword [rsp + 0x20], r15
xor r15d, r15d
test eax, eax
jne 0x140029766
mov edi, r15d
jmp 0x140029784
mov ecx, esi
mov eax, esi
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rdi, [rax + rcx*8]
movsxd rbx, dword [r14 + 8]
mov rbp, qword [rdi + 8]
lea eax, [rbx + 1]
mov dword [r14 + 8], eax
cmp eax, dword [r14 + 0xc]
jle 0x1400297a3
mov edx, ebx
mov rcx, r14
call fcn.1400849e0
mov rax, qword [r14]
lea rdx, [rax + rbx*8]
test rdx, rdx
je 0x1400297b2
mov qword [rdx], rbp
mov ecx, dword [0x140361500]
mov ebp, esi
mov esi, dword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400297f6
lea ecx, [rax + 0xc]
call fcn.14000c600
mov rbx, rax
test rax, rax
je 0x1400297e4
mov qword [rax], r15
mov dword [rax + 8], r15d
jmp 0x1400297e7
mov rbx, r15
mov ecx, dword [0x140361500]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 8], 0x40
jl 0x140029817
mov edx, dword [rbx]
test edx, edx
je 0x14002980e
lea rcx, [0x140361508]
call fcn.14002b250
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov qword [rbx + 4], r15
test ebp, ebp
jne 0x140029820
mov rcx, r15
jmp 0x140029840
mov rcx, rbp
mov rax, rbp
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
and qword [rcx], 0xfffffffffc000000
mov dword [rcx + 0x10], r15d
mov eax, dword [rbx + 4]
mov qword [rcx + 8], rax
inc dword [rbx + 8]
mov dword [rbx + 4], ebp
test esi, esi
jne 0x140029766
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140029b30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push r14
sub rsp, 0x38
movups xmm0, xmmword [r8]
mov r14, rdx
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140029ca0
mov esi, eax
test eax, eax
je 0x140029c97
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r12
lea r12, [0x140361610]
mov qword [rsp + 0x30], r15
xor r15d, r15d
test eax, eax
jne 0x140029b84
mov edi, r15d
jmp 0x140029ba2
mov ecx, esi
mov eax, esi
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rdi, [rax + rcx*8]
movsxd rbx, dword [r14 + 8]
mov rbp, qword [rdi + 8]
lea eax, [rbx + 1]
mov dword [r14 + 8], eax
cmp eax, dword [r14 + 0xc]
jle 0x140029bc1
mov edx, ebx
mov rcx, r14
call fcn.1400849e0
mov rax, qword [r14]
lea rdx, [rax + rbx*8]
test rdx, rdx
je 0x140029bd0
mov qword [rdx], rbp
mov ecx, dword [0x140361500]
mov ebp, esi
mov esi, dword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140029c14
lea ecx, [rax + 0xc]
call fcn.14000c600
mov rbx, rax
test rax, rax
je 0x140029c02
mov qword [rax], r15
mov dword [rax + 8], r15d
jmp 0x140029c05
mov rbx, r15
mov ecx, dword [0x140361500]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 8], 0x40
jl 0x140029c35
mov edx, dword [rbx]
test edx, edx
je 0x140029c2c
lea rcx, [0x140361508]
call fcn.14002b250
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov qword [rbx + 4], r15
test ebp, ebp
jne 0x140029c3e
mov rcx, r15
jmp 0x140029c5e
mov rcx, rbp
mov rax, rbp
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [r12 + rax*8 + 0x108]
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
and qword [rcx], 0xfffffffffc000000
mov dword [rcx + 0x10], r15d
mov eax, dword [rbx + 4]
mov qword [rcx + 8], rax
inc dword [rbx + 8]
mov dword [rbx + 4], ebp
test esi, esi
jne 0x140029b84
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop r14
pop rsi
ret
Function at 0x14002b3a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov esi, edx
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
mov rbx, rax
test rax, rax
jne 0x14002b3f1
lea ecx, [rax + 0xc]
call fcn.14000c600
mov rbx, rax
test rax, rax
je 0x14002b3e3
mov qword [rax], rbp
mov dword [rax + 8], ebp
jmp 0x14002b3e6
mov rbx, rbp
mov ecx, dword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [rbx + 8], 0x40
jl 0x14002b40f
mov edx, dword [rbx]
test edx, edx
je 0x14002b406
lea rcx, [rdi + 8]
call fcn.14002b250
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov qword [rbx + 4], rbp
test esi, esi
jne 0x14002b418
mov rcx, rbp
jmp 0x14002b43b
mov rcx, rsi
lea rdx, [0x140361718]
mov rax, rsi
shr rax, 0xe
and ecx, 0x3fff
mov rax, qword [rdx + rax*8]
lea rcx, [rcx + rcx*2]
lea rcx, [rax + rcx*8]
and qword [rcx], 0xfffffffffc000000
mov dword [rcx + 0x10], ebp
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x38]
mov qword [rcx + 8], rax
inc dword [rbx + 8]
mov dword [rbx + 4], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002c780
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rbp, [rcx + 0x38]
mov r14, rcx
test rdx, rdx
je 0x14002c7bc
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14002c7bc
xor r8d, r8d
xor edx, edx
call fcn.140043740
mov qword [rbp + 8], rax
mov ebx, dword [r14 + 0x48]
test ebx, ebx
je 0x14002c976
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call fcn.140014640
test ebx, ebx
jle 0x14002c823
xor r8d, r8d
mov r9d, ebx
nop dword [rax]
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rbp
inc r8
or rdx, qword [rbp + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x14002c7f0
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x14002c96e
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r12
lea r12, [0x140358bf0]
nop dword [rax]
mov rax, qword [rsp + 0x20]
movsxd rdi, r15d
shl rdi, 5
add rdi, qword [rax]
cmp dword [rdi + 8], 0
je 0x14002c87a
mov rsi, qword [rdi]
jmp 0x14002c881
lea rsi, [0x14025d748]
movzx eax, word [rsi]
xor ebx, ebx
test ax, ax
je 0x14002c8d0
nop dword [rax + rax]
movzx ecx, ax
lea rsi, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rsi]
xor ebx, edx
test ax, ax
jne 0x14002c890
mov r8d, dword [r14 + 0x48]
dec r8d
and r8d, ebx
mov dword [rdi + 0x1c], r8d
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rdx + rcx*4]
mov dword [rdi + 0x18], eax
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x14002c860
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x14003e340
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx], 0xffffffff
mov rdi, rdx
mov rbx, rcx
jne 0x14003e36f
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
or eax, 0xffffffff
lock cmpxchg dword [rdi], ecx
cmp eax, 0xffffffff
je 0x14003e36f
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14003e39b
mov rcx, qword [rbx + 8]
call qword [rbx]
mov rcx, rax
mov rbx, rax
call fcn.140043810
mov ecx, dword [rdi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140043810
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14036c768]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004386a
mov qword [rsp + 0x30], rbx
lea rbx, [rax + 0x30]
mov qword [rsp + 0x38], rdi
movsxd rdi, dword [rbx + 8]
lea eax, [rdi + 1]
mov dword [rbx + 8], eax
cmp eax, dword [rbx + 0xc]
jle 0x140043851
mov edx, edi
mov rcx, rbx
call fcn.140044680
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
lea rdx, [rax + rdi*8]
mov rdi, qword [rsp + 0x38]
test rdx, rdx
je 0x14004386a
mov qword [rdx], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x140043870
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rbp, [rcx + 0x38]
mov r14, rcx
test rdx, rdx
je 0x1400438cc
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov r10, qword [rbp + 8]
test r10, r10
je 0x1400438cc
mov rcx, qword [0x14038e9b0]
test rcx, rcx
jne 0x1400438b9
xor r8d, r8d
xor edx, edx
mov rcx, r10
call fcn.140043770
jmp 0x1400438c8
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
call qword [rax + 0x18]
mov qword [rbp + 8], rax
mov ebx, dword [r14 + 0x48]
test ebx, ebx
je 0x140043a86
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call fcn.140014640
test ebx, ebx
jle 0x140043933
xor r8d, r8d
mov r9d, ebx
nop dword [rax]
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rbp
inc r8
or rdx, qword [rbp + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x140043900
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x140043a7e
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r12
lea r12, [0x140358bf0]
nop dword [rax]
mov rax, qword [rsp + 0x20]
movsxd rdi, r15d
shl rdi, 5
add rdi, qword [rax]
cmp dword [rdi + 8], 0
je 0x14004398a
mov rsi, qword [rdi]
jmp 0x140043991
lea rsi, [0x14025d748]
movzx eax, word [rsi]
xor ebx, ebx
test ax, ax
je 0x1400439e0
nop dword [rax + rax]
movzx ecx, ax
lea rsi, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rsi]
xor ebx, edx
test ax, ax
jne 0x1400439a0
mov r9d, dword [r14 + 0x48]
dec r9d
and r9d, ebx
mov dword [rdi + 0x1c], r9d
mov eax, dword [r14 + 0x48]
dec eax
movsxd rdx, eax
movsxd rax, r9d
and rdx, rax
mov rax, qword [rbp + 8]
neg rax
sbb rcx, rcx
neg rcx
dec rcx
and rcx, rbp
or rcx, qword [rbp + 8]
mov eax, dword [rcx + rdx*4]
mov dword [rdi + 0x18], eax
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r9d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x140043970
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x140043a90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rsi, [rcx + 0x38]
mov rbp, rcx
test rdx, rdx
je 0x140043aeb
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov r10, qword [rsi + 8]
test r10, r10
je 0x140043aeb
mov rcx, qword [0x14038e9b0]
test rcx, rcx
jne 0x140043ad8
xor r8d, r8d
xor edx, edx
mov rcx, r10
call fcn.140043770
jmp 0x140043ae7
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
call qword [rax + 0x18]
mov qword [rsi + 8], rax
mov ebx, dword [rbp + 0x48]
test ebx, ebx
je 0x140043ca5
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call fcn.140014640
test ebx, ebx
jle 0x140043b52
xor r8d, r8d
mov r9d, ebx
nop dword [rax + rax]
mov rax, qword [rsi + 8]
neg rax
mov eax, dword [rbp + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rsi
inc r8
or rdx, qword [rsi + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x140043b20
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x140043c9d
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
lea r12, [0x140358bf0]
mov qword [rsp + 0x80], r14
nop dword [rax]
movsxd rax, r15d
lea rdx, [rax + rax*4]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
cmp dword [rcx + rdx*8 + 8], 0
lea r14, [rcx + rdx*8]
je 0x140043baf
mov rdi, qword [r14]
jmp 0x140043bb6
lea rdi, [0x14025d748]
movzx eax, word [rdi]
xor ebx, ebx
test ax, ax
je 0x140043c00
movzx ecx, ax
lea rdi, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rdi]
xor ebx, edx
test ax, ax
jne 0x140043bc0
mov r9d, dword [rbp + 0x48]
dec r9d
and r9d, ebx
mov dword [r14 + 0x24], r9d
mov eax, dword [rbp + 0x48]
dec eax
movsxd rdx, eax
movsxd rax, r9d
and rdx, rax
mov rax, qword [rsi + 8]
neg rax
sbb rcx, rcx
neg rcx
dec rcx
and rcx, rsi
or rcx, qword [rsi + 8]
mov eax, dword [rcx + rdx*4]
mov dword [r14 + 0x20], eax
mov rax, qword [rsi + 8]
neg rax
mov eax, dword [rbp + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r9d
and rcx, rax
and rdx, rsi
or rdx, qword [rsi + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x140043b90
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
Function at 0x140043cb0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rsi, [rcx + 0x38]
mov rbp, rcx
test rdx, rdx
je 0x140043d0b
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov r10, qword [rsi + 8]
test r10, r10
je 0x140043d0b
mov rcx, qword [0x14038e9b0]
test rcx, rcx
jne 0x140043cf8
xor r8d, r8d
xor edx, edx
mov rcx, r10
call fcn.140043770
jmp 0x140043d07
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
call qword [rax + 0x18]
mov qword [rsi + 8], rax
mov ebx, dword [rbp + 0x48]
test ebx, ebx
je 0x140043ec5
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call fcn.140014640
test ebx, ebx
jle 0x140043d72
xor r8d, r8d
mov r9d, ebx
nop dword [rax + rax]
mov rax, qword [rsi + 8]
neg rax
mov eax, dword [rbp + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rsi
inc r8
or rdx, qword [rsi + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x140043d40
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x140043ebd
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r12
lea r12, [0x140358bf0]
mov qword [rsp + 0x80], r14
nop dword [rax]
movsxd rax, r15d
lea rdx, [rax + rax*2]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
cmp dword [rcx + rdx*8 + 8], 0
lea r14, [rcx + rdx*8]
je 0x140043dcf
mov rdi, qword [r14]
jmp 0x140043dd6
lea rdi, [0x14025d748]
movzx eax, word [rdi]
xor ebx, ebx
test ax, ax
je 0x140043e20
movzx ecx, ax
lea rdi, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rdi]
xor ebx, edx
test ax, ax
jne 0x140043de0
mov r9d, dword [rbp + 0x48]
dec r9d
and r9d, ebx
mov dword [r14 + 0x14], r9d
mov eax, dword [rbp + 0x48]
dec eax
movsxd rdx, eax
movsxd rax, r9d
and rdx, rax
mov rax, qword [rsi + 8]
neg rax
sbb rcx, rcx
neg rcx
dec rcx
and rcx, rsi
or rcx, qword [rsi + 8]
mov eax, dword [rcx + rdx*4]
mov dword [r14 + 0x10], eax
mov rax, qword [rsi + 8]
neg rax
mov eax, dword [rbp + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r9d
and rcx, rax
and rdx, rsi
or rdx, qword [rsi + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x140043db0
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret