joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001d340
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x5a4d
mov rdi, r8
mov r9, rdx
cmp word [rdx], ax
jne 0x18001d43e
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x18001d43e
mov r14d, dword [rax + rdx + 0x8c]
test r14, r14
je 0x18001d43e
mov esi, dword [rax + rdx + 0x88]
test rsi, rsi
je 0x18001d43e
mov ebp, dword [rsi + rdx + 0x20]
xor r11d, r11d
mov r15d, dword [rsi + rdx + 0x24]
add rbp, rdx
mov r12d, dword [rsi + rdx + 0x1c]
add r15, rdx
mov r10d, dword [rsi + rdx + 0x18]
add r12, rdx
test r10, r10
je 0x18001d43e
nop dword [rax]
nop dword [rax + rax]
mov rbx, r10
sub rbx, r11
shr rbx, 1
add rbx, r11
mov eax, dword [rbp + rbx*4]
add rax, r9
test rdi, rdi
jne 0x18001d3ef
mov ecx, 0xffffffff
jmp 0x18001d428
test rax, rax
jne 0x18001d3fb
mov ecx, 1
jmp 0x18001d428
mov r8, rdi
sub r8, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
movzx edx, byte [rax]
lea rax, [rax + 1]
test cl, cl
je 0x18001d424
cmp cl, dl
je 0x18001d410
sub ecx, edx
je 0x18001d45b
test ecx, ecx
lea rax, [rbx + 1]
cmovle rax, r11
cmovle r10, rbx
mov r11, rax
cmp r10, rax
jne 0x18001d3d0
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
movzx eax, word [r15 + rbx*2]
mov ecx, dword [r12 + rax*4]
cmp rcx, rsi
jb 0x18001d473
mov eax, ecx
sub rax, rsi
cmp rax, r14
jb 0x18001d43e
lea rax, [rcx + r9]
jmp 0x18001d440

