joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cc90
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
cmp qword [0x1400312c0], 0
je 0x14000cca3
jmp 0x14000ce8b
call fcn.140011c00
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x2580
jae 0x14000ccbb
jmp 0x14000ce8b
mov byte [rsp + 0x50], 0xe8
mov byte [rsp + 0x51], 0x3f
mov byte [rsp + 0x52], 0x3f
mov byte [rsp + 0x53], 0x3f
mov byte [rsp + 0x54], 0x3f
mov byte [rsp + 0x55], 0x48
mov byte [rsp + 0x56], 0x8b
mov byte [rsp + 0x57], 0x3f
mov byte [rsp + 0x58], 0x8b
mov byte [rsp + 0x59], 0x3f
mov byte [rsp + 0x5a], 0xe8
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x47bb
ja 0x14000cd87
cmp dword [rsp + 0x30], 0x47bb
je 0x14000cde7
cmp dword [rsp + 0x30], 0x3fab
ja 0x14000cd67
cmp dword [rsp + 0x30], 0x3fab
je 0x14000cddb
cmp dword [rsp + 0x30], 0x2580
je 0x14000cddb
cmp dword [rsp + 0x30], 0x3839
je 0x14000cddb
cmp dword [rsp + 0x30], 0x3ad7
je 0x14000cddb
jmp 0x14000cdf1
cmp dword [rsp + 0x30], 0x42ee
je 0x14000cde7
cmp dword [rsp + 0x30], 0x4563
je 0x14000cde7
cmp dword [rsp + 0x30], 0x47ba
je 0x14000cde7
jmp 0x14000cdf1
cmp dword [rsp + 0x30], 0x4a64
ja 0x14000cdbb
cmp dword [rsp + 0x30], 0x4a64
je 0x14000cde7
cmp dword [rsp + 0x30], 0x4a61
je 0x14000cde7
cmp dword [rsp + 0x30], 0x4a62
je 0x14000cde7
cmp dword [rsp + 0x30], 0x4a63
je 0x14000cde7
jmp 0x14000cdf1
cmp dword [rsp + 0x30], 0x4a65
je 0x14000cde7
cmp dword [rsp + 0x30], 0x55f0
je 0x14000cde7
cmp dword [rsp + 0x30], 0x585d
je 0x14000cde7
jmp 0x14000cdf1
call fcn.14000f9f0
mov qword [rsp + 0x40], rax
jmp 0x14000cdf1
call fcn.14000fb20
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000cdfe
jmp 0x14000ce8b
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x585d
je 0x14000ce12
jmp 0x14000ce20
mov rax, qword [rsp + 0x40]
mov qword [0x1400312c0], rax
jmp 0x14000ce81
mov byte [rsp + 0x20], 0
mov r9d, 0xb
lea r8, [rsp + 0x50]
mov edx, 0x150
mov rcx, qword [rsp + 0x40]
call fcn.140010ba0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140026220]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x48], 0
jne 0x14000ce5f
jmp 0x14000ce81
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 1]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 5]
mov qword [0x1400312c0], rax
xor eax, eax
test eax, eax
jne 0x14000cc94
mov rax, qword [0x1400312c0]
add rsp, 0x68
ret
Function at 0x14000db00
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x54]
lea rcx, [0x1400260e0]
call fcn.140008550
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000db3d
cmp dword [rsp + 0x54], 0
jne 0x14000db4e
lea rcx, [0x140026290]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dc71
mov byte [rsp + 0x30], 0x50
mov byte [rsp + 0x31], 0x41
mov byte [rsp + 0x32], 0x47
mov byte [rsp + 0x33], 0x45
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140012d90
cmp qword [rsp + 0x60], 0
je 0x14000dba8
cmp dword [rsp + 0x50], 0
jne 0x14000dbb9
lea rcx, [0x1400262c0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dc71
mov byte [rsp + 0x38], 0x48
mov byte [rsp + 0x39], 0x8d
mov byte [rsp + 0x3a], 0xd
mov byte [rsp + 0x3b], 0x3f
mov byte [rsp + 0x3c], 0x3f
mov byte [rsp + 0x3d], 0x3f
mov byte [rsp + 0x3e], 0x3f
mov byte [rsp + 0x3f], 0xe8
mov byte [rsp + 0x40], 0x3f
mov byte [rsp + 0x41], 0x3f
mov byte [rsp + 0x42], 0x3f
mov byte [rsp + 0x43], 0x3f
mov byte [rsp + 0x44], 0x3d
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 1
mov byte [rsp + 0x47], 0
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x20], 0
mov r9d, 0x11
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140010ba0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000dc47
lea rcx, [0x1400262f0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dc71
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 3]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 7]
mov qword [rsp + 0x78], rax
xor eax, eax
test eax, eax
jne 0x14000db10
mov rax, qword [rsp + 0x78]
add rsp, 0x88
ret
Function at 0x14000e290
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140024ac0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000e2de
jmp 0x14000e49e
call fcn.140011c70
movzx eax, al
test eax, eax
je 0x14000e3b9
mov byte [rsp + 0x20], 0xf
mov byte [rsp + 0x21], 0x95
mov byte [rsp + 0x22], 0xc2
mov byte [rsp + 0x23], 0xe8
mov r9d, 4
lea r8, [rsp + 0x20]
mov edx, 0x30
mov rcx, qword [rsp + 0x40]
call fcn.140010e10
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000e32e
jmp 0x14000e49e
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x140026120]
call sub.ntoskrnl.exe_DbgPrint
mov byte [rsp + 0x28], 0x33
mov byte [rsp + 0x29], 0xdb
mov byte [rsp + 0x2a], 0x4c
mov byte [rsp + 0x2b], 0x8d
mov byte [rsp + 0x2c], 0x2d
mov r9d, 5
lea r8, [rsp + 0x28]
mov edx, 0x100
mov rcx, qword [rsp + 0x70]
call fcn.140010e10
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000e39c
jmp 0x14000e49e
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 5]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 9]
mov qword [rsp + 0x48], rax
jmp 0x14000e494
call fcn.140011ca0
movzx eax, al
test eax, eax
je 0x14000e494
mov byte [rsp + 0x24], 0x45
mov byte [rsp + 0x25], 0x33
mov byte [rsp + 0x26], 0xc0
mov byte [rsp + 0x27], 0xe9
mov r9d, 4
lea r8, [rsp + 0x24]
mov edx, 0x10
mov rcx, qword [rsp + 0x40]
call fcn.140010e10
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14000e409
jmp 0x14000e49e
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x30], 0x66
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x32], 0x87
mov byte [rsp + 0x33], 0xc4
mov byte [rsp + 0x34], 1
mov byte [rsp + 0x35], 0
mov byte [rsp + 0x36], 0
mov byte [rsp + 0x37], 0x4c
mov byte [rsp + 0x38], 0x8d
mov byte [rsp + 0x39], 0x35
mov r9d, 0xa
lea r8, [rsp + 0x30]
mov edx, 0x100
mov rcx, qword [rsp + 0x78]
call fcn.140010e10
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000e47c
jmp 0x14000e49e
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0xa]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0xe]
mov qword [rsp + 0x48], rax
xor eax, eax
test eax, eax
jne 0x14000e2a0
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140026160]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x48]
add rsp, 0x98
ret
Function at 0x14000e610
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x78
cmp qword [0x1400312d0], 0
je 0x14000e623
jmp 0x14000e7b0
call fcn.140011c00
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x3fab
jae 0x14000e63b
jmp 0x14000e7b0
mov byte [rsp + 0x58], 0x48
mov byte [rsp + 0x59], 0x8b
mov byte [rsp + 0x5a], 0x98
mov byte [rsp + 0x5b], 0xb8
mov byte [rsp + 0x5c], 0
mov byte [rsp + 0x5d], 0
mov byte [rsp + 0x5e], 0
mov byte [rsp + 0x5f], 0x48
mov byte [rsp + 0x60], 0x33
mov byte [rsp + 0x61], 0x1d
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x4a62
ja 0x14000e6e6
cmp dword [rsp + 0x30], 0x4a62
je 0x14000e71d
cmp dword [rsp + 0x30], 0x47ba
ja 0x14000e6cd
cmp dword [rsp + 0x30], 0x47ba
je 0x14000e71d
cmp dword [rsp + 0x30], 0x3fab
je 0x14000e71d
cmp dword [rsp + 0x30], 0x42ee
je 0x14000e71d
cmp dword [rsp + 0x30], 0x4563
je 0x14000e71d
jmp 0x14000e7a6
cmp dword [rsp + 0x30], 0x47bb
je 0x14000e71d
cmp dword [rsp + 0x30], 0x4a61
je 0x14000e71d
jmp 0x14000e7a6
cmp dword [rsp + 0x30], 0x4a63
je 0x14000e71d
cmp dword [rsp + 0x30], 0x4a64
je 0x14000e71d
cmp dword [rsp + 0x30], 0x4a65
je 0x14000e71d
cmp dword [rsp + 0x30], 0x55f0
je 0x14000e71d
cmp dword [rsp + 0x30], 0x585d
je 0x14000e71d
jmp 0x14000e7a6
call fcn.14000fd20
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000e731
jmp 0x14000e7a6
mov byte [rsp + 0x20], 0
mov r9d, 0xa
lea r8, [rsp + 0x58]
mov edx, 0x150
mov rcx, qword [rsp + 0x48]
call fcn.140010ba0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000e75f
jmp 0x14000e7a6
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0xe]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [0x1400312d0], rax
mov r8, qword [0x1400312d0]
mov rdx, qword [rsp + 0x50]
lea rcx, [0x140026250]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
test eax, eax
jne 0x14000e614
mov rax, qword [0x1400312d0]
add rsp, 0x78
ret
Function at 0x14000ea30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov eax, 0x77
mov word [rsp + 0x40], ax
mov eax, 0x69
mov word [rsp + 0x42], ax
mov eax, 0x6e
mov word [rsp + 0x44], ax
mov eax, 0x33
mov word [rsp + 0x46], ax
mov eax, 0x32
mov word [rsp + 0x48], ax
mov eax, 0x6b
mov word [rsp + 0x4a], ax
mov eax, 0x62
mov word [rsp + 0x4c], ax
mov eax, 0x61
mov word [rsp + 0x4e], ax
mov eax, 0x73
mov word [rsp + 0x50], ax
mov eax, 0x65
mov word [rsp + 0x52], ax
mov eax, 0x2e
mov word [rsp + 0x54], ax
mov eax, 0x73
mov word [rsp + 0x56], ax
mov eax, 0x79
mov word [rsp + 0x58], ax
mov eax, 0x73
mov word [rsp + 0x5a], ax
xor eax, eax
mov word [rsp + 0x5c], ax
mov qword [rsp + 0x28], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140008550
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000eb5e
mov rcx, qword [rsp + 0x20]
call fcn.140005d50
movzx eax, al
test eax, eax
je 0x14000eb5e
mov byte [rsp + 0x30], 0x67
mov byte [rsp + 0x31], 0x54
mov byte [rsp + 0x32], 0x69
mov byte [rsp + 0x33], 0x6d
mov byte [rsp + 0x34], 0x65
mov byte [rsp + 0x35], 0x72
mov byte [rsp + 0x36], 0x48
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0x73
mov byte [rsp + 0x39], 0x68
mov byte [rsp + 0x3a], 0x54
mov byte [rsp + 0x3b], 0x61
mov byte [rsp + 0x3c], 0x62
mov byte [rsp + 0x3d], 0x6c
mov byte [rsp + 0x3e], 0x65
mov byte [rsp + 0x3f], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.140012730
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x140010f80
Capabilities:
Find process by pid

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x20], 0
call fcn.14000ff10
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140010ff8
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140010ff8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x800
jbe 0x140010ff0
mov dword [rsp + 0x20], 0
jmp 0x140010ff8
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x140011aa0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, [0x140026bc0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011010
mov dword [0x1400312e0], eax
mov edx, dword [0x1400312e0]
lea rcx, [0x140026bf0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011780
mov dword [0x1400312e4], eax
mov edx, dword [0x1400312e4]
lea rcx, [0x140026c30]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011080
mov dword [0x1400312e8], eax
mov edx, dword [0x1400312e8]
lea rcx, [0x140026c70]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140010f80
mov dword [0x1400312ec], eax
mov edx, dword [0x1400312ec]
lea rcx, [0x140026cb0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011950
mov dword [0x1400312f0], eax
mov edx, dword [0x1400312f0]
lea rcx, [0x140026cf0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011650
mov dword [0x1400312f4], eax
mov edx, dword [0x1400312f4]
lea rcx, [0x140026d30]
call sub.ntoskrnl.exe_DbgPrint
call fcn.1400115c0
mov dword [0x1400312f8], eax
mov edx, dword [0x1400312f8]
lea rcx, [0x140026d70]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011270
mov dword [0x1400312fc], eax
mov edx, dword [0x1400312fc]
lea rcx, [0x140026db0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.1400118b0
mov dword [0x140031300], eax
mov edx, dword [0x140031300]
lea rcx, [0x140026df0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140011690
mov dword [0x140031304], eax
mov edx, dword [0x140031304]
lea rcx, [0x140026e30]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140026e80]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x28
ret
Function at 0x140012730
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x40], 0
je 0x1400127a0
cmp qword [rsp + 0xa8], 0
jne 0x1400127a5
jmp 0x14001298c
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x1400127be
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x40
jbe 0x1400127eb
jmp 0x14001298c
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400127ff
jmp 0x14001298c
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x140012849
jmp 0x14001298c
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14001287d
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
jmp 0x14001289c
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x24], 0
jmp 0x1400128ef
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x140012982
xor eax, eax
mov word [rsp + 0x20], ax
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001297d
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
call fcn.140015160
test eax, eax
jne 0x14001297d
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
jmp 0x140012982
jmp 0x1400128e5
xor eax, eax
test eax, eax
jne 0x14001274a
mov rax, qword [rsp + 0x78]
add rsp, 0x98
ret
Function at 0x1400129a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x50], 0
jne 0x1400129bf
jmp 0x140012a65
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x28]
call fcn.140012af0
movzx eax, al
test eax, eax
je 0x1400129e4
jmp 0x140012a65
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400129f5
jmp 0x140012a65
mov dword [rsp + 0x24], 0x400
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x400
jle 0x140012a15
jmp 0x140012a65
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov edx, 0xf8
mov rcx, qword [rsp + 0x30]
call fcn.140012af0
movzx eax, al
test eax, eax
je 0x140012a42
jmp 0x140012a65
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x140012a51
jmp 0x140012a65
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
xor eax, eax
test eax, eax
jne 0x1400129b2
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret
Function at 0x140012d90
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
push rdi
sub rsp, 0x50
mov dword [rsp + 0x24], 0xffffffff
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x68], 0
je 0x140012ddb
cmp qword [rsp + 0x70], 0
je 0x140012ddb
cmp qword [rsp + 0x78], 0
jne 0x140012de0
jmp 0x140012f56
mov rcx, qword [rsp + 0x68]
call fcn.1400129a0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140012f56
mov rcx, qword [rsp + 0x30]
call fcn.140005d50
movzx eax, al
test eax, eax
je 0x140012f56
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140012f56
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x80], eax
ja 0x140012f56
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
jmp 0x140012e92
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140012f4a
mov rcx, qword [rsp + 0x28]
call fcn.140005d50
movzx eax, al
test eax, eax
je 0x140012ece
mov rax, qword [rsp + 0x28]
add rax, 0x27
mov rcx, rax
call fcn.140005d50
movzx eax, al
test eax, eax
jne 0x140012ed0
jmp 0x140012f4a
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140012f0e
inc rax
test dl, dl
jne 0x140012efb
xor eax, eax
jmp 0x140012f13
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140012f45
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x140012f4a
jmp 0x140012e7a
jmp 0x140012f4c
xor eax, eax
test eax, eax
jne 0x140012dc3
mov eax, dword [rsp + 0x24]
add rsp, 0x50
pop rdi
ret

Function at 0x140014520
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
lea rcx, [0x140026fa0]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x140035d90]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
cmp qword [0x140035e18], 0
je 0x140014566
mov rcx, qword [0x140035e18]
call fcn.1400089d0
mov qword [0x140035e18], 0
mov byte [0x140035e10], 0
lea rcx, [0x140026fd0]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x20
pop rdi
ret
Function at 0x140017aa0
Capabilities:
Access pe header
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x14002a380]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0xc0000001
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140017b9f
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x140017b03
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x34], eax
jmp 0x140017b0f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140017b9d
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
mov dword [rsp + 0x30], eax
lea r9, [0x140027200]
lea r8, [0x140027210]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140017bc2
mov dword [rsp + 0x30], 0xc000000d
lea r9, [0x140027200]
lea r8, [0x140027240]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140017bec
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021990
add rsp, 0x60
pop rdi
ret