joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005b20
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
xor r8d, r8d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140005bc2
xor edx, edx
mov dword [rsp + 0x38], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r8, rsi
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140001010
jmp 0x140005cb4
mov rbx, qword [rsp + 0x30]
call fcn.140008a88
mov dword [rsp + 0x40], eax
call fcn.140008a88
mov dword [rsp + 0x44], eax
mov r9d, 0xb
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov dword [rsp + 0x38], 0x208
lea rcx, [0x140029c40]
mov r8d, 0x208
test eax, eax
jne 0x140005c6b
call fcn.1400079f0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rdi
lea rdx, [0x140029c46]
lea rcx, str._ws_ws_n_c_c_qword_n_n
call fcn.140001010
jmp 0x140005cab
call fcn.1400079f0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r8, rdi
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_write:__ws_ws_n_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400067e0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140005cd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0xf003f
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140005d72
xor edx, edx
mov dword [rsp + 0x38], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 3]
mov rcx, rdi
call qword [0x140029e60]
mov r8, rsi
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140001010
jmp 0x140005ee6
mov rsi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rcx, rsi
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x38], ebx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140005dfc
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140029e60]
mov r8, rbp
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_query_size_of:__ws_ws_n_n
call fcn.140001010
jmp 0x140005edd
mov ecx, dword [rsp + 0x38]
call fcn.14000b128
mov rdi, rax
test rax, rax
jne 0x140005e1e
lea rcx, str.Failed_to_allocate_buffer_for_SpoofBinary_n_n
call fcn.140001010
jmp 0x140005edd
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140005e4a
call fcn.140008a88
and eax, 0x800000ff
jge 0x140005e3b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, ebx
inc ebx
mov byte [rcx + rdi], al
mov eax, dword [rsp + 0x38]
cmp ebx, eax
jb 0x140005e26
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call fcn.14000b114
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140029e60]
mov eax, dword [rsp + 0x38]
lea rdx, [0x140029c46]
mov dword [rsp + 0x28], eax
lea rcx, str._ws_ws_n_c_c_binary_of_length__d_n_n
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rbp
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400067e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005f10
Capabilities:
Delete registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov qword [rsp + 0x50], 0
mov rdi, rdx
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, 0x3fd
jne 0x140005f8c
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140005fec
xor edx, edx
mov dword [rsp + 0x58], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r8, rsi
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_create_key:__ws_ws_n_n
call fcn.140001010
jmp 0x140006119
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
test eax, eax
jne 0x1400060b7
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor edx, edx
mov dword [rsp + 0x58], 0x208
lea rcx, [0x140029c40]
mov r8d, 0x208
test eax, eax
jne 0x140006084
call fcn.1400079f0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r9d, 0xc0
mov qword [rsp + 0x28], rsi
mov r8, rdi
mov dword [rsp + 0x20], 0xc4
lea rdx, [0x140029c46]
lea rcx, str._ws_ws_n_c_c_renamed_to__ws_n_n
call fcn.140001010
jmp 0x14000610e
call fcn.1400079f0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
lea rcx, str.Failed_to_delete_key:__ws_ws_n_n
jmp 0x1400060ff
xor edx, edx
mov dword [rsp + 0x58], 0x208
mov r8d, 0x208
lea rcx, [0x140029c40]
call fcn.1400079f0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
lea rcx, str.Failed_to_copy_key:__ws_ws_n_n
mov r8, rdi
lea rdx, [0x140029c46]
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400067e0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006130
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, 2
je 0x140006209
xor edx, edx
mov dword [rsp + 0x30], 0x208
lea rcx, [0x140029c40]
mov r8d, 0x208
test eax, eax
jne 0x1400061c9
call fcn.1400079f0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rdi
lea rdx, [0x140029c46]
lea rcx, str._ws_ws_n_c_c_deleted_n_n
call fcn.140001010
jmp 0x140006209
call fcn.1400079f0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r8, rdi
lea rdx, [0x140029c46]
lea rcx, str.Failed_to_delete_value:__ws_ws_n_n
call fcn.140001010
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400067e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140006230
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp eax, 2
je 0x140006312
xor edx, edx
mov dword [rsp + 0x30], 0x208
lea rcx, [0x140029c40]
mov r8d, 0x208
test eax, eax
jne 0x1400062cf
call fcn.1400079f0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r9, rsi
mov dword [rsp + 0x28], 0xc4
mov r8, rdi
mov dword [rsp + 0x20], 0xc0
lea rdx, [0x140029c46]
lea rcx, str._ws_ws_ws_n_c_c_deleted_n_n
call fcn.140001010
jmp 0x140006312
call fcn.1400079f0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140029c40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140029e60]
mov r9, rsi
lea rdx, [0x140029c46]
mov r8, rdi
lea rcx, str.Failed_to_delete_value:__ws_ws_ws_n_n
call fcn.140001010
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400067e0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006670
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x6a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x480]
mov r8d, 0x208
call fcn.1400079f0
mov r8, rdi
lea rdx, str._ws
lea rcx, [rsp + 0x480]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call fcn.1400079f0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x208
call fcn.1400079f0
lea r9, [rsp + 0x4c]
mov r8, rdi
lea rdx, str._ws_ws
lea rcx, [rsp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
movzx ecx, word [rsp + 0x4c]
movzx eax, word [rsp + 0x4e]
cmp cx, 0x2e
jne 0x140006749
test ax, ax
je 0x140006783
cmp cx, cx
jne 0x140006749
cmp ax, cx
jne 0x140006749
cmp word [rsp + 0x50], 0
je 0x140006783
test byte [rsp + 0x20], 0x10
lea rdx, str.desktop.ini
je 0x140006766
lea rcx, [rsp + 0x270]
call fcn.140006670
jmp 0x140006783
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140006783
lea rcx, [rsp + 0x270]
call fcn.140006330
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400066f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1400067e0
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x6a0
pop rdi
ret

Function at 0x1400071d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000721e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000721e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000721e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000721e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000721e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007220
xor al, al
add rsp, 0x28
ret

Function at 0x14000bdfc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000bc28

Function at 0x140019f30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019f58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140019f58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180009060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x1800091d6
mov rax, qword [0x180119898]
test rax, rax
je 0x180009097
call rax
mov ecx, edi
shl rcx, 4
call fcn.180004a80
mov rcx, qword [0x1801198a0]
mov rdi, rax
test rcx, rcx
je 0x1800090b3
call rcx
test rdi, rdi
je 0x1800091d6
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.180004f10
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x180114e60]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1800c3fd0
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x1800091c1
lea r11, [0x180100cf0]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x180009141
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x180009120
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x180009199
mov eax, dword [r8]
test eax, eax
je 0x180009161
mov rdx, qword [r8 + 8]
jmp 0x180009164
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x180009199
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000918f
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x1800091b5
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x1800091b5
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x1800091ad
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x180009110
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800091f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x180100cf0]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x18000925d
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x180009242
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x180009222
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x180009264
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x1800092d0
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x1800092b5
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x1800092b5
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180009290
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x1800092e2
mov r11, qword [r11]
test ebx, ebx
jne 0x180009270
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x180009300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
call fcn.1800091f0
mov rcx, rax
test rax, rax
je 0x1800093f8
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x1800093db
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x18000934e
mov qword [rdx], rax
jmp 0x180009352
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x180009362
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x180009385
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x180009383
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.180004f10
add dword [rdi + 4], 0xffffffff
jne 0x1800093e3
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.180004f10
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x1800093c3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.180004f10
mov rsi, rbx
test rbx, rbx
jne 0x1800093b0
mov rax, r14
mov dword [rdi + 4], ebp
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, r14
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
je 0x180009515
mov ecx, 0x20
call fcn.180004a80
mov rbx, rax
test rax, rax
jne 0x180009423
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
inc dword [rdi + 4]
mov edx, dword [rdi + 4]
cmp edx, 0xa
jb 0x180009484
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x180009484
add edx, edx
mov rcx, rdi
call fcn.180009060
test eax, eax
je 0x180009484
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x18000947e
lea r8, [0x180100cf0]
nop
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x180009460
xor edx, edx
div dword [rdi]
jmp 0x180009488
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1800094f9
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x1800094f9
mov eax, dword [rcx]
test eax, eax
je 0x1800094a8
mov rdx, qword [rcx + 8]
jmp 0x1800094ab
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x1800094f9
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x1800094e2
mov qword [rax], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 8], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x18000950d
mov qword [rax + 8], rbx
mov qword [rbx + 8], rbp
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x180023620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r15, rcx
mov r14d, edx
mov r12d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r13, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
cmp eax, r10d
mov qword [rsp + 0x20], rax
mov ecx, r10d
cmovl ecx, eax
xor ebx, ebx
imul r14, rax
mov dword [rsp + 0x78], ecx
mov rcx, rax
cmp eax, r10d
je 0x180023683
cmp byte [r13 + 0x13], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r14
sub rdi, rcx
test ebx, ebx
jne 0x1800237a4
mov qword [rsp + 0x88], rbp
mov rbp, r10
mov qword [rsp + 0x30], rsi
cmp rdi, r14
jge 0x180023786
mov rax, rdi
mov qword [rsp + 0x70], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x180114b28]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x18002377b
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r13
call fcn.180013890
mov ebx, eax
test eax, eax
jne 0x18002376c
mov rcx, qword [rsp + 0x70]
call fcn.180014720
mov ebx, eax
test eax, eax
jne 0x18002376c
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv qword [rsp + 0x20]
add rdx, qword [rsp + 0x80]
call fcn.1800c41f0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x18002376c
test r12d, r12d
jne 0x18002376c
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], dl
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18002377b
call fcn.180013de0
add rdi, rbp
test ebx, ebx
je 0x1800236a1
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x1800347d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.180004a80
mov rbx, rax
test rax, rax
jne 0x18003480b
lea eax, [rbx + 7]
jmp 0x180034876
cmp dword [0x180114e24], 0
je 0x180034848
mov qword [rax + 0x10], rbp
lea r8, [0x1800077d0]
mov qword [rax + 0x18], rsi
mov r9, rbx
add rax, 8
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1800c8cc4
mov qword [rbx], rax
test rax, rax
jne 0x180034858
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x180034871
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180036b30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x48]
xor ebx, ebx
mov r14, qword [rcx + 0x10]
mov r15, r9
mov ebp, r8d
mov r13, rdx
mov rdi, qword [rsi + 0x30]
test rdi, rdi
jne 0x180036bb8
movzx eax, word [r14 + 6]
mov rcx, qword [r14 + 0x10]
imul rdx, rax, 0x38
add rdx, 0x58
call fcn.180005310
mov rdi, rax
test rax, rax
jne 0x180036b8c
mov edi, ebx
jmp 0x180036ba3
add rax, 0x20
mov qword [rdi], r14
mov qword [rdi + 0x10], rax
movzx eax, word [r14 + 6]
inc ax
mov word [rdi + 8], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x180036bb4
lea eax, [rdi + 7]
jmp 0x180036c3a
mov word [rdi + 8], bp
cmp byte [rsi + 0x58], bl
je 0x180036bf2
cmp byte [rsi + 0x59], bl
je 0x180036bd0
mov rax, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x180036bfa
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x180036bfa
mov rax, qword [rsi + 0x38]
lea r8, [rax + 0x10]
mov edx, dword [rax]
mov r9, rdi
mov rcx, r14
call fcn.180028f60
test ebp, ebp
jle 0x180036c22
mov rax, qword [rdi + 0x10]
add rax, 8
test byte [rax], 1
jne 0x180036c59
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x180036c13
mov rdx, qword [r13 + 0x10]
xor r9d, r9d
mov ecx, dword [r13 + 0xc]
mov r8, rdi
call fcn.1800293d0
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov dword [r15], 0xffffffff
jmp 0x180036c38