joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001200
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
movss xmm0, dword [0x180010c5c]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x1800012ac
lea rdx, [0x18003a5f0]
nop dword [rax]
mov r8d, dword [rdx]
mov r9d, dword [rdx + 4]
mov r10d, 0xc6ef3720
mov r11d, 0x20
mov ecx, r8d
mov eax, r8d
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r10 + r8]
xor ecx, eax
sub r9d, ecx
mov ecx, r9d
mov eax, r9d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r10 + r9]
add r10d, 0x61c88647
xor ecx, eax
sub r8d, ecx
dec r11
jne 0x180001243
inc ebx
mov dword [rdx], r8d
mov dword [rdx + 4], r9d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001230
mov qword [rsp + 0x30], 0
lea rcx, str.C:UsersdellAppDataLocalTempMSServerTypeLib73816281.dat
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001324
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x50]
lea rdx, [0x18003a5f0]
mov r8d, 0x9a00
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x180001330
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
movss xmm0, dword [0x180010c58]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x180001409
lea rdx, [0x1800145f0]
nop word [rax + rax]
mov edi, dword [rdx]
mov r8d, dword [rdx + 4]
mov r9d, 0xc6ef3720
mov r10d, 0x20
nop word [rax + rax]
mov ecx, edi
mov eax, edi
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r9 + rdi]
xor ecx, eax
sub r8d, ecx
mov ecx, r8d
mov eax, r8d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r9 + r8]
add r9d, 0x61c88647
xor ecx, eax
sub edi, ecx
dec r10
jne 0x1800013a0
inc ebx
mov dword [rdx], edi
mov dword [rdx + 4], r8d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001380
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], 0
call fcn.180002570
xor edx, edx
lea rcx, str.C:UsersdellAppDataLocalTempMSServerTypeLib73816281.dat
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rdx
mov byte [rsp + rdx + 0x4f], al
test al, al
jne 0x180001430
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x30], 0
lea rdi, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
repne scasb al, byte [rdi]
movzx eax, word [0x180010b74]
lea rcx, [rsp + 0x50]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov word [rdi - 1], ax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800014cd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
lea rdx, [0x1800145f0]
mov r8d, 0x26000
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180001a00
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
Function at 0x1800cf940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x250
movsxd rdi, edx
mov r12, r8
mov rbx, rcx
mov eax, edi
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
cmp eax, edx
jne 0x1800cfb83
mov qword [rsp + 0x268], rsi
movzx esi, byte [rsp + 0x288]
test sil, sil
je 0x1800cf98e
cmp sil, 1
jne 0x1800cfb7b
mov qword [rsp + 0x260], rbp
movzx ebp, byte [rsp + 0x280]
cmp bpl, 1
je 0x1800cf9ad
test bpl, bpl
jne 0x1800cfb73
test r9, r9
je 0x1800cf9c7
mov rax, qword [r9]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x1800cf9d3
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x204
call fcn.1800d64d0
lea rcx, [rsp + 0x40]
mov r8d, 0x80
mov rdx, r12
call fcn.1800cd000
test sil, sil
jne 0x1800cfabb
test rdi, rdi
jle 0x1800cfb73
add rdi, 0xffffffffffffffff
shr rdi, 4
add rdi, 1
cmp bpl, 1
jne 0x1800cfa5f
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
add rcx, 4
xor al, byte [rsp + rcx + 0x2c]
mov byte [rsp + rcx + 0x1c], al
movzx eax, byte [rbx + rcx - 3]
xor al, byte [rsp + rcx + 0x2d]
mov byte [rsp + rcx + 0x1d], al
movzx eax, byte [rbx + rcx - 2]
xor al, byte [rsp + rcx + 0x2e]
mov byte [rsp + rcx + 0x1e], al
movzx eax, byte [rbx + rcx - 1]
xor al, byte [rsp + rcx + 0x2f]
cmp rcx, 0x10
mov byte [rsp + rcx + 0x1f], al
jl 0x1800cfa20
jmp 0x1800cfa70
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1800cd950
cmp bpl, 1
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rbx], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
jne 0x1800cfaa8
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
add rbx, 0x10
sub rdi, 1
jne 0x1800cfa16
jmp 0x1800cfb73
cmp sil, 1
jne 0x1800cfb73
test rdi, rdi
jle 0x1800cfb73
add rdi, 0xffffffffffffffff
shr rdi, 4
add rdi, 1
nop
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x20]
lea r8, [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x20]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x40]
call fcn.1800ce940
cmp bpl, 1
jne 0x1800cfb51
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 4
xor byte [rsp + rcx + 0x1c], al
movzx eax, byte [rsp + rcx + 0x2d]
xor byte [rsp + rcx + 0x1d], al
movzx eax, byte [rsp + rcx + 0x2e]
xor byte [rsp + rcx + 0x1e], al
movzx eax, byte [rsp + rcx + 0x2f]
xor byte [rsp + rcx + 0x1f], al
cmp rcx, 0x10
jl 0x1800cfb10
mov rax, qword [rbx]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x20]
add rbx, 0x10
sub rdi, 1
mov rax, qword [rcx]
mov qword [rbx - 0x10], rax
mov rax, qword [rcx + 8]
mov qword [rbx - 8], rax
jne 0x1800cfae0
mov rbp, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x268]
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x4027b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [fcn.0041c0e0]
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
test rdx, rdx
jle 0x4027f3
nop
mov r12, qword [rbp + rbx*8]
mov ecx, 1
add rbx, 1
call rdi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call fcn.00402650
cmp rsi, rbx
jg 0x4027d0
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x0041e15c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x402930
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x402951
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x4029c0
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.0041c0e0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
ret

