joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004102c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14008c110]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400410a1
cmp byte [rcx + 0x71], 0
je 0x1400410a1
or edx, 0xffffffff
call fcn.140040110
cmp eax, 0xffffffff
je 0x1400410f6
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140062ace.0]
test eax, eax
je 0x1400410bc
sub eax, 1
je 0x1400410c0
cmp eax, 2
jne 0x1400410f6
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d060
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400410ed
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14005672c
cmp rdi, rax
jne 0x1400410f6
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400410a3
xor al, al
jmp 0x1400410a3

Function at 0x140042e0c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140042c67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140042c67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140042c67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140042c67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140042c67
cmp dword [rcx + 0x84], 0xe
jbe 0x140042c67
cmp dword [rcx + 0xf8], 0
je 0x140042c67
mov ecx, ebx
call fcn.140042d14
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140042ae4
cmp dword [rbp + 0x20], 0
je 0x140042cb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140042cc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140042c00

Function at 0x14004d6e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14008d110], eax
call fcn.14004d3dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14008d110], 0
jne case.default.0x14004d73e
mov ecx, 1
call fcn.14004d3dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
std
xchg edx, eax
and dword [rdi], edi
xchg esi, ecx
jge 0x1400f7978
mov ebx, 0x4738168a
mov ch, byte [rax]
fsubr dword [0x140eaf795]
invalid
test eax, 0x9ddfe03f
cmp dword [rax - 0x5019b99d], 0xffffffce
sub bh, byte [rbx]
cli
fisttp qword [rdi + 0x4d40d3eb]
invalid
Function at 0x1400040e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x18], rcx
mov rax, qword [section..rdata]
mov qword [rsp + 0x10], rax
mov dword [rsp + 0xc], 0
mov dword [rsp + 4], 0x590e
mov eax, dword [rsp + 4]
mov dword [rsp], eax
sub eax, 0xc7b
je 0x1400042b0
jmp 0x140004125
mov eax, dword [rsp]
sub eax, 0x16d4
je 0x140004233
jmp 0x140004138
mov eax, dword [rsp]
sub eax, 0x1850
je 0x14000420b
jmp 0x14000414b
mov eax, dword [rsp]
sub eax, 0x2b00
je 0x140004226
jmp 0x14000415e
mov eax, dword [rsp]
sub eax, 0x3a8d
je 0x14000427f
jmp 0x140004171
mov eax, dword [rsp]
sub eax, 0x5005
je 0x140004302
jmp 0x140004184
mov eax, dword [rsp]
sub eax, 0x590e
je 0x1400041d5
jmp 0x140004197
mov eax, dword [rsp]
sub eax, 0x765f
je 0x1400041f0
jmp 0x1400041aa
mov eax, dword [rsp]
sub eax, 0x7f61
je 0x14000426d
jmp 0x1400041bd
mov eax, dword [rsp]
sub eax, 0x7fbe
je 0x14000428c
jmp 0x1400041d0
jmp 0x140004310
mov eax, 0xc7b
mov ecx, 0x765f
cmp dword [rsp + 0xc], 8
cmovl eax, ecx
mov dword [rsp + 4], eax
jmp 0x140004310
mov eax, 0x1850
mov ecx, 0x2b00
cmp dword [rsp + 0xc], 4
cmove eax, ecx
mov dword [rsp + 4], eax
jmp 0x140004310
mov eax, 0x16d4
mov ecx, 0x2b00
cmp dword [rsp + 0xc], 5
cmove eax, ecx
mov dword [rsp + 4], eax
jmp 0x140004310
mov dword [rsp + 4], 0x7fbe
jmp 0x140004310
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0xc]
add rax, rcx
movsxd rcx, dword [rsp + 0x24]
movzx edx, byte [rax + rcx]
movsxd rax, dword [rsp + 0xc]
movzx r8d, byte [rsp + rax + 0x10]
mov eax, 0x3a8d
mov ecx, 0x7f61
cmp edx, r8d
cmovne eax, ecx
mov dword [rsp + 4], eax
jmp 0x140004310
mov byte [rsp + 0x37], 0
mov dword [rsp + 4], 0x5005
jmp 0x140004310
mov dword [rsp + 4], 0x7fbe
jmp 0x140004310
mov eax, dword [rsp + 0xc]
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
mov dword [rsp + 0xc], eax
mov dword [rsp + 4], 0x590e
jmp 0x140004310
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x24]
mov al, byte [rax + rcx + 5]
mov byte [rsp + 0xb], al
mov rax, qword [rsp + 0x18]
movsxd rcx, dword [rsp + 0x24]
mov al, byte [rax + rcx + 4]
mov byte [rsp + 0xa], al
movzx eax, byte [rsp + 0xb]
shl eax, 8
movzx edx, byte [rsp + 0xa]
mov ecx, eax
and ecx, edx
xor eax, edx
or ecx, eax
mov rax, qword [rsp + 0x28]
mov dword [rax], ecx
mov byte [rsp + 0x37], 1
mov dword [rsp + 4], 0x5005
jmp 0x140004310
mov al, byte [rsp + 0x37]
and al, 1
movzx eax, al
add rsp, 0x38
ret
jmp 0x14000410e
Function at 0x1400247ec
Capabilities:
Parse pe header

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

Function at 0x14002d380
Capabilities:
Parse pe header

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

Function at 0x180001000
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x180003210]
mov rcx, rax
lea rdx, str.conin_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18000321c]
mov rcx, rax
lea rdx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18000321c]
mov rcx, rax
lea rdx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.csgo_nigger_console
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]

Function at 0x180001230
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180001271
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800011a0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180001271
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1800011c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18023d008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r9d
mov dword [rsp + 0x30], edx
mov rbx, r8
mov dword [rsp + 0x20], 0xf0000000
mov rsi, rcx
mov r9d, 0x18
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180239530
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001088
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r8d, ecx
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x30]
movsxd rdx, dword [rax + 0x3c]
mov edx, dword [rax + rdx + 0x88]
test rdx, rdx
je 0x1400010a6
mov r9d, dword [rax + rdx + 0x18]
test r9, r9
je 0x1400010a6
mov r10d, dword [rax + rdx + 0x20]
add r10, rax
lea r11, [rax + 1]
dec r9
mov esi, r9d
mov edi, dword [r10 + rsi*4]
mov bl, byte [rax + rdi]
test bl, bl
je 0x140001108
add rdi, r11
mov ebp, 0x37c4fdc6
movsx ebx, bl
xor ebx, ebp
imul ebp, ebx, 0x1000193
mov bl, byte [rdi]
inc rdi
test bl, bl
jne 0x1400010ec
cmp ebp, 0x85278bfb
je 0x14000110f
test rsi, rsi
jne 0x1400010d3
jmp 0x1400010a6
mov ecx, dword [rax + rdx + 0x1c]
mov edx, dword [rax + rdx + 0x24]
add rcx, rax
add rdx, rax
movzx edx, word [rdx + rsi*2]
mov r9d, dword [rcx + rdx*4]
add r9, rax
xor edi, edi
mov ecx, 1
xor edx, edx
call r9
test rax, rax
je 0x140001286
mov rsi, rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x30]
movsxd rdx, dword [rax + 0x3c]
mov edx, dword [rax + rdx + 0x88]
test rdx, rdx
je 0x140001151
mov r8d, dword [rax + rdx + 0x18]
test r8, r8
je 0x140001151
mov r9d, dword [rax + rdx + 0x20]
add r9, rax
lea r10, [rax + 1]
dec r8
mov r11d, r8d
mov edi, dword [r9 + r11*4]
mov bl, byte [rax + rdi]
test bl, bl
je 0x1400011b3
add rdi, r10
mov ebp, 0x38b83366
movsx ebx, bl
xor ebx, ebp
imul ebp, ebx, 0x1000193
mov bl, byte [rdi]
inc rdi
test bl, bl
jne 0x140001197
cmp ebp, 0xe9bcc19e
je 0x1400011ba
test r11, r11
jne 0x14000117e
jmp 0x140001151
mov ecx, dword [rax + rdx + 0x1c]
mov edx, dword [rax + rdx + 0x24]
add rcx, rax
add rdx, rax
movzx edx, word [rdx + r11*2]
mov r8d, dword [rcx + rdx*4]
add r8, rax
mov rcx, rsi
xor edx, edx
call r8
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
add rdx, 0x10
mov rdx, qword [rdx]
mov rcx, qword [rdx + 0x30]
movsxd r8, dword [rcx + 0x3c]
mov r8d, dword [rcx + r8 + 0x88]
test r8, r8
je 0x1400011ed
mov r9d, dword [rcx + r8 + 0x18]
test r9, r9
je 0x1400011ed
mov r10d, dword [rcx + r8 + 0x20]
add r10, rcx
lea rdi, [rcx + 1]
dec r9
mov r11d, r9d
mov ebx, dword [r10 + r11*4]
mov bpl, byte [rcx + rbx]
test bpl, bpl
je 0x140001259
add rbx, rdi
mov r14d, 0xc7bd91b1
movsx ebp, bpl
xor ebp, r14d
imul r14d, ebp, 0x1000193
mov bpl, byte [rbx]
inc rbx
test bpl, bpl
jne 0x140001237
cmp r14d, 0x2644d991
je 0x140001260
test r11, r11
jne 0x14000121b
jmp 0x1400011ed
test eax, eax
setne dil
mov eax, dword [rcx + r8 + 0x1c]
mov edx, dword [rcx + r8 + 0x24]
add rax, rcx
add rdx, rcx
movzx edx, word [rdx + r11*2]
mov edx, dword [rax + rdx*4]
add rdx, rcx
mov rcx, rsi
call rdx
mov eax, edi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14000248c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
add rdx, 0x10
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
movsxd r8, dword [rax + 0x3c]
mov r8d, dword [rax + r8 + 0x88]
test r8, r8
je 0x1400024a1
mov r9d, dword [rax + r8 + 0x18]
test r9, r9
je 0x1400024a1
mov r10d, dword [rax + r8 + 0x20]
add r10, rax
lea r11, [rax + 1]
dec r9
mov esi, r9d
mov edi, dword [r10 + rsi*4]
mov bl, byte [rax + rdi]
test bl, bl
je 0x140002504
add rdi, r11
mov ebp, 0x9cc7cccd
movsx ebx, bl
xor ebx, ebp
imul ebp, ebx, 0x1000193
mov bl, byte [rdi]
inc rdi
test bl, bl
jne 0x1400024e8
cmp ebp, 0xb40b61e7
je 0x14000250b
test rsi, rsi
jne 0x1400024cf
jmp 0x1400024a1
mov edx, dword [rax + r8 + 0x1c]
mov r8d, dword [rax + r8 + 0x24]
add rdx, rax
add r8, rax
movzx r8d, word [r8 + rsi*2]
mov edx, dword [rdx + r8*4]
add rdx, rax
pop rbx
pop rbp
pop rdi
pop rsi
jmp rdx
Function at 0x140005778
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1410c5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400014c4
xor ebx, ebx
cmp qword [0x1410c7b08], rbx
mov rdi, rax
jne 0x14000588b
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005962
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140005962
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1410c7b08], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1410c7b10], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1410c7b18], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x1410c7b28], rax
test rax, rax
je 0x140005882
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x1410c7b20], rax
jmp 0x140005892
mov rax, qword [0x1410c7b20]
jmp 0x140005899
mov rax, qword [0x1410c7b20]
mov r11, qword [0x1410c7b28]
cmp rax, rdi
je 0x140005900
cmp r11, rdi
je 0x140005900
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x1410c7b28]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005900
test rax, rax
je 0x140005900
call rsi
test rax, rax
je 0x1400058fa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400058fa
test byte [rsp + 0x40], 1
jne 0x140005900
bts ebp, 0x15
jmp 0x140005940
mov rcx, qword [0x1410c7b10]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
call rax
mov rbx, rax
test rax, rax
je 0x140005940
mov rcx, qword [0x1410c7b18]
cmp rcx, rdi
je 0x140005940
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005940
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1410c7b08]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140005962
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005964
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005cab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1410c5010]
jne 0x14000539e
rol rcx, 0x10
test cx, 0xffff
jne 0x14000539a
repz ret
ror rcx, 0x10
jmp 0x140005c04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1410c7bd0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x1410c7cc8]
mov qword [rsp + 0x58], rax
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 0x140005c89
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, [0x1410c7bd0]
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 0x140005cab
mov rax, qword [rsp + 0x88]
mov qword [0x1410c7cc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1410c7c68], rax
mov rax, qword [0x1410c7cc8]
mov qword [0x1410c7b40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1410c7c50], rax
mov dword [0x1410c7b30], 0xc0000409
mov dword [0x1410c7b34], 1
mov rax, qword [0x1410c5010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1410c5018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1410c7bc8], eax
mov ecx, 1
call fcn.140005764
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, str.0_fA
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1410c7bc8], 0
jne 0x140005d32
mov ecx, 1
call fcn.140005764
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 0x415540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4156eb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431d20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x4155ae
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4155c1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4155e5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4155f9
cmp rbx, 0x1000
jae 0x4155b8
nop
jmp 0x415669
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41560d
xor edx, edx
jmp 0x415660
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431d20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4155ef
jmp 0x4155d5
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004362e0
lea rax, [0x004ac658]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00436be0
mov rax, qword [rsp + 0x38]
call fcn.004368e0
lea rax, [0x004ac718]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436be0
mov rax, qword [rsp + 0x30]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004ae8b6]
mov ebx, 0x21
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415540
Function at 0x415720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41594a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41579b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4157ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4157d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4157e4
cmp rbx, 0x1000
jae 0x4157a5
jmp 0x41586e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4157f6
xor esi, esi
jmp 0x415860
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4157da
jmp 0x4157c2
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4158e9
call fcn.004362e0
lea rax, [0x004acace]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x68]
call fcn.004368e0
lea rax, [0x004ac718]
mov ebx, 0x19
nop
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004a970b]
mov ebx, 0xd
call fcn.00434a20
cmp eax, 0x5af
je 0x415893
call fcn.004362e0
lea rax, [0x004acace]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x38]
call fcn.004368e0
lea rax, [0x004ac718]
mov ebx, 0x19
nop dword [rax]
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004ae1c8]
mov ebx, 0x1f
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415720