Function at 0x180021a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180021aad
lea rbx, [0x180367e40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180021a94
cmp r10, 2
jb 0x180021a94
cmp byte [r9], r8b
jne 0x180021a94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180021a70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180021aef
lea rbx, [0x180367e40]
cmp r8b, 0x23
jne 0x180021ad3
cmp byte [r9], r8b
jne 0x180021ad3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180021ac0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180021cc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x180021cde
mov qword [r8], r14
lea rdx, [0x180370e00]
call fcn.180021b00
mov rbx, rax
test rax, rax
jne 0x180021d03
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18006cf3c
mov ebp, eax
cmp eax, 0xffffffff
je 0x180021e33
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.18006d9ac
test eax, eax
jne 0x180021e33
mov rcx, rbx
call fcn.18006cf3c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180021e33
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.18006d9ac
test eax, eax
jne 0x180021e33
cmp rdi, 0xffffffffffffffff
je 0x180021e33
mov rcx, rdi
call fcn.180027150
mov rbp, rax
test rax, rax
je 0x180021e33
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180071278
mov rcx, rbx
cmp rax, rdi
je 0x180021e21
call fcn.18006d690
mov r8, qword [0x180388018]
test r8, r8
je 0x180021e0f
movsx rdx, word [r8 + 0x6258]
lea rcx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180021e04
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rcx, [r8 + 0x625c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rdx, qword [0x180388030]
mov rcx, rbp
call qword [0x180385f20]
jmp 0x180021e3b
call fcn.18006d690
test rsi, rsi
je 0x180021e2e
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180021e3d
mov rcx, rbx
call fcn.18006d690
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18002a3b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x180385040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x180388018]
mov r9, r8
mov edi, dword [rsp + 0x90]
mov r14d, edx
mov eax, edi
mov r10, rcx
and eax, 0x40000000
mov rbx, qword [rsi + 0x40a0]
bts eax, 0x1d
mov r8d, dword [rsi + 0x4ab8]
shr eax, 0x1d
mov r15d, eax
bts r15d, 8
test edi, edi
cmovns r15d, eax
mov eax, dword [rbx + 0x14]
and eax, 4
mov dword [rsi + 0x4af0], r15d
or eax, 0x1000103
bts r8d, 8
or edi, eax
mov dword [rsi + 0x4ab8], r8d
cmp qword [rbx + 0x1c0], 0
jne 0x18002a456
cmp qword [rsi + 0x4eb8], 0
mov eax, 0x268
je 0x18002a45b
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r9]
call fcn.180034270
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4ad8], xmm0
xor edx, edx
mov dword [rsi + 0x4ab8], r8d
mov dword [rsi + 0x4ac0], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x18002a4ce
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.1800218c0
jmp 0x18002a4df
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.1800218c0
mov rcx, qword [rsp + 0x30]
mov r8d, edi
movss xmm6, dword [rsi + 0x3958]
xor edx, edx
call fcn.18002d760
mov rdi, qword [rsi + 0x40a0]
movzx ebp, al
movss dword [rsi + 0x3958], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x18002a526
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x180370121]
not r9d
lea r10, [0x180367e40]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18002a553
cmp byte [rdx], r8b
jne 0x18002a553
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18002a540
not ebx
cmp dword [rsi + 0x410c], ebx
jne 0x18002a57f
call fcn.180026a00
cmp dword [rsi + 0x4be4], r14d
jne 0x18002a5cc
bt r15d, 8
jb 0x18002a5cc
cmp word [rdi + 0x174], 0
jne 0x18002a5a2
cmp byte [rdi + 0x17a], 0
je 0x18002a5cc
xor edx, edx
mov rcx, rdi
call fcn.180030040
xor edx, edx
mov rcx, rdi
call fcn.180036900
mov rdx, rdi
mov ecx, ebx
call fcn.1800268a0
mov eax, dword [rsi + 0x4c18]
mov dword [rsi + 0x4138], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800644f0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x18002a800
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18002a850
lea r11, [0x180367e40]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002a833
cmp byte [r8], r9b
jne 0x18002a833
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002a820
mov rcx, qword [0x180388018]
not eax
movsxd rdx, dword [rcx + 0x4080]
mov r9, qword [rcx + 0x4088]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18002a8b1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18002a8a9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18002a8ac
mov rdx, r8
test rdx, rdx
jne 0x18002a880
cmp r9, r10
je 0x18002a8c0
cmp dword [r9], eax
jne 0x18002a8c0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180030d60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x180367e40]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x40f4], ebx
jne 0x180030df4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18003b440
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003a1e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180388018]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18003a243
mov qword [rsp], rbx
lea rbx, [0x180367e40]
nop dword [rax]
cmp r9b, 0x23
jne 0x18003a223
cmp byte [r8], r9b
jne 0x18003a223
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18003a210
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60e0]
not eax
mov r8, qword [r10 + 0x60e8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18003a26f
cmp dword [r8 + 8], eax
je 0x18003a276
add r8, 0x48
cmp r8, rcx
jne 0x18003a260
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18004eac0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180385040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x180388018]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18004ecee
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18004ecee
mov rdx, qword [0x180388030]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call qword [0x180385f18]
mov r8, qword [0x180388018]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18004eb9b
movsx rdx, word [r8 + 0x6258]
lea rax, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18004eb90
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rax, [rax*8 + 0x625c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6250]
test rdi, rdi
je 0x18004ebb8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x18004ebbb
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x180371588]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x18004ebfe
mov rsi, qword [r8 + 0x98]
jmp 0x18004ec01
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18004ec2c
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x180388018]
mov rcx, qword [rax + 0x4bc8]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18004ecae
inc rbx
cmp rbx, 5
jl 0x18004ec90
jmp 0x18004ecda
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x18004ecf0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800644f0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x1800611a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18006134d
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180002900
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180061316
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180061290
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180061305
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800612cd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800612c7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180061305
cmp r9, rdx
je 0x1800612e1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180061327
cmp r9, rdx
jne 0x1800612d2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180061240
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180061305
lea rcx, str.invalid_hash_bucket_count
call fcn.180062a70
int3
Function at 0x180061770
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800617d9
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800617c7
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x1800617c0
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800617c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18006178f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180388028]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800617ec
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1803883b0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180061822
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180061858
mov eax, 0xa
jmp 0x1800618e7
test esi, esi
je 0x18006187a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18006189b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18006189b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180061895
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18006189b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180061bcc
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180061be3
cmp r8b, 0x90
je 0x180061be3
cmp r8b, 0xcc
jne 0x180061c05
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180061c01
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180061c05
add edx, r10d
cmp edx, r9d
jb 0x180061bf1
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180061f6c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180061fb6
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1803883a8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x180061fef
cmp rbx, r14
jb 0x180061fec
cmp rbx, r12
jae 0x180061fec
cmp qword [rbx + 8], rsi
jne 0x180062151
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180061fd8
mov r15, rdi
cmp rdi, r14
jb 0x18006210b
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x18006203b
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180062075
cmp dword [rbp - 0x10], 0x10000
je 0x180062045
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180062075
sub r15, r13
cmp r15, r14
jae 0x180062011
jmp 0x180062075
test r15, r15
je 0x180062075
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180062116
cmp r15, r14
jae 0x180062000
test rbx, rbx
jmp 0x180062109
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180062151
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180062151
cmp dword [rbp - 0x10], 0x10000
je 0x1800620e4
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800620a1
jmp 0x180062151
test rdi, rdi
je 0x180062151
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180062116
cmp rdi, r12
jbe 0x18006207d
jmp 0x180062151
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180062122
mov rax, qword [0x1803883a8]
mov qword [rbx], rax
mov qword [0x1803883a8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180062adc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180062b16
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180062b1b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180062b64
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800966e0]
cmp byte [rcx + rax], 0
je 0x180062b64
dec r8
sub rdx, 1
jne 0x180062b4a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18006afcc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18006b03b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18006b03b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18006b03b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18006b03b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18006b03b
cmp dword [rcx + 0x84], 0xe
jbe 0x18006b03b
cmp dword [rcx + 0xf8], 0
je 0x18006b03b
mov ecx, ebx
call fcn.18006b0e0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18006aed4
nop
cmp dword [rbp + 0x20], 0
jne 0x18006b09c
call fcn.18007e3c0
cmp eax, 1
jne 0x18006b08c
xor dl, dl
jmp 0x18006b096
call fcn.18007e38c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18006b0a7
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18006b0b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x18006afcc
Function at 0x18006b170
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18006b03b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18006b03b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18006b03b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18006b03b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18006b03b
cmp dword [rcx + 0x84], 0xe
jbe 0x18006b03b
cmp dword [rcx + 0xf8], 0
je 0x18006b03b
mov ecx, ebx
call fcn.18006b0e0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18006aed4
nop
cmp dword [rbp + 0x20], 0
jne 0x18006b09c
call fcn.18007e3c0
cmp eax, 1
jne 0x18006b08c
xor dl, dl
jmp 0x18006b096
call fcn.18007e38c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18006b0a7
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18006b0b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x18006afcc