Function at 0x41af30
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0041c0e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.0041c0e0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x41afa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00425b74]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x41b148
mov rax, qword [0x00425b78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x41afec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x41b077
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x41afd0
mov rcx, r12
call fcn.0041bd00
mov rbp, rax
test rax, rax
je 0x41b182
mov rax, qword [0x00425b78]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.0041be30
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00425b78]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x41b191
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x41b070
sub eax, 4
and eax, 0xfffffffb
jne 0x41b100
add dword [0x00425b74], 1
cmp ebx, 8
jae 0x41b0a8
test bl, 4
jne 0x41b150
test ebx, ebx
je 0x41b099
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x41b170
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x41b099
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x41b0da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00425b78]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41b070
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0041af30
nop dword [rax]
xor edi, edi
jmp 0x41aff7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x41b099
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x41b099
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.0041af30
mov rax, qword [0x00425b78]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.0041af30
nop
nop dword [rax]
Function at 0x41b970
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00425e60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00425e40]
test rbx, rbx
je 0x41b9c4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x41b9bb
test r12, r12
je 0x41b9bb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x41b9a0
lea rcx, [0x00425e60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x41bd00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00420050]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x41bd79
mov rcx, r10
call fcn.0041bbd0
test eax, eax
je 0x41bd79
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x41bd76
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x41bd6d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x41bd79
add r8, 0x28
cmp r8, r9
jne 0x41bd58
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x14057e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14057e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14057e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14057e06f
add dl, dl
jne 0x14057e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14057e0f6
xor eax, eax
add dl, dl
jne 0x14057e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14057e1ad
add dl, dl
jne 0x14057e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14057e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14057e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14057e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14057e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14057e07e
mov eax, 1
add dl, dl
jne 0x14057e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14057e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14057e0fb
sub eax, ebx
mov ebx, 1
jne 0x14057e14c
mov ecx, 1
add dl, dl
jne 0x14057e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14057e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14057e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14057e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14057e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14057e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14057e15d
cmp eax, 0x7d00
jae 0x14057e19b
cmp eax, 0x500
jb 0x14057e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14057e07e
cmp eax, 0x7f
ja 0x14057e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14057e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14057e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14057e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
sub eax, 0x16b3
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
add eax, 0x13df
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x159e
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0x65c
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
add eax, 0x119d
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
xor eax, 0x3d4c
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
add eax, 0x1728
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x7d3
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x88]
xor eax, 0xc8
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
add eax, 0x9b7
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x21d2
cmp dword [rsp + 0x28], eax
je 0x180002e59
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x9c]
sub eax, 0x962ff
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 0x1b76
mov dword [rsp + 0x24], eax
jmp 0x180002ef8
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x20], eax
jmp 0x180002e75
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jge 0x180002ef8
mov eax, dword [rsp + 0x38]
sub eax, 0x159e
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0x3c]
mov ecx, dword [rcx + 0x38]
sub ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
and eax, dword [rdx + rcx + 0xa4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x48]
sub eax, 0x1f55
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180002e6a
mov eax, dword [rsp + 0x2c]
add eax, 0x159e
add rsp, 0x68
ret
Function at 0x180004670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x98]
sub eax, 0x1c5f
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
sub eax, 0x2d13
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
add eax, 0x1d1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x19a5
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
xor eax, 0xda5
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
xor eax, 0x34a2
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1c5f
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x15b2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x98]
xor eax, 0x391f
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
add eax, 0x26d3
cmp dword [rsp + 0x2c], eax
je 0x180004806
mov eax, dword [rsp + 0x24]
add eax, 0x16b3
cmp dword [rsp + 0x2c], eax
jge 0x180004755
mov rax, qword [rsp + 0x78]
lea rcx, [0x1800aeff0]
mov qword [rax + 0x70], rcx
mov eax, dword [rsp + 0x20]
add eax, 0x15b2
mov dword [rsp + 0x20], eax
jmp 0x180004806
mov eax, dword [rsp + 0x30]
or eax, 0x2d13
mov rcx, qword [rsp + 0x78]
sub eax, dword [rcx + 0x2c]
cmp dword [rsp + 0x20], eax
jb 0x180004806
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x180004784
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0xa4]
add eax, dword [rsp + 0x34]
and eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jbe 0x180004806
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0xa4]
mov ecx, dword [rcx + 0x98]
xor ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x98]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
sub eax, 0x1c5f
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x18000477a
mov eax, dword [rsp + 0x3c]
add eax, 0x1b76
add rsp, 0x68
ret
Function at 0x180008250
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
add eax, 0x1ff
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x2ddb
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x136e
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x438
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x193
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x192e
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x20], eax
jg 0x1800082e3
mov eax, dword [rsp + 0x20]
xor eax, 0x343d
mov dword [rsp + 0x20], eax
jmp 0x180008335
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800082f7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
and eax, 0x2286
mov rcx, qword [rsp + 0x70]
or eax, dword [rcx + 0x90]
cmp dword [rsp + 0x24], eax
jb 0x180008335
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1800082ed
mov eax, dword [rsp + 0x28]
sub eax, 0xb5d
add rsp, 0x58
ret
Function at 0x1800215a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0xa8]
sub eax, 0x28d2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x15b2
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
xor eax, 0x33c4
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x1ff
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0x331
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1f55
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x16b3
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
sub eax, 0xf2d
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x2540
cmp dword [rsp + 0x2c], eax
jle 0x1800217f2
mov eax, dword [rsp + 0x20]
xor eax, 0x229b
cmp dword [rsp + 0x34], eax
jg 0x1800216c1
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x88]
xor eax, 0x1663b7
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x20]
add eax, 0x2286
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x1800217f2
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 0x48]
add eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jb 0x1800217f2
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800216fb
mov eax, dword [rsp + 0x24]
add eax, 3
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x5050
cmp dword [rsp + 0x24], eax
jae 0x1800217f2
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x18002173e
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x90]
sub eax, 0x229b
cmp dword [rsp + 0x28], eax
jae 0x1800217ed
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x18]
mov eax, dword [rcx + rax + 0xb8]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rsp + 0x2c]
xor eax, 0x28d2
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x88]
add eax, dword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xb4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xb4], eax
jmp 0x180021733
jmp 0x1800216f0
mov eax, dword [rsp + 0x30]
add eax, 0x297d
add rsp, 0x68
ret