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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14000eae0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000eac0]
test rbx, rbx
je 0x140004a3c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004a36
test eax, eax
jne 0x140004a36
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004a0e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004bf0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004c13
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004c13
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004c14
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004c4e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004c45
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004c50
inc r8d
add rax, 0x28
jmp 0x140004c2c
xor eax, eax
ret

Function at 0x140004cc1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000ac50]
mov r8, rcx
mov rcx, r9
call fcn.140004bf0
test eax, eax
je 0x140004ced
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004c14
xor eax, eax
add rsp, 0x28
ret
Function at 0x180001000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov al, byte [rdx]
mov byte [rcx], al
mov al, byte [rdx + 1]
mov byte [rcx + 1], al
mov al, byte [rdx + 2]
mov byte [rcx + 2], al
mov al, byte [rdx + 3]
mov byte [rcx + 3], al
mov al, byte [rdx + 4]
mov byte [rcx + 4], al
mov al, byte [rdx + 5]
mov byte [rcx + 5], al
mov al, byte [rdx + 6]
mov byte [rcx + 6], al
mov al, byte [rdx + 7]
mov byte [rcx + 7], al
mov al, byte [rdx + 8]
mov byte [rcx + 8], al
mov al, byte [rdx + 9]
mov byte [rcx + 9], al
mov al, byte [rdx + 0xa]
mov byte [rcx + 0xa], al
mov al, byte [rdx + 0xb]
mov byte [rcx + 0xb], al
mov al, byte [rdx + 0xc]
mov byte [rcx + 0xc], al
mov al, byte [rdx + 0xd]
mov byte [rcx + 0xd], al
mov al, byte [rdx + 0xe]
mov byte [rcx + 0xe], al
mov al, byte [rdx + 0xf]
mov byte [rcx + 0xf], al
mov al, byte [rdx + 0x10]
mov byte [rcx + 0x10], al
mov al, byte [rdx + 0x11]
mov byte [rcx + 0x11], al
mov al, byte [rdx + 0x12]
mov byte [rcx + 0x12], al
mov al, byte [rdx + 0x13]
mov byte [rcx + 0x13], al
mov al, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
mov al, byte [rdx + 0x15]
mov byte [rcx + 0x15], al
mov al, byte [rdx + 0x16]
mov byte [rcx + 0x16], al
mov al, byte [rdx + 0x17]
mov byte [rcx + 0x17], al
mov al, byte [rdx + 0x18]
mov byte [rcx + 0x18], al
mov al, byte [rdx + 0x19]
mov byte [rcx + 0x19], al
mov al, byte [rdx + 0x1a]
mov byte [rcx + 0x1a], al
mov al, byte [rdx + 0x1b]
mov byte [rcx + 0x1b], al
mov al, byte [rdx + 0x1c]
mov byte [rcx + 0x1c], al
mov al, byte [rdx + 0x1d]
mov byte [rcx + 0x1d], al
mov al, byte [rdx + 0x1e]
mov byte [rcx + 0x1e], al
mov al, byte [rdx + 0x1f]
mov byte [rcx + 0x1f], al
mov eax, 8
lea r9, str.cw
lea r8, [0x18001a430]
jmp 0x180001121
movzx ebx, byte [r15 + r9]
movzx r10d, byte [r14 + r9]
movzx r11d, byte [rsi + r9]
movzx edx, byte [rdi + r9]
xor bl, byte [rcx + rax*4 - 0x20]
mov byte [rcx + rax*4], bl
xor r10b, byte [rcx + rax*4 - 0x1f]
mov byte [rcx + rax*4 + 1], r10b
xor r11b, byte [rcx + rax*4 - 0x1e]
mov byte [rcx + rax*4 + 2], r11b
xor dl, byte [rcx + rax*4 - 0x1d]
mov byte [rcx + rax*4 + 3], dl
add rax, 1
cmp rax, 0x3c
je 0x180001173
movzx ebx, byte [rcx + rax*4 - 4]
movzx r10d, byte [rcx + rax*4 - 3]
movzx r15d, bl
movzx r14d, r10b
movzx r11d, byte [rcx + rax*4 - 2]
movzx esi, r11b
movzx edx, byte [rcx + rax*4 - 1]
movzx edi, dl
mov ebp, eax
and ebp, 7
cmp ebp, 4
je 0x1800010e0
test ebp, ebp
jne 0x1800010f4
movzx r10d, byte [rsi + r9]
movzx r11d, byte [rdi + r9]
movzx edx, byte [r15 + r9]
mov esi, eax
shr esi, 3
movzx ebx, byte [rsi + r8]
xor bl, byte [r14 + r9]
jmp 0x1800010f4
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180002040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
movsxd r15, dword [rcx + 0x3c]
mov eax, dword [r15 + rcx + 0x88]
lea r13, [rcx + rax]
cmp rdx, 0x10000
jae 0x180002099
mov edx, dword [r13 + 0x10]
movzx ebp, bx
mov ecx, ebp
sub ecx, edx
jb 0x1800021f4
add edx, dword [r13 + 0x14]
cmp ebp, edx
jae 0x1800021f4
mov eax, dword [rsi + rax + 0x1c]
add rax, rsi
mov r14, qword [rax + rcx*8]
jmp 0x180002101
cmp dword [r13 + 0x18], 0
je 0x1800020e1
mov edi, dword [rsi + rax + 0x20]
mov r12d, dword [rsi + rax + 0x24]
add rdi, rsi
xor r14d, r14d
xor ebp, ebp
nop word cs:[rax + rax]
nop dword [rax + rax]
mov edx, dword [rdi + rbp*4]
add rdx, rsi
mov rcx, rbx
call fcn.18000ad9c
test eax, eax
je 0x1800020ee
add rbp, 1
mov eax, dword [r13 + 0x18]
cmp rbp, rax
jb 0x1800020c0
jmp 0x1800020e4
xor r14d, r14d
cmp r14, r13
jae 0x18000210d
jmp 0x1800021f7
mov eax, dword [r13 + 0x1c]
add rax, rsi
add r12, rsi
movzx ecx, word [r12 + rbp*2]
mov r14d, dword [rax + rcx*4]
add r14, rsi
cmp r14, r13
jb 0x1800021f7
mov eax, dword [rsi + r15 + 0x8c]
add r13, rax
cmp r14, r13
jae 0x1800021f7
mov rcx, r14
call fcn.18000ae98
test rax, rax
je 0x1800021f4
mov r13, rax
mov rcx, rax
mov edx, 0x2e
call fcn.180008598
mov r15, rax
mov byte [rax], 0
cmp qword [0x18002ce00], 0x10
jb 0x18000215b
mov r14, qword [0x18002cde8]
jmp 0x180002162
lea r14, [0x18002cde8]
mov rbp, qword gs:[0x60]
test rbp, rbp
je 0x1800021b2
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + 0x20]
lea rdi, str.KERNEL32.DLL
xor r12d, r12d
mov rsi, rbx
nop word cs:[rax + rax]
nop
mov rcx, qword [rsi + 0x50]
mov rdx, rdi
call fcn.18000abc4
test eax, eax
je 0x1800021b7
mov rbx, qword [rbx]
mov rsi, qword [rbx]
mov rax, qword [rbp + 0x18]
cmp rbx, qword [rax + 0x20]
jne 0x180002190
jmp 0x1800021bb
xor r12d, r12d
jmp 0x1800021bb
mov r12, qword [rsi + 0x20]
mov rcx, r12
mov rdx, r14
call fcn.180002040
test rax, rax
je 0x1800021f4
mov rcx, r13
call rax
mov rdi, rax
mov rcx, r13
call fcn.18000af10
test rdi, rdi
je 0x1800021f4
add r15, 1
mov rcx, rdi
mov rdx, r15
call fcn.180002040
mov r14, rax
jmp 0x1800021f7
xor r14d, r14d
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180005680
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rax, qword [0x18002c038]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor eax, eax
nop word [rax + rax]
mov ebp, dword [rdx + rax*4]
bswap ebp
mov dword [rsp + rax*4 + 0x50], ebp
mov ebp, dword [rdx + rax*4 + 4]
bswap ebp
mov dword [rsp + rax*4 + 0x54], ebp
add rax, 2
cmp rax, 0x10
jne 0x1800056b0
mov edx, 0x10
mov r13d, dword [rsp + 0x50]
mov edi, r13d
nop word [rax + rax]
mov ebx, dword [rsp + rdx*4 + 0x14]
mov eax, ebx
rol eax, 0x19
mov esi, dword [rsp + rdx*4 + 0x48]
mov ebp, ebx
rol ebp, 0xe
xor ebp, eax
mov eax, ebx
shr eax, 3
xor eax, ebp
mov ebp, esi
rol ebp, 0xf
add eax, edi
mov edi, esi
rol edi, 0xd
xor edi, ebp
shr esi, 0xa
xor esi, edi
add eax, dword [rsp + rdx*4 + 0x34]
add eax, esi
mov dword [rsp + rdx*4 + 0x50], eax
add rdx, 1
mov edi, ebx
cmp rdx, 0x40
jne 0x1800056e0
mov r15d, dword [rcx + 8]
mov r8d, dword [rcx + 0xc]
mov r10d, dword [rcx + 0x10]
mov r9d, dword [rcx + 0x14]
mov ebp, dword [rcx + 0x18]
mov r12d, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x20]
mov qword [rsp + 0x48], rcx
mov r11d, dword [rcx + 0x24]
xor ebx, ebx
lea rcx, [0x18001a760]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
nop word cs:[rax + rax]
mov r14d, r11d
mov r11d, esi
mov esi, r12d
mov r12d, ebp
mov eax, ebp
rol eax, 0x1a
mov ebp, r9d
mov r9d, r10d
mov r10d, r8d
mov r8d, r15d
mov edi, r12d
rol edi, 0x15
xor edi, eax
mov eax, r12d
rol eax, 7
xor eax, edi
mov edi, esi
and edi, r12d
add edi, eax
add edi, r14d
mov eax, r12d
not eax
and eax, r11d
add eax, edi
add eax, dword [rbx + rcx]
add eax, r13d
mov edi, r15d
rol edi, 0x1e
mov edx, r15d
rol edx, 0x13
xor edx, edi
rol r15d, 0xa
xor r15d, edx
mov edx, r9d
xor edx, r10d
and edx, r8d
mov edi, r9d
and edi, r10d
xor edi, edx
add ebp, eax
add r15d, eax
add r15d, edi
cmp rbx, 0xfc
je 0x18000580c
mov r13d, dword [rsp + rbx + 0x54]
add rbx, 4
jmp 0x180005780
mov ecx, dword [rsp + 0x28]
add ecx, r15d
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x2c]
add ecx, r8d
mov dword [rax + 0xc], ecx
mov ecx, dword [rsp + 0x30]
add ecx, r10d
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x34]
add ecx, r9d
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x38]
add ecx, ebp
mov dword [rax + 0x18], ecx
mov ecx, dword [rsp + 0x3c]
add ecx, r12d
mov dword [rax + 0x1c], ecx
mov ecx, dword [rsp + 0x40]
add ecx, esi
mov dword [rax + 0x20], ecx
mov ecx, dword [rsp + 0x44]
add ecx, r11d
mov dword [rax + 0x24], ecx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180005fb0
nop
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180005890
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x18002c038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movaps xmm0, xmmword [0x18001a740]
movups xmmword [rsp + 0x28], xmm0
movaps xmm0, xmmword [0x18001a750]
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x88], 0
mov qword [rsp + 0x20], rdx
cmp rdx, 0x40
jb 0x180005959
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
add rdi, 0x40
add rbx, 0xffffffffffffffc0
mov byte [rsp + 0x88], 0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x90]
call fcn.180005680
cmp rbx, 0x40
jb 0x180005959
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov rdx, rdi
call fcn.180005680
add rdi, 0x40
add rbx, 0xffffffffffffffc0
cmp rbx, 0x3f
ja 0x180005940
movzx eax, byte [rsp + 0x88]
lea rcx, [rsp + rax]
add rcx, 0x48
lea r14, [rsp + 0x48]
mov rdx, rdi
mov r8, rbx
call fcn.1800077c0
add bl, byte [rsp + 0x88]
mov byte [rsp + 0x88], bl
movzx eax, bl
mov byte [rsp + rax + 0x48], 0x80
mov al, byte [rsp + 0x88]
add al, 1
mov byte [rsp + 0x88], al
movzx eax, al
lea rcx, [rsp + rax]
add rcx, 0x48
mov r8d, 0x40
sub r8, rax
xor edx, edx
call fcn.180008330
cmp byte [rsp + 0x88], 0x39
jb 0x1800059ea
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.180005680
xorps xmm0, xmm0
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x30], 0
mov rax, qword [rsp + 0x20]
lea ecx, [rax*8]
mov byte [rsp + 0x87], cl
mov rcx, rax
shr rcx, 5
mov byte [rsp + 0x86], cl
mov rcx, rax
shr rcx, 0xd
mov byte [rsp + 0x85], cl
mov rcx, rax
shr rcx, 0x15
mov byte [rsp + 0x84], cl
mov rcx, rax
shr rcx, 0x1d
mov byte [rsp + 0x83], cl
mov rcx, rax
shr rcx, 0x25
mov byte [rsp + 0x82], cl
mov rcx, rax
shr rcx, 0x2d
mov byte [rsp + 0x81], cl
shr rax, 0x35
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.180005680
mov eax, dword [rsp + 0x28]
bswap eax
mov dword [r15], eax
mov eax, dword [rsp + 0x2c]
bswap eax
mov dword [r15 + 4], eax
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [r15 + 8], eax
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [r15 + 0xc], eax
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [r15 + 0x10], eax
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [r15 + 0x14], eax
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [r15 + 0x18], eax
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [r15 + 0x1c], eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.180005fb0
nop
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180005b70
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 1
cmp dword [0x18002ce90], 0
jne 0x180005ccf
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x30]
test rdx, rdx
je 0x180005ccd
xor ebx, ebx
mov r8d, 0xdfdfdfdf
jmp 0x180005bcf
mov rbx, rsi
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
test rdx, rdx
je 0x180005c12
mov r14, rdx
movsxd rdx, dword [rdx + 0x3c]
mov esi, dword [rdx + r14 + 0x88]
test rsi, rsi
je 0x180005bc3
mov edx, dword [rsi + r14 + 0xc]
add rsi, r14
mov ebp, dword [rdx + r14]
and ebp, r8d
cmp ebp, 0x4c44544e
jne 0x180005bc0
mov edx, dword [r14 + rdx + 4]
and edx, r8d
mov rbx, rsi
cmp edx, 0x4c440e4c
jne 0x180005bc3
mov rbx, rsi
jmp 0x180005c1b
test rbx, rbx
je 0x180005ccd
mov ecx, dword [rbx + 0x18]
mov r9d, dword [rbx + 0x1c]
add r9, r14
mov r10d, dword [rbx + 0x20]
add r10, r14
mov r11d, dword [rbx + 0x24]
add r11, r14
xor r8d, r8d
lea r15, [0x18002ce90]
jmp 0x180005c79
mov esi, 0x18cb4255
mov edx, r8d
shl rdx, 4
mov dword [rdx + r15 + 8], esi
movzx esi, word [r11 + rcx*2]
mov esi, dword [r9 + rsi*4]
mov dword [rdx + r15 + 0xc], esi
mov qword [rdx + r15 + 0x10], 0
add r8d, 1
cmp r8d, 0x1f4
je 0x180005cea
test rcx, rcx
je 0x180005cd8
add ecx, 0xffffffff
mov edi, dword [r10 + rcx*4]
movzx edx, word [r14 + rdi]
cmp edx, 0x775a
jne 0x180005c74
add rdi, r14
cmp byte [rdi], 0
je 0x180005c3f
mov esi, 0x18cb4255
mov ebp, 1
xor edx, edx
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, word [rdx + rdi]
mov ebx, esi
rol ebx, 0x18
add ebx, edx
xor esi, ebx
mov edx, ebp
add ebp, 1
cmp byte [rdi + rdx], 0
jne 0x180005cb0
jmp 0x180005c44
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [0x18002ce90], r8d
mov r10d, r8d
add r10d, 0xffffffff
jne 0x180005d00
jmp 0x180005ccf
mov dword [0x18002ce90], 0x1f4
mov r8d, 0x1f4
mov r10d, 0x1f3
xor r11d, r11d
lea r9, [0x18002ceb0]
mov r14d, r10d
jmp 0x180005d19
add r14d, 0xffffffff
cmp r11d, r10d
je 0x180005ccf
mov r14d, r14d
add r11d, 1
cmp r8d, r11d
je 0x180005d10
mov ebp, dword [0x18002ce9c]
mov rsi, r14
mov rcx, r9
jmp 0x180005d6a
mov edx, dword [rcx - 0x18]
mov r15, qword [rcx - 0x10]
mov ebx, dword [rcx - 8]
mov dword [rcx - 0x18], ebx
mov dword [rcx - 0x14], edi
mov rdi, qword [rcx]
mov qword [rcx - 0x10], rdi
mov dword [rcx - 8], edx
mov dword [rcx - 4], ebp
mov qword [rcx], r15
add rcx, 0x10
add rsi, 0xffffffffffffffff
je 0x180005d10
mov edi, dword [rcx - 4]
cmp ebp, edi
ja 0x180005d40
mov ebp, edi
jmp 0x180005d60
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, 0x1f55
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x1265
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x347e
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x119d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1761
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
xor eax, 0x3628
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x1f55
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
add eax, 0xe9
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x88]
xor eax, 0x1b76
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x2ddb
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x14
cmp dword [rsp + 0x28], eax
je 0x180002e57
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, 0x1c5f
mov dword [rsp + 0x24], eax
jmp 0x180002ef5
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x20], eax
jmp 0x180002e72
mov eax, dword [rsp + 0x20]
inc eax
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 0x180002ef5
mov eax, dword [rsp + 0x38]
sub eax, 0x26d3
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, 0x2ddb
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 0x180002e68
mov eax, dword [rsp + 0x2c]
add eax, 0x8f6
add rsp, 0x68
ret
Function at 0x180004660
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, 0xce8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
sub eax, 0xce9
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
sub eax, 0xbbd
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x1121
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x28d2
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
xor eax, 0x229b
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
add eax, 0x6f7
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x159e
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x98]
xor eax, 0xa54
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
add eax, 0x2d13
cmp dword [rsp + 0x2c], eax
je 0x1800047f6
mov eax, dword [rsp + 0x24]
add eax, 0x192e
cmp dword [rsp + 0x2c], eax
jle 0x180004745
mov rax, qword [rsp + 0x78]
lea rcx, [0x1800b00b0]
mov qword [rax + 0x70], rcx
mov eax, dword [rsp + 0x20]
add eax, 0x1334
mov dword [rsp + 0x20], eax
jmp 0x1800047f6
mov eax, dword [rsp + 0x30]
or eax, 0x2540
mov rcx, qword [rsp + 0x78]
sub eax, dword [rcx + 0x2c]
cmp dword [rsp + 0x20], eax
jb 0x1800047f6
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x180004774
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 0x1800047f6
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, 0x1b16
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 0x18000476a
mov eax, dword [rsp + 0x3c]
add eax, 0xf8e
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]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
xor eax, 0xc2f
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x121f
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x1f55
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x119d
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
sub eax, 0xb41
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x19b1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x2d13
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0xc09
cmp dword [rsp + 0x20], eax
jg 0x1800082ed
mov eax, dword [rsp + 0x20]
xor eax, 0x3718
mov dword [rsp + 0x20], eax
jmp 0x180008340
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x180008302
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
and eax, 0x1b76
mov rcx, qword [rsp + 0x70]
or eax, dword [rcx + 0x90]
cmp dword [rsp + 0x24], eax
jb 0x180008340
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 0x1800082f7
mov eax, dword [rsp + 0x28]
add eax, 0x1b76
add rsp, 0x58
ret
Function at 0x180021580
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, 0x6bc
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x3e36
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
xor eax, 0x3ac4
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x297d
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x16b3
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x16b3
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
xor eax, 0xc9c
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
sub eax, 0xa28
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x2540
cmp dword [rsp + 0x2c], eax
jg 0x1800217d2
mov eax, dword [rsp + 0x20]
xor eax, 0x38a1
cmp dword [rsp + 0x34], eax
jg 0x1800216a1
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, 0xf8e
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 0x1800217d2
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 0x1800217d2
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800216db
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x3939
cmp dword [rsp + 0x24], eax
jae 0x1800217d2
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x18002171e
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, 0x1c5f
cmp dword [rsp + 0x28], eax
jae 0x1800217cd
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, 0x1b16
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 0x180021713
jmp 0x1800216d0
mov eax, dword [rsp + 0x30]
add eax, 0x785
add rsp, 0x68
ret