joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009820
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
or ebp, 0xffffffff
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x140009929
test edx, edx
je 0x140009929
cmp edx, 0x7fffffff
ja 0x140009929
mov eax, 0x5a4d
cmp ax, word [rcx]
jne 0x140009929
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140009929
mov qword [rsp + 0x30], rsi
lea rsi, [rcx + rax]
mov edx, 8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x140009924
cmp dword [rsi], 0x4550
jne 0x140009924
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
movzx r10d, word [rax + 6]
test r10d, r10d
je 0x140009924
cmp r10d, 0x1000
jg 0x140009924
mov edx, 0xf0
mov ecx, 0x108
mov r11d, 0xf8
cmp word [rax + 0x14], dx
cmove r11, rcx
xor r9d, r9d
add r11, rax
test r10d, r10d
jle 0x140009924
lea rdx, [r11 + 0xc]
nop dword [rax]
mov r8d, dword [rdx]
cmp ebx, r8d
ja 0x1400098f3
mov eax, dword [rdx + 4]
lea ecx, [r8 + rax]
cmp ebx, ecx
jae 0x140009911
cmp ebx, r8d
jb 0x140009903
mov eax, dword [rdx + 4]
lea ecx, [r8 + rax]
cmp ebx, ecx
jbe 0x140009911
inc r9d
add rdx, 0x28
cmp r9d, r10d
jl 0x1400098e0
jmp 0x140009924
movsxd rax, r9d
lea rcx, [rax + rax*4]
mov ebp, dword [r11 + rcx*8 + 0x14]
sub ebp, dword [r11 + rcx*8 + 0xc]
add ebp, ebx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov eax, ebp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140009b50
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1400597a8]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rax, [fcn.1400097c0]
mov rdi, r8
mov ebx, ecx
test rax, rax
je 0x140009beb
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x434
call fcn.14002ea20
mov edx, ebx
mov ecx, 8
mov dword [rsp + 0x20], 0x438
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009beb
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140009be2
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400097c0
test eax, eax
je 0x140009be2
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140009bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140028300
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret
Function at 0x14000c310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rdi, r9
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x30], r8d
mov r9, rdx
mov r8, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000c36e
mov r8d, dword [rsp + 0x30]
lea rdx, [0x14004bb20]
mov r9, rdi
mov rcx, rsi
call sym.gddaemon64.exe_HLogInfoW
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14001d2f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140041400
sub rsp, rax
mov rax, qword [0x1400597a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rbx, qword [0x14005ccc8]
xor edi, edi
test rbx, rbx
jne 0x14001d3af
lea rcx, [0x14005c7a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, str.......commoncpfasttask.cpp
lea r8, str._s._d
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], 0x41
call qword [0x140046498]
lea rax, [rsp + 0x30]
lea r8, [0x14001d290]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14001d3a5
mov r8d, dword [rsp + 0x30]
lea r9, [0x14004c6e8]
lea rdx, [0x14004bb20]
lea rcx, [rsp + 0x40]
call sym.gddaemon64.exe_HLogInfoW
mov qword [0x14005ccc8], rbx
test rbx, rbx
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140028300
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x14001eac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [0x14004c6f8]
lea rdx, [0x14004c708]
mov rcx, 0xffffffff80000002
call qword [0x140046480]
test eax, eax
jne 0x14001eb0c
cmp dword [rsp + 0x50], 1
jne 0x14001eb0c
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x14001eb20
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, str.DeviceUnique
lea rdx, str.SoftwareWOW6432NodeGSSoft
mov rcx, 0xffffffff80000002
call qword [0x1400464a8]
test eax, eax
jne 0x14001eb6c
cmp dword [rsp + 0x50], 1
jne 0x14001eb6c
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x14001eb80
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, str.localaddr
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75
mov rcx, 0xffffffff80000002
call qword [0x140046480]
test eax, eax
jne 0x14001ebcc
cmp dword [rsp + 0x50], 1
jne 0x14001ebcc
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x14001ec60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov rbx, rcx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, str.DeviceUnique
lea rdx, str.SoftwareWOW6432NodeGSSoft
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x80
call qword [0x1400464a8]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x80]
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x48]
lea r8, str.unique
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75guardinfo_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x80
mov qword [rsp + 0x20], rax
call qword [0x1400464a8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x100]
lea r9, [rsp + 0x48]
lea r8, str.userName
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75guardinfo_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x80
mov qword [rsp + 0x20], rax
call qword [0x1400464a8]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x180]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea r8, str.nickName
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75guardinfo_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x80
mov qword [rsp + 0x20], rax
call qword [0x1400464a8]
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x200]
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x48]
lea r8, str.department
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75guardinfo_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x80
mov qword [rsp + 0x20], rax
call qword [0x1400464a8]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], r8
lea rax, [rbx + 0x280]
lea r9, [rsp + 0x48]
lea r8, str.depid
lea rdx, str.SoftwareWOW6432NodeGSSoftcis75guardinfo_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x20
mov qword [rsp + 0x20], rax
call qword [0x1400464a8]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14001edf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x120
mov rax, qword [0x1400597a8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x14001ef5e
test edx, edx
je 0x14001ef5e
xor edx, edx
lea rcx, [rsp + 0x91]
mov byte [rsp + 0x90], 0
lea r8d, [rdx + 0x7f]
call fcn.14002ea20
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea r8, str.servAddr
lea rdx, str.SoftwareWOW6432Nodegssoftcis75global
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x34], 0x80
mov qword [rsp + 0x20], rax
call qword [0x140046480]
test eax, eax
jne 0x14001ef5e
cmp dword [rsp + 0x30], 1
jne 0x14001ef5e
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x140], rdi
mov byte [rsp + 0x40], al
xor eax, eax
lea rdi, [rsp + 0x90]
lea rdx, [rsp + 0x90]
repne scasb al, byte [rdi]
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], 0
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.140004f80
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140008620
cmp qword [rsp + 0x80], 0x10
lea rcx, [rsp + 0x68]
cmovae rcx, qword [rsp + 0x68]
call fcn.1400095b0
mov rdi, qword [rsp + 0x140]
test eax, eax
je 0x14001ef49
cmp qword [rsp + 0x80], 0x10
lea rdx, [rsp + 0x68]
mov r8d, ebx
cmovae rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0x80], 0x10
jb 0x14001ef42
mov rcx, qword [rsp + 0x68]
call fcn.1400285b0
mov eax, 1
jmp 0x14001ef60
cmp qword [rsp + 0x80], 0x10
jb 0x14001ef5e
mov rcx, qword [rsp + 0x68]
call fcn.1400285b0
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140028300
mov rbx, qword [rsp + 0x148]
add rsp, 0x120
pop rsi
ret

Function at 0x14001f010
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400597a8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.14002ea20
mov rcx, rbx
call qword [0x140046488]
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov r11, rdi
mov ecx, 0x80
nop word [rax + rax]
movzx eax, word [rsp + r11*2 + 0x20]
test ax, ax
je 0x14001f096
cmp ax, cx
jae 0x14001f08a
or ax, 0x20
mov word [rsp + r11*2 + 0x20], ax
inc r11
cmp r11, 0x104
jl 0x14001f070
lea rdx, [rsp + 0x230]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
mov ebx, 0x90772ea5
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
movsxd r8, eax
test eax, eax
jle 0x14001f0ee
lea r9, [0x14005aa90]
nop dword [rax]
movzx edx, byte [rsp + rdi + 0x20]
movzx eax, bl
mov ecx, ebx
xor rdx, rax
shr ecx, 8
inc rdi
mov ebx, dword [r9 + rdx*4]
xor ebx, ecx
cmp rdi, r8
jl 0x14001f0d0
not ebx
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140028300
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
Function at 0x140026f30
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400597a8]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, str.gdpm32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14005cdf8], rax
test rax, rax
jne 0x140027025
lea r8, [0x14004b8e4]
lea rdx, [0x14005aeb8]
lea rcx, [rsp + 0x48]
call fcn.1400270d0
nop
cmp dword [0x14005ca78], 0
je 0x140026fa7
mov r8d, 0xa
lea rdx, str.gdpm64.dll
lea rcx, [rsp + 0x48]
call fcn.14000a5d0
jmp 0x140026fbe
mov r8d, 0xa
lea rdx, str.gdpm32.dll
lea rcx, [rsp + 0x48]
call fcn.14000a5d0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14005cdf8], rax
test rax, rax
je 0x140027013
lea rdx, str.GdPmStart
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005cde8], rax
lea rdx, str.GdPmStop
mov rcx, qword [0x14005cdf8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005cdf0], rax
cmp qword [rsp + 0x68], 8
jb 0x140027025
mov rcx, qword [rsp + 0x50]
call fcn.1400285b0
cmp qword [0x14005cde8], 0
je 0x1400270b7
cmp qword [0x14005cdf0], 0
je 0x1400270b7
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, str.print
lea rdx, str.SoftwareWOW6432Nodegssoftcis75gddaemon
mov rcx, 0xffffffff80000002
call qword [0x1400464a8]
cmp dword [rsp + 0x30], 1
sete al
cmp al, byte [0x14005d1f8]
jne 0x14002709d
xor eax, eax
jmp 0x1400270ba
mov byte [0x14005d1f8], al
test al, al
je 0x1400270af
call qword [0x14005cde8]
jmp 0x1400270ba
call qword [0x14005cdf0]
jmp 0x1400270ba
or eax, 0xffffffff
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140028300
add rsp, 0x88
ret
Function at 0x14002e8f3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400597a8]
jne 0x14002831a
rol rcx, 0x10
test cx, 0xffff
jne 0x140028316
repz ret
ror rcx, 0x10
jmp 0x14002e84c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005b9e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005bad8]
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 0x14002e8d1
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, [0x14005b9e0]
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 0x14002e8f3
mov rax, qword [rsp + 0x88]
mov qword [0x14005bad8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005ba78], rax
mov rax, qword [0x14005bad8]
mov qword [0x14005b950], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005ba60], rax
mov dword [0x14005b940], 0xc0000409
mov dword [0x14005b944], 1
mov rax, qword [0x1400597a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400597b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005b9d8], eax
mov ecx, 1
call fcn.14002f5ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140047360]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005b9d8], 0
jne 0x14002e97a
mov ecx, 1
call fcn.14002f5ac
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 0x14002f368
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002f1dc
Function at 0x14002f374
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.140032f34
nop
cmp dword [0x14005bf18], 1
je 0x14002f314
mov dword [0x14005bf14], 1
mov byte [0x14005bf10], r12b
test ebx, ebx
jne 0x14002f300
mov rcx, qword [0x14005d490]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002f2ed
mov rcx, qword [0x14005d488]
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 0x14002f28c
call fcn.14002ec84
cmp qword [rdi], rax
jne 0x14002f28c
jmp 0x14002f272
cmp rdi, rsi
jb 0x14002f2ed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002ec84
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005d490]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005d488]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002f2cb
cmp r13, rax
je 0x14002f2eb
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 0x14002f272
lea rdx, [0x1400465e8]
lea rcx, [0x1400465d0]
call fcn.14002f0bc
lea rdx, [0x1400465f8]
lea rcx, [0x1400465f0]
call fcn.14002f0bc
nop
test r12d, r12d
je 0x14002f323
mov ecx, 8
call fcn.140032e34
test r12d, r12d
jne 0x14002f34e
mov dword [0x14005bf18], 1
lea ecx, [r12 + 8]
call fcn.140032e34
mov ecx, r15d
call fcn.14002f050
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
lea edx, [r8 + 1]
jmp 0x14002f1dc
Function at 0x140037cbc
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.14002ec84
xor ebx, ebx
mov rdi, rax
cmp qword [0x14005c760], rbx
jne 0x140037dc2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140037e97
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037e97
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14005c760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14005c768], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14005c770], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14005c780], rax
test rax, rax
je 0x140037db9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14005c778], rax
jmp 0x140037dc9
mov rax, qword [0x14005c778]
jmp 0x140037dd0
mov rax, qword [0x14005c778]
mov r11, qword [0x14005c780]
cmp rax, rdi
je 0x140037e38
cmp r11, rdi
je 0x140037e38
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14005c780]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140037e38
test rax, rax
je 0x140037e38
call rsi
test rax, rax
je 0x140037e32
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140037e32
test byte [rsp + 0x38], 1
jne 0x140037e38
bts ebp, 0x15
jmp 0x140037e76
mov rcx, qword [0x14005c768]
cmp rcx, rdi
je 0x140037e76
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e76
call rax
mov rbx, rax
test rax, rax
je 0x140037e76
mov rcx, qword [0x14005c770]
cmp rcx, rdi
je 0x140037e76
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e76
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005c760]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e97
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140037e99
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
Function at 0x14003f7d0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
cmp dword [0x14005d208], 0
je 0x14003f7e4
xor eax, eax
jmp 0x14003fa4a
cmp qword [0x14005d200], 0
je 0x14003f7fa
mov rax, qword [0x14005d200]
jmp 0x14003fa4a
mov r8d, 0x48
xor edx, edx
lea rcx, [0x14005d210]
call fcn.14002ea20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x14005d210], rax
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14005d218], rax
cmp qword [0x14005d218], 0
jne 0x14003f8ae
mov dword [0x14005d208], 1
cmp qword [0x14005d218], 0
je 0x14003f85a
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14005d220], 0
mov qword [0x14005d228], 0
mov qword [0x14005d230], 0
mov qword [0x14005d238], 0
mov qword [0x14005d240], 0
mov qword [0x14005d248], 0
mov qword [0x14005d250], 0
xor eax, eax
jmp 0x14003fa4a
lea rdx, str.ImagehlpApiVersionEx
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d220], rax
lea rdx, str.SymInitialize
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d228], rax
lea rdx, str.SymSetOptions
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d230], rax
lea rdx, str.SymGetOptions
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d238], rax
lea rdx, str.SymLoadModule64
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d240], rax
lea rdx, str.SymGetModuleInfo64
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d248], rax
lea rdx, str.SymFromName
mov rcx, qword [0x14005d218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005d250], rax
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14002ea20
mov r11d, 0xb
mov word [rsp + 0x20], r11w
cmp qword [0x14005d220], 0
je 0x14003f9bb
cmp qword [0x14005d228], 0
je 0x14003f9bb
cmp qword [0x14005d240], 0
je 0x14003f9bb
cmp qword [0x14005d248], 0
je 0x14003f9bb
cmp qword [0x14005d250], 0
jne 0x14003f9c0
jmp 0x14003f839
lea rcx, [rsp + 0x20]
call qword [0x14005d220]
movzx eax, word [rsp + 0x20]
cmp eax, 0xb
jge 0x14003f9da
jmp 0x14003f839
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14005d210]
call qword [0x14005d228]
test eax, eax
jne 0x14003f9f5
jmp 0x14003f839
cmp qword [0x14005d238], 0
je 0x14003fa35
cmp qword [0x14005d230], 0
je 0x14003fa35
call qword [0x14005d238]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0xfffffff8
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
or eax, 0x2704
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 0x28]
call qword [0x14005d230]
lea rax, [0x14005d210]
mov qword [0x14005d200], rax
mov rax, qword [0x14005d200]
add rsp, 0x38
ret
Function at 0x14003feb0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x14005ce14], 0
je 0x14003fecd
mov eax, dword [0x14005ce14]
jmp 0x14003ff91
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rsp + 0x50], rax
jne 0x14003fee1
xor eax, eax
jmp 0x14003ff91
mov ecx, 0x10
call fcn.1400286ac
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003ff4a
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x14003ff2f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400285b0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x14005ce14], eax
mov qword [0x14005ce18], 0
mov eax, dword [rsp + 0x20]
jmp 0x14003ff91
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14003ff66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x14003ff0a
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [0x14005ce20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov qword [0x14005ce20], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x14003ffa0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov r8d, 0x30
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x14003ffc8
xor eax, eax
jmp 0x140040028
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003ffe5
xor eax, eax
jmp 0x140040028
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x14004000c
xor eax, eax
jmp 0x140040028
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x14004001d
xor eax, eax
jmp 0x140040028
mov rax, qword [rsp + 0x20]
jmp 0x140040028
add rsp, 0x68
ret

Function at 0x1400400f0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14005ce00]
mov qword [rsp + 0x20], rax
jmp 0x140040110
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140040135
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x140040102
add rsp, 0x38
ret