joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400414b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400414f0
cmp al, 0x25
jne 0x1400414e4
cmp byte [r8 + 1], al
jne 0x1400414f0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400414d7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004165a
cmp byte [r8 + 1], dl
je 0x14004165a
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004152d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140041555
sub dl, 0x61
cmp dl, 0x19
ja 0x140041547
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140041555
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140041510
jmp 0x140041558
inc r9
cmp r8, r9
jae 0x14004158f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140041584
bt rdx, rax
jb 0x14004158a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140041570
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400027e0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400415c8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400415c0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140041648
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400415ea
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x1400415f8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140041636
movss xmm2, dword [0x1400575f8]
nop
cmp al, 0x39
ja 0x140041636
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140041610
cmp r9b, 0x2d
jne 0x140041655
xorps xmm1, xmmword [0x140057920]
movaps xmm0, xmm1
jmp 0x14004165d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004165d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004f590
add rsp, 0x90
pop rbx
ret
Function at 0x140041680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400416c0
cmp al, 0x25
jne 0x1400416b4
cmp byte [r8 + 1], al
jne 0x1400416c0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400416a7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140041824
cmp byte [r8 + 1], dl
je 0x140041824
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400416fd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140041725
sub dl, 0x61
cmp dl, 0x19
ja 0x140041717
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140041725
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400416e0
jmp 0x140041728
inc r9
cmp r8, r9
jae 0x14004175f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140041754
bt rdx, rax
jb 0x14004175a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140041740
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1400027e0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140041798
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140041790
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140041816
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400417ba
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x1400417c8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x140041804
movsd xmm2, qword [0x1400575a8]
nop
cmp al, 0x39
ja 0x140041804
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400417e0
cmp r9b, 0x2d
jne 0x14004181f
xorps xmm1, xmmword [0x140057910]
movaps xmm0, xmm1
jmp 0x140041827
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140041827
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004f590
add rsp, 0x90
pop rbx
ret
Function at 0x140042060
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x50], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x54]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x14004211a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004210d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140042108
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004227a
mov rcx, r8
call fcn.14004f680
xor r15d, r15d
mov byte [rbx], r15b
xor eax, eax
jmp 0x14004223d
xor r15d, r15d
mov r13d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r13b
jne 0x140042140
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x20]
call fcn.14004e500
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140042165
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0xf
seta r14b
mov rdi, qword [rsp + 0x20]
cmova rcx, rdi
mov r8, qword [rsp + 0x30]
cmp r8, qword [rbx + 0x10]
jne 0x140042199
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140042199
mov sil, 1
jmp 0x14004219c
xor sil, sil
test r14b, r14b
je 0x1400421ce
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400421c6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421eb
mov rcx, rdi
call fcn.14004f680
test sil, sil
jne 0x1400421f2
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140042120
jmp 0x1400421f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r13d, dword [rsp + 0x58]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140042237
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140042232
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004227a
mov rcx, r8
call fcn.14004f680
mov byte [rbx], 0
mov eax, r13d
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14004f590
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400440d0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
movabs rax, 0x8f9b5ba837a45fc5
mov qword [rbp - 0x29], rax
movabs rcx, 0xdd5e5ac1ce74b4fc
mov qword [rbp - 0x21], rcx
movabs rax, 0x8f9b5ba852dc3aeb
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rcx
movdqa xmm0, xmmword [rbp - 0x29]
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x11]
call fcn.140043de0
nop
lea rcx, [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x140044150
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.14004d9b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400441d1
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400441cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400441cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f680
movdqa xmm0, xmmword [0x140057710]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400441fd
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x14004420b
xor bl, bl
jmp 0x140044260
lea rax, [rbp + 0xf]
cmp rbx, rax
je 0x14004425e
mov rdi, qword [rbp + 0x1f]
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov rax, qword [rbx + 0x18]
cmp rdi, rax
ja 0x140044253
mov rsi, rbx
cmp rax, 0xf
jbe 0x14004423b
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x14004425e
mov rdx, rdi
mov rcx, rbx
call fcn.14004e7a0
mov bl, 1
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14004429e
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044299
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044299
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f680
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004f590
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400483a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140060c10]
mov ecx, 1
mov dword [rax + 0x130], 0
mov byte [rax + 0x134], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400483da
mov rax, qword [0x140060c10]
mov byte [rax + 0x130], 1
add rsp, 0x28
ret
Function at 0x1400483e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14004ce10
mov rbx, rax
call fcn.14004ce10
movsxd rcx, dword [rax + 0x70]
mov ecx, dword [rbx + rcx*4 + 0x28]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
and al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400502b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050302
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140050302
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140050302
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140050302
cmp dword [rcx + 0x84], 0xe
jbe 0x140050302
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140050304
xor al, al
add rsp, 0x28
ret
Function at 0x1e05662a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x90], xmm15
movss xmm4, dword [0x1e068a994]
mov eax, 1
pxor xmm8, xmm8
movss xmm5, dword [0x1e068a9bc]
movss xmm10, dword [0x1e068a954]
movss xmm6, dword [0x1e068a960]
movss xmm9, dword [0x1e068a9a0]
movss xmm15, dword [0x1e068a998]
movss xmm14, dword [0x1e068a974]
movss xmm13, dword [0x1e068a97c]
movss xmm7, dword [0x1e068a950]
movaps xmm3, xmm10
movss xmm12, dword [0x1e068a984]
movss xmm11, dword [0x1e068a988]
lea rdx, [rcx + 0x1f4]
nop word [rax + rax]
pxor xmm1, xmm1
movaps xmm0, xmm7
add rdx, 4
cvtsi2ss xmm1, eax
add eax, 2
mulss xmm1, xmm15
subss xmm1, xmm10
andps xmm1, xmm6
subss xmm1, dword [0x1e068a970]
movaps xmm2, xmm1
andps xmm1, xmm6
cmpless xmm2, xmm8
andps xmm0, xmm2
andnps xmm2, xmm5
orps xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm14
subss xmm0, dword [0x1e068a978]
mulss xmm0, xmm1
addss xmm0, xmm13
mulss xmm0, xmm1
subss xmm0, dword [0x1e068a980]
mulss xmm0, xmm1
subss xmm0, xmm12
mulss xmm0, xmm1
subss xmm0, xmm11
mulss xmm0, xmm1
addss xmm0, dword [0x1e068a98c]
mulss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm5
mulss xmm0, xmm3
xorps xmm3, xmm9
divss xmm0, xmm4
addss xmm4, dword [0x1e068a9b0]
movss dword [rdx - 4], xmm0
cmp eax, 0x1f
jne 0x1e0566360
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm15, xmmword [rsp + 0x90]
add rsp, 0xa8
ret
Function at 0x1e05792c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1e0586300
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1e0586300
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1e0579cc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1e06dc228]
test eax, eax
je 0x1e0579d5a
lea rax, [0x1e06dc200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1e06dc230]
mov qword [rbp - 8], rax
jmp 0x1e0579d3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1e0579d32
cmp qword [rbp - 0x10], 0
je 0x1e0579d32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1e0579cf8
lea rax, [0x1e06dc200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1e0579d5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1e0579e60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1e0579e88
mov eax, 0
jmp 0x1e0579ed6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1e0579eb1
mov eax, 0
jmp 0x1e0579ed6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1e0579ed1
mov eax, 0
jmp 0x1e0579ed6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1e0579edc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1e0579f5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1e0579f51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1e0579f51
mov rax, qword [rbp - 8]
jmp 0x1e0579f6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1e0579f24
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1e0589c59
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x1e0589da4
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1e058927d
cmp eax, 1
jne 0x1e0589d97
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x15], 0
mov qword [rbp - 0xd], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x1e0589d4d
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x1e0589d63
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x1e0589d49
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x1e0589d82
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x1e0589da5
nop
add rsp, 0x90
pop rbp
ret
Function at 0x1e058afb7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x1e058adda]
mov rdx, rax
lea rax, [0x1e06dccc0]
mov rcx, rax
call fcn.1e058a3d2
mov eax, dword [0x1e0685160]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1e058b00a
mov rax, qword [rbp - 0x10]
jmp 0x1e058b16a
call fcn.1e0589b35
mov qword [rbp - 0x10], rax
mov rax, qword [0x1e06e0040]
test rax, rax
je 0x1e058b026
cmp qword [rbp - 0x10], 0
jne 0x1e058b030
mov eax, 0
jmp 0x1e058b16a
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.1e0589c59
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x1e058b10b
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x1e0685160]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x1e058b166
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1e058b267
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.1e058afb7
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.1e058ae08
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x1e058b2d4
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x1e0685160]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1e058b418
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1e058b371
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1e058b32c
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1e0589a0e
mov qword [rbp - 0x10], 0
mov eax, dword [0x1e0685160]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x1e058b418
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1e058b3ab
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x1e058b418
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1e0589a0e
mov qword [rbp - 0x10], 0
mov eax, dword [0x1e0685160]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop