joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ccbd0511c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1ccbd06f018]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r15
mov r14, rdx
mov qword [rsp + 0x50], r15
mov rdi, rcx
mov qword [rsp + 0x48], r15
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r15
mov rcx, r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1ccbd0513d8
mov qword [rsp + 0x198], rbp
mov ecx, 0x20a
mov qword [rsp + 0x158], rsi
call fcn.1ccbd058448
mov rsi, rax
mov ebp, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x1ccbd0513c0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x150], r12
lea r12, [r15 - 1]
nop dword [rax]
lea rax, [rsp + 0x64]
mov dword [rsp + 0x68], 0x64
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
mov edx, ebp
mov qword [rsp + 0x20], r15
mov rcx, r14
mov dword [rsp + 0x64], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1ccbd0513a4
cmp dword [rsp + 0x6c], 1
jne 0x1ccbd0513a4
test rsi, rsi
je 0x1ccbd0513a4
mov ebx, r15d
cmp dword [rdi], ebx
jbe 0x1ccbd05131a
nop word [rax + rax]
mov rdx, rsi
mov rax, qword [rdi + 0x10]
mov ecx, ebx
lea rcx, [rax + rcx*8]
mov rcx, qword [rcx]
cmp dword [rdi + 8], r15d
je 0x1ccbd0512fe
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x1ccbd051304
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x1ccbd0513a4
inc ebx
cmp ebx, dword [rdi]
jb 0x1ccbd0512e0
mov eax, dword [rdi + 4]
cmp dword [rdi], eax
jne 0x1ccbd051360
add eax, 0x10
mov ecx, eax
mov dword [rdi + 4], eax
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1ccbd058448
mov r8d, dword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 0x10]
mov rbx, rax
shl r8, 3
call fcn.1ccbd059480
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rbx
call fcn.1ccbd058404
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1ccbd058448
mov edx, dword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rcx + rdx*8], rax
mov edx, dword [rdi]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov rdx, rsi
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
inc ebp
cmp ebp, dword [rsp + 0x60]
jb 0x1ccbd051270
mov r12, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x190]
mov rcx, rsi
call fcn.1ccbd058404
mov rsi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1ccbd0583e0
add rsp, 0x160
pop r15
pop r14
pop rdi
ret
Function at 0x1ccbd053f20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1ccbd06f018]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
cmp edx, 1
jne 0x1ccbd054080
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
js 0x1ccbd05407c
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test rax, rax
je 0x1ccbd053f93
mov r8d, 6
lea rdx, str.dialer
mov rcx, rax
call fcn.1ccbd05a610
test eax, eax
je 0x1ccbd05407c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1ccbd05402e
movzx ecx, word [rbx + 0x40]
mov eax, 0x7268
sub cx, ax
cmp cx, 0xf
ja 0x1ccbd053fc7
mov eax, 0x8801
bt eax, ecx
jb 0x1ccbd05407c
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 0x1ccbd05402e
mov eax, 0x7277
mov word [rbx + 0x40], ax
lea rax, [0x1ccbd054750]
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 [0x1ccbd070cb9], 0
jne 0x1ccbd054089
cmp qword [0x1ccbd070c90], 0
mov byte [0x1ccbd070cb9], 1
mov qword [0x1ccbd070cf0], rdi
jne 0x1ccbd054075
xor eax, eax
lea r8, [0x1ccbd051ed0]
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 [0x1ccbd070c90], rax
call fcn.1ccbd051f20
jmp 0x1ccbd054089
xor eax, eax
jmp 0x1ccbd05408e
test edx, edx
jne 0x1ccbd054089
call fcn.1ccbd0544f0
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1ccbd0583e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x1ccbd0540b0
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 0x1ccbd054120
movzx ecx, word [r10 + 0x48]
mov eax, ebp
cmp bp, cx
jae 0x1ccbd05411c
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 0x1ccbd054100
cmp eax, edi
je 0x1ccbd05413f
mov r10, qword [r10]
cmp r10, rbx
jne 0x1ccbd0540e0
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 0x1ccbd054128
nop word [rax + rax]
mov edx, dword [r8]
mov ecx, ebp
add rdx, r11
movzx eax, byte [rdx]
test al, al
je 0x1ccbd054193
nop
ror ecx, 0xd
lea rdx, [rdx + 1]
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1ccbd054180
cmp ecx, esi
je 0x1ccbd0541ac
inc r9d
add r8, 4
add r10, 2
cmp r9d, ebx
jb 0x1ccbd054170
jmp 0x1ccbd054128
mov ecx, dword [rdi + 0x1c]
movzx edx, word [r10]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
jmp 0x1ccbd05412a
Function at 0x1ccbd0544f0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1ccbd06f018]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [0x1ccbd070cb9], 0
je 0x1ccbd05473a
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov byte [0x1ccbd070cb9], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1ccbd054596
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 0x1ccbd054596
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 [0x1ccbd070c90]
mov rbx, qword [rsp + 0x40]
test rcx, rcx
je 0x1ccbd0545ba
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x1ccbd070c90], 0
cmp byte [0x1ccbd070cb8], 0
je 0x1ccbd05473a
mov byte [0x1ccbd070cb8], 0
call fcn.1ccbd0569c0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1ccbd056ee0
mov rax, qword [0x1ccbd070cb0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054603
lea rdx, [0x1ccbd052260]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070c98]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054625
lea rdx, [0x1ccbd0524f0]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070ce8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054647
lea rdx, [0x1ccbd052630]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070ca8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054669
lea rdx, [0x1ccbd052a10]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070ca0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd05468b
lea rdx, [0x1ccbd053030]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070cc0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd0546ad
lea rdx, [0x1ccbd053120]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070cc8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd0546cf
lea rdx, [0x1ccbd053210]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070cd0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd0546f1
lea rdx, [0x1ccbd0532a0]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070cd8]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054713
lea rdx, [0x1ccbd053330]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
mov rax, qword [0x1ccbd070ce0]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1ccbd054735
lea rdx, [0x1ccbd0533c0]
lea rcx, [rsp + 0x30]
call fcn.1ccbd056620
call fcn.1ccbd056a30
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1ccbd0583e0
add rsp, 0x48
ret
Function at 0x1ccbd0548f0
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.1ccbd054b40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1ccbd054a0a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1ccbd054954
mov rax, qword [0x1ccbd06f008]
cmp qword [rsp + 0x20], rax
ja 0x1ccbd054954
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054916
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1ccbd059890
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1ccbd054985
jmp 0x1ccbd054a0a
cmp dword [rsp + 0x50], 0x10000
jne 0x1ccbd0549ed
cmp qword [rsp + 0x48], 0x10000
jb 0x1ccbd0549ed
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 0x1ccbd0549cb
mov rax, qword [rsp + 0x28]
jmp 0x1ccbd054a0c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1ccbd0549db
xor eax, eax
jmp 0x1ccbd054a0c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054a05
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1ccbd054b40
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054916
xor eax, eax
add rsp, 0x68
ret

Function at 0x1ccbd054a20
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.1ccbd054b80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1ccbd054b36
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1ccbd054a7b
mov rax, qword [0x1ccbd06f008]
cmp qword [rsp + 0x20], rax
ja 0x1ccbd054a7b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054a3d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1ccbd059890
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1ccbd054aac
jmp 0x1ccbd054b36
cmp dword [rsp + 0x50], 0x10000
jne 0x1ccbd054b14
cmp qword [rsp + 0x48], 0x10000
jb 0x1ccbd054b14
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 0x1ccbd054af2
mov rax, qword [rsp + 0x28]
jmp 0x1ccbd054b38
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1ccbd054b02
xor eax, eax
jmp 0x1ccbd054b38
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054b31
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1ccbd054b80
mov qword [rsp + 0x20], rax
jmp 0x1ccbd054a3d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1ccbd054bd0
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.1ccbd055160
mov qword [rsp + 0x28], 0
cmp qword [0x1ccbd06faa8], 0
jne 0x1ccbd054c18
cmp qword [0x1ccbd06faa0], 0
je 0x1ccbd054c18
mov rax, qword [0x1ccbd06faa0]
mov qword [0x1ccbd06faa8], rax
cmp qword [0x1ccbd06faa8], 0
je 0x1ccbd054cbe
mov rax, qword [0x1ccbd06faa8]
cmp qword [rax + 0x10], 0
je 0x1ccbd054cbe
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1ccbd054cbe
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1ccbd054cbe
mov rax, qword [0x1ccbd06faa8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1ccbd054c84
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1ccbd054c8b
xor eax, eax
jmp 0x1ccbd054e39
mov rax, qword [0x1ccbd06faa8]
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.1ccbd059890
mov rax, qword [rsp + 0x28]
jmp 0x1ccbd054e39
mov rax, qword [0x1ccbd06faa0]
mov qword [0x1ccbd06faa8], rax
jmp 0x1ccbd054ce0
mov rax, qword [0x1ccbd06faa8]
mov rax, qword [rax + 8]
mov qword [0x1ccbd06faa8], rax
cmp qword [0x1ccbd06faa8], 0
je 0x1ccbd054d2d
cmp qword [0x1ccbd06faa8], 0
je 0x1ccbd054d2b
mov rax, qword [0x1ccbd06faa8]
cmp qword [rax + 0x10], 0
je 0x1ccbd054d2b
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1ccbd054d2b
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1ccbd054d2b
jmp 0x1ccbd054c5c
jmp 0x1ccbd054cce
mov rcx, qword [rsp + 0x60]
call fcn.1ccbd056fd0
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.1ccbd054e40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1ccbd054e37
mov rax, qword [rsp + 0x48]
mov qword [0x1ccbd06faa8], rax
mov rax, qword [0x1ccbd06faa8]
mov dword [rax], 0x52727464
mov rax, qword [0x1ccbd06faa8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [0x1ccbd06faa0]
mov qword [rax + 8], rcx
mov rax, qword [0x1ccbd06faa8]
mov qword [0x1ccbd06faa0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1ccbd06faa8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1ccbd054de8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1ccbd054e22
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 0x1ccbd054dde
mov rax, qword [0x1ccbd06faa8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1ccbd054c5c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1ccbd055b50
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 0x1ccbd055b97
xor al, al
jmp 0x1ccbd055c39
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 0x1ccbd055bc1
xor al, al
jmp 0x1ccbd055c39
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 0x1ccbd055c31
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 0x1ccbd055c31
mov al, 1
jmp 0x1ccbd055c39
jmp 0x1ccbd055c37
xor al, al
add rsp, 0x78
ret

Function at 0x1ccbd055f40
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1ccbd06faa0]
mov qword [rsp + 0x28], rax
jmp 0x1ccbd055f60
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1ccbd055f8f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1ccbd055f8d
call sub.KERNEL32.dll_GetLastError
jmp 0x1ccbd055f91
jmp 0x1ccbd055f52
xor eax, eax
add rsp, 0x38
ret
Function at 0x1ccbd056620
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 [0x1ccbd06fab8], eax
je 0x1ccbd05664d
mov eax, 0x10dd
jmp 0x1ccbd056866
cmp dword [0x1ccbd06fabc], 0
je 0x1ccbd056661
mov eax, dword [0x1ccbd06fabc]
jmp 0x1ccbd056866
cmp qword [rsp + 0x78], 0
jne 0x1ccbd056673
mov eax, 0x57
jmp 0x1ccbd056866
cmp qword [rsp + 0x70], 0
jne 0x1ccbd056685
mov eax, 6
jmp 0x1ccbd056866
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1ccbd0566b7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1ccbd06fabc], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1ccbd06fac0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1ccbd056866
mov ecx, 0x30
call fcn.1ccbd05840c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1ccbd056729
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1ccbd06fabc], eax
cmp qword [rsp + 0x30], 0
je 0x1ccbd056714
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1ccbd058404
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1ccbd06fac0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1ccbd056866
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1ccbd0565f0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1ccbd0565f0
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 0x1ccbd056786
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1ccbd0567a3
mov dword [rsp + 0x20], 9
cmp dword [0x1ccbd06fab0], 0
je 0x1ccbd05679e
jmp 0x1ccbd0566ea
jmp 0x1ccbd0566e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1ccbd0567d0
mov dword [rsp + 0x20], 9
cmp dword [0x1ccbd06fab0], 0
je 0x1ccbd0567cb
jmp 0x1ccbd0566ea
jmp 0x1ccbd0566e0
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 0x1ccbd056807
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1ccbd0566e0
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 [0x1ccbd06fad0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1ccbd06fad0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1ccbd056870
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1ccbd06fab8], eax
je 0x1ccbd05688b
mov eax, 0x10dd
jmp 0x1ccbd0569b0
mov rax, qword [0x1ccbd06fad0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1ccbd056935
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 0x1ccbd056900
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1ccbd056900
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1ccbd0552a0
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.1ccbd058404
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1ccbd056897
mov qword [0x1ccbd06fad0], 0
call fcn.1ccbd055d00
mov rax, qword [0x1ccbd06fac8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1ccbd056999
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.1ccbd058404
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1ccbd056951
mov qword [0x1ccbd06fac8], 0
mov dword [0x1ccbd06fab8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1ccbd056ee0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1ccbd06fabc], 0
je 0x1ccbd056efd
mov eax, dword [0x1ccbd06fabc]
jmp 0x1ccbd056fc3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1ccbd056f10
xor eax, eax
jmp 0x1ccbd056fc3
mov ecx, 0x10
call fcn.1ccbd05840c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1ccbd056f7e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1ccbd056f63
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1ccbd058404
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1ccbd06fabc], eax
mov qword [0x1ccbd06fac0], 0
mov eax, dword [rsp + 0x20]
jmp 0x1ccbd056fc3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1ccbd056f98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1ccbd056f39
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1ccbd06fac8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1ccbd06fac8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1ccbd058fa0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x1ccbd050000], ax
jne 0x1ccbd05902b
movsxd rcx, dword [0x1ccbd05003c]
lea rdx, [0x1ccbd050000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1ccbd05902b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1ccbd05902b
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1ccbd059027
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1ccbd059021
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1ccbd059021
test rdx, rdx
je 0x1ccbd059027
cmp dword [rdx + 0x24], 0
jge 0x1ccbd05901d
xor al, al
jmp 0x1ccbd059031
mov al, 1
jmp 0x1ccbd059031
add rdx, 0x28
jmp 0x1ccbd058ff3
xor al, al
jmp 0x1ccbd059031
xor al, al
jmp 0x1ccbd059031
add rsp, 0x18
ret