joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003f80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
cmp edx, 1
jne 0x1800040e0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
js 0x1800040dc
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test rax, rax
je 0x180003ff3
mov r8d, 6
lea rdx, str.dialer
mov rcx, rax
call fcn.18000ab30
test eax, eax
je 0x1800040dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18000408e
movzx ecx, word [rbx + 0x40]
mov eax, 0x7268
sub cx, ax
cmp cx, 0xf
ja 0x180004027
mov eax, 0x8801
bt eax, ecx
jb 0x1800040dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000408e
mov eax, 0x7277
mov word [rbx + 0x40], ax
lea rax, [0x1800047b0]
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x30]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp byte [0x180020ca9], 0
jne 0x1800040e9
cmp qword [0x180020c80], 0
mov byte [0x180020ca9], 1
mov qword [0x180020ce0], rdi
jne 0x1800040d5
xor eax, eax
lea r8, [0x180001ee0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x180020c80], rax
call fcn.180001f30
jmp 0x1800040e9
xor eax, eax
jmp 0x1800040ee
test edx, edx
jne 0x1800040e9
call fcn.180004550
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180008450
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x180004110
Capabilities:
Access peb ldr_data
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
mov rax, qword gs:[0x60]
mov esi, edx
mov edi, ecx
xor ebp, ebp
mov r8, qword [rax + 0x18]
mov rbx, qword [r8 + 0x20]
mov r10, rbx
nop
mov r9, qword [r10 + 0x50]
test r9, r9
je 0x180004180
movzx ecx, word [r10 + 0x48]
mov eax, ebp
cmp bp, cx
jae 0x18000417c
mov r11d, ecx
nop dword [rax + rax]
movsx edx, byte [r9]
lea r9, [r9 + 1]
ror eax, 0xd
cmp dl, 0x61
lea ecx, [rdx - 0x20]
cmovl ecx, edx
add eax, ecx
sub r11, 1
jne 0x180004160
cmp eax, edi
je 0x18000419f
mov r10, qword [r10]
cmp r10, rbx
jne 0x180004140
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov r11, qword [r10 + 0x20]
mov r9d, ebp
movsxd rax, dword [r11 + 0x3c]
mov edi, dword [rax + r11 + 0x88]
add rdi, r11
mov r8d, dword [rdi + 0x20]
mov r10d, dword [rdi + 0x24]
add r8, r11
mov ebx, dword [rdi + 0x18]
add r10, r11
test ebx, ebx
je 0x180004188
nop word [rax + rax]
mov edx, dword [r8]
mov ecx, ebp
add rdx, r11
movzx eax, byte [rdx]
test al, al
je 0x1800041f3
nop
ror ecx, 0xd
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1800041e0
cmp ecx, esi
je 0x18000420c
inc r9d
add r8, 4
add r10, 2
cmp r9d, ebx
jb 0x1800041d0
jmp 0x180004188
mov ecx, dword [rdi + 0x1c]
movzx edx, word [r10]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
jmp 0x18000418a
Function at 0x180004550
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18001f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [0x180020ca9], 0
je 0x18000479a
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov byte [0x180020ca9], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1800045f6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800045f6
mov eax, 0x1f0e
mov word [rbx + 0x40], ax
movabs rax, 0xb821cd09b4000eba
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x30]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x180020c80]
mov rbx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000461a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x180020c80], 0
cmp byte [0x180020ca8], 0
je 0x18000479a
mov byte [0x180020ca8], 0
call fcn.180006a30
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006f50
mov rax, qword [0x180020ca0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004663
lea rdx, [0x180002270]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020c88]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004685
lea rdx, [0x180002500]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cd8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800046a7
lea rdx, [0x180002660]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020c98]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800046c9
lea rdx, [0x180002a40]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020c90]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800046eb
lea rdx, [0x180003070]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cb0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000470d
lea rdx, [0x180003160]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cb8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000472f
lea rdx, [0x180003250]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cc0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004751
lea rdx, [0x1800032e0]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cc8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004773
lea rdx, [0x180003370]
lea rcx, [rsp + 0x30]
call fcn.180006690
mov rax, qword [0x180020cd0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004795
lea rdx, [0x180003400]
lea rcx, [rsp + 0x30]
call fcn.180006690
call fcn.180006aa0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180008450
add rsp, 0x48
ret
Function at 0x180004960
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180004bb0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180004a7a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800049c4
mov rax, qword [0x18001f008]
cmp qword [rsp + 0x20], rax
ja 0x1800049c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180004986
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180009ba0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800049f5
jmp 0x180004a7a
cmp dword [rsp + 0x50], 0x10000
jne 0x180004a5d
cmp qword [rsp + 0x48], 0x10000
jb 0x180004a5d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004a3b
mov rax, qword [rsp + 0x28]
jmp 0x180004a7c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180004a4b
xor eax, eax
jmp 0x180004a7c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180004a75
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180004bb0
mov qword [rsp + 0x20], rax
jmp 0x180004986
xor eax, eax
add rsp, 0x68
ret

Function at 0x180004a90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180004bf0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180004ba6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180004aeb
mov rax, qword [0x18001f008]
cmp qword [rsp + 0x20], rax
ja 0x180004aeb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180004aad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180009ba0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180004b1c
jmp 0x180004ba6
cmp dword [rsp + 0x50], 0x10000
jne 0x180004b84
cmp qword [rsp + 0x48], 0x10000
jb 0x180004b84
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004b62
mov rax, qword [rsp + 0x28]
jmp 0x180004ba8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180004b72
xor eax, eax
jmp 0x180004ba8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180004ba1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180004bf0
mov qword [rsp + 0x20], rax
jmp 0x180004aad
xor eax, eax
add rsp, 0x68
ret
Function at 0x180004c40
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800051d0
mov qword [rsp + 0x28], 0
cmp qword [0x18001fa98], 0
jne 0x180004c88
cmp qword [0x18001fa90], 0
je 0x180004c88
mov rax, qword [0x18001fa90]
mov qword [0x18001fa98], rax
cmp qword [0x18001fa98], 0
je 0x180004d2e
mov rax, qword [0x18001fa98]
cmp qword [rax + 0x10], 0
je 0x180004d2e
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004d2e
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004d2e
mov rax, qword [0x18001fa98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180004cf4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180004cfb
xor eax, eax
jmp 0x180004ea9
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180009ba0
mov rax, qword [rsp + 0x28]
jmp 0x180004ea9
mov rax, qword [0x18001fa90]
mov qword [0x18001fa98], rax
jmp 0x180004d50
mov rax, qword [0x18001fa98]
mov rax, qword [rax + 8]
mov qword [0x18001fa98], rax
cmp qword [0x18001fa98], 0
je 0x180004d9d
cmp qword [0x18001fa98], 0
je 0x180004d9b
mov rax, qword [0x18001fa98]
cmp qword [rax + 0x10], 0
je 0x180004d9b
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004d9b
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004d9b
jmp 0x180004ccc
jmp 0x180004d3e
mov rcx, qword [rsp + 0x60]
call fcn.180007040
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004eb0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004ea7
mov rax, qword [rsp + 0x48]
mov qword [0x18001fa98], rax
mov rax, qword [0x18001fa98]
mov dword [rax], 0x52727464
mov rax, qword [0x18001fa98]
mov qword [rax + 0x10], 0
mov rax, qword [0x18001fa98]
mov rcx, qword [0x18001fa90]
mov qword [rax + 8], rcx
mov rax, qword [0x18001fa98]
mov qword [0x18001fa90], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18001fa98]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180004e58
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180004e92
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180004e4e
mov rax, qword [0x18001fa98]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180004ccc
xor eax, eax
add rsp, 0x58
ret
Function at 0x180005bc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180005c07
xor al, al
jmp 0x180005ca9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180005c31
xor al, al
jmp 0x180005ca9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180005ca1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180005ca1
mov al, 1
jmp 0x180005ca9
jmp 0x180005ca7
xor al, al
add rsp, 0x78
ret

Function at 0x180005fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18001fa90]
mov qword [rsp + 0x28], rax
jmp 0x180005fd0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005fff
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180005ffd
call sub.KERNEL32.dll_GetLastError
jmp 0x180006001
jmp 0x180005fc2
xor eax, eax
add rsp, 0x38
ret
Function at 0x180006690
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x18001faa8], eax
je 0x1800066bd
mov eax, 0x10dd
jmp 0x1800068d6
cmp dword [0x18001faac], 0
je 0x1800066d1
mov eax, dword [0x18001faac]
jmp 0x1800068d6
cmp qword [rsp + 0x78], 0
jne 0x1800066e3
mov eax, 0x57
jmp 0x1800068d6
cmp qword [rsp + 0x70], 0
jne 0x1800066f5
mov eax, 6
jmp 0x1800068d6
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180006727
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18001faac], eax
mov rax, qword [rsp + 0x70]
mov qword [0x18001fab0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800068d6
mov ecx, 0x30
call fcn.180008478
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180006799
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18001faac], eax
cmp qword [rsp + 0x30], 0
je 0x180006784
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180008470
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x18001fab0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800068d6
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180006660
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180006660
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1800067f6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180006813
mov dword [rsp + 0x20], 9
cmp dword [0x18001faa0], 0
je 0x18000680e
jmp 0x18000675a
jmp 0x180006750
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180006840
mov dword [rsp + 0x20], 9
cmp dword [0x18001faa0], 0
je 0x18000683b
jmp 0x18000675a
jmp 0x180006750
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180006877
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180006750
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x18001fac0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x18001fac0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800068e0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x18001faa8], eax
je 0x1800068fb
mov eax, 0x10dd
jmp 0x180006a20
mov rax, qword [0x18001fac0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800069a5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180006970
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180006970
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180005310
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180008470
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180006907
mov qword [0x18001fac0], 0
call fcn.180005d70
mov rax, qword [0x18001fab8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180006a09
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180008470
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800069c1
mov qword [0x18001fab8], 0
mov dword [0x18001faa8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180006f50
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18001faac], 0
je 0x180006f6d
mov eax, dword [0x18001faac]
jmp 0x180007033
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180006f80
xor eax, eax
jmp 0x180007033
mov ecx, 0x10
call fcn.180008478
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180006fee
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180006fd3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180008470
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18001faac], eax
mov qword [0x18001fab0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180007033
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180007008
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180006fa9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x18001fab8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x18001fab8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1412d36c4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1412d36ce
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1412d36f7
pop rbp
sub rbp, 0x33
sub rbp, 0x12d36c4
sub rsp, 0x20
jmp 0x1412d3716
mov rax, 0x12d36c4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x487a31db
xor byte [rax], dl
inc rax
dec rcx
jne 0x1412d3735
jmp 0x1412d374c
xchg ebx, eax
push rdx
xor dl, byte [rax + 0x52]
out 0xdb, eax
fcmovnu st(0), st(3)
xchg ebx, eax
pop rdx
sbb dl, bl
fcmovu st(0), st(3)
fist dword [rbx + 0x1c9332da]
sbb edx, edx
fcmovnu st(0), st(3)
fist dword [rbx - 0x240ce6e4]
fcmovnu st(0), st(3)
xchg ebx, eax
sub al, 0x39
xchg ebx, eax
ficomp dword [rdx]
push rax
pop rdx
xlatb
fcmovnu st(0), st(3)
fist dword [rbx - 0x7474cc26]
xchg ebx, eax
invalid
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10013e000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
movabs rcx, 0xc525897df373b7b7
mov rdx, rsp
and dx, 0xfa70
fcmovu st(0), st(6)
fxsave64 [rdx]
xor rdi, rdi
mov dil, 0x5a
mov r10, qword [rdx + 8]
dec rdi
xor qword [r10 + rdi*8 + 0x1d], rcx
test rdi, rdi
jne 0x140004022
jrcxz 0x14000402f
leave
jno 0x14000405c
mov ecx, 0xa69728b7
pop rsp
sub dword [rbp - 0x95c8738], edi
xchg esi, eax
add eax, dword [rsi - 0xd94d540]
mov bh, 0x3e
ret 0xc8bd
fucom st(3)
out dx, eax
cli
xor dh, byte [rbx + 0x41438e86]
cmp al, 0xfe
mov word [rbx], ds
pop rax
mov ebp, 0xec2e4cf1
add byte [rbx - 0x60], 0x1a
invalid