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

Disassembly:
cmp rdx, 0x1000
jb 0x14028e321
push rbx
sub rsp, 0x40
movabs rax, 0xffff800000000000
mov rbx, rdx
test rax, rdx
jne 0x14028e31c
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rdx], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x14028e317
lea rax, [rsp + 0x38]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14028e30c
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14028e301
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14028e2f6
cmp dword [rsp + 0x60], 1
jne 0x14028e2f6
mov edx, dword [rsp + 0x58]
xor ecx, ecx
inc edx
shr edx, 1
inc edx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14028e2f6
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
Function at 0x140002940
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000298a
mov ecx, free
cmp word [rax], cx
jne 0x14000298a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000298a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000298a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000298a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000298c
xor al, al
add rsp, 0x28
ret
Function at 0x1400053a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x28], 0
cmp qword [rsp + 0x60], 0
jne 0x1400053d0
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
add rax, 0x88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jne 0x140005400
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], 0
je 0x14000542b
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x14], 0
jne 0x14000543d
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x14000549c
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x20]
cmp ecx, dword [rax + 0x10]
jae 0x14000547d
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x20]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x14000555b
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
jmp 0x140005501
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x140005545
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
mov rax, qword [rsp + 0x60]
add rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.14002fc50
test eax, eax
jne 0x140005543
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 1
jmp 0x140005545
jmp 0x1400054da
cmp dword [rsp + 0x38], 0
jne 0x14000555b
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jbe 0x140005578
mov ecx, 0x7f
call qword [0x140296588]
xor eax, eax
jmp 0x14000559c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
add rcx, rax
mov eax, dword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
add rsp, 0x58
ret
Function at 0x1400055b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movzx eax, word [rsp + 0x30]
mov word [rsp], ax
mov eax, 1
mov word [rsp + 4], ax
xor eax, eax
mov word [rsp + 8], ax
mov dword [rsp + 0xc], 0
jmp 0x1400055f1
mov eax, dword [rsp + 0xc]
add eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x14000566a
movzx ecx, word [rsp + 4]
movzx eax, word [rsp + 8]
cmp ecx, eax
jne 0x140005610
xor eax, eax
mov word [rsp + 8], ax
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rcx]
add edx, 0x609
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movsxd rdx, dword [rsp + 0xc]
movzx eax, word [rsp + 8]
movzx ecx, word [rsp + rax*2]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rdx]
xor edx, ecx
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movzx eax, word [rsp + 8]
add ax, 1
mov word [rsp + 8], ax
jmp 0x1400055e6
add rsp, 0x18
ret
Function at 0x140005c80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x140005ce7
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x140005e3a
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
jne 0x140005d91
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jle 0x140005d8c
movsxd rdx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x140296598]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140005d5a
xor eax, eax
jmp 0x140005e3f
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [rcx + 8], eax
movsxd r8, dword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140030060
jmp 0x140005cce
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x14]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x68], rax
jae 0x140005db5
xor eax, eax
jmp 0x140005e3f
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov r9d, 4
mov r8d, 0x1000
call qword [0x140296598]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140005df0
xor eax, eax
jmp 0x140005e3f
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rdx, qword [rsp + 0x60]
add rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.14002fd10
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x28]
mov dword [r11 + 8], eax
jmp 0x140005cce
mov eax, 1
add rsp, 0x58
ret
Function at 0x1400068a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140294bb0]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140006c70
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x40], 0x55
mov byte [rsp + 0x41], 0x73
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], 0x72
mov byte [rsp + 0x44], 0x33
mov byte [rsp + 0x45], 0x32
mov byte [rsp + 0x46], 0x2e
mov byte [rsp + 0x47], 0x64
mov byte [rsp + 0x48], 0x6c
mov byte [rsp + 0x49], 0x6c
mov byte [rsp + 0x4a], 0
mov byte [rsp + 0x50], 0x53
mov byte [rsp + 0x51], 0x68
mov byte [rsp + 0x52], 0x6f
mov byte [rsp + 0x53], 0x77
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x69
mov byte [rsp + 0x56], 0x6e
mov byte [rsp + 0x57], 0x64
mov byte [rsp + 0x58], 0x6f
mov byte [rsp + 0x59], 0x77
mov byte [rsp + 0x5a], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
call fcn.1400066e0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x1e8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002f640
add rsp, 0x78
ret

Function at 0x140009b98
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400189ec
mov rsi, rax
test rax, rax
je 0x140009c14
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140009c0f
cmp dword [rbx], 0x40
jb 0x140009c0f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140009c0f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140009c18
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400105dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140010644
call fcn.140017b04
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140010644
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140010666
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000fff4
mov esi, eax
test rdi, rdi
je 0x140010664
test rbx, rbx
je 0x140010664
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140010ec8
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140010f06
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x140010fba
call fcn.140012410
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140010f25
mov ecx, 0x80004005
call fcn.140004780
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140031114
test eax, eax
je 0x140010f8d
cmp eax, 0xc
je 0x140010f87
cmp eax, 0x16
je 0x140010f81
cmp eax, 0x22
je 0x140010f81
cmp eax, 0x50
je 0x140010f8d
call fcn.14001231c
int3
call fcn.14001231c
int3
call fcn.1400122d4
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140010fb8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140015764
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x1400157a3
cmp dword [rcx + 0xa8], 0
jne 0x1400157a3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140017b04
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140015708
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015dec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140015e5e
call fcn.140017b04
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140015e5e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140015eab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140015e8b
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140015e8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140015ea9
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1400316d4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140039ef0
nop
cmp dword [0x140299fe8], 1
je 0x140031680
mov dword [0x140299fe4], 1
mov byte [0x140299fe0], r12b
test ebx, ebx
jne 0x14003166c
mov rcx, qword [0x14029c0f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140031659
mov rcx, qword [0x14029c0e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400315f8
call fcn.140032a10
cmp qword [rdi], rax
jne 0x1400315f8
jmp 0x1400315de
cmp rdi, rsi
jb 0x140031659
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140032a10
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14029c0f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14029c0e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140031637
cmp r13, rax
je 0x140031657
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400315de
lea rdx, [0x140045cb0]
lea rcx, [0x140045c98]
call fcn.140031428
lea rdx, [0x140045cc0]
lea rcx, [0x140045cb8]
call fcn.140031428
nop
test r12d, r12d
je 0x14003168f
mov ecx, 8
call fcn.140039df0
test r12d, r12d
jne 0x1400316ba
mov dword [0x140299fe8], 1
lea ecx, [r12 + 8]
call fcn.140039df0
mov ecx, r15d
call fcn.1400313bc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140031548

Function at 0x1400316e0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140031548
Function at 0x14003513f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140294bb0]
jne 0x14002f65a
rol rcx, 0x10
test cx, 0xffff
jne 0x14002f656
repz ret
ror rcx, 0x10
jmp 0x140035098
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14029a0b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14029a1a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14003511d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14029a0b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14003513f
mov rax, qword [rsp + 0x88]
mov qword [0x14029a1a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14029a148], rax
mov rax, qword [0x14029a1a8]
mov qword [0x14029a020], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14029a130], rax
mov dword [0x14029a010], 0xc0000409
mov dword [0x14029a014], 1
mov rax, qword [0x140294bb0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140294bb8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14029a0a8], eax
mov ecx, 1
call fcn.14003b144
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14004d610]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14029a0a8], 0
jne 0x1400351c6
mov ecx, 1
call fcn.14003b144
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14003ca84
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140032a10
xor ebx, ebx
mov rdi, rax
cmp qword [0x14029ade8], rbx
jne 0x14003cb8a
lea rcx, [0x14004f178]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003cc5f
lea rdx, [0x14004f168]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cc5f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14004f158]
mov rcx, rsi
mov qword [0x14029ade8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14004f140]
mov rcx, rsi
mov qword [0x14029adf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14004f120]
mov rcx, rsi
mov qword [0x14029adf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14029ae08], rax
test rax, rax
je 0x14003cb81
lea rdx, [0x14004f108]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14029ae00], rax
jmp 0x14003cb91
mov rax, qword [0x14029ae00]
jmp 0x14003cb98
mov rax, qword [0x14029ae00]
mov r11, qword [0x14029ae08]
cmp rax, rdi
je 0x14003cc00
cmp r11, rdi
je 0x14003cc00
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14029ae08]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14003cc00
test rax, rax
je 0x14003cc00
call rsi
test rax, rax
je 0x14003cbfa
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14003cbfa
test byte [rsp + 0x38], 1
jne 0x14003cc00
bts ebp, 0x15
jmp 0x14003cc3e
mov rcx, qword [0x14029adf0]
cmp rcx, rdi
je 0x14003cc3e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003cc3e
call rax
mov rbx, rax
test rax, rax
je 0x14003cc3e
mov rcx, qword [0x14029adf8]
cmp rcx, rdi
je 0x14003cc3e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003cc3e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14029ade8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003cc5f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14003cc61
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret