joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d5590
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x1400d5645
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x1400d5611
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x1400d5629
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x1400d5629
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x1400d5629
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x14025b318], 0
jne 0x1400d5690
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d5680
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14025b310], rax
mov byte [0x14025b318], 1
jmp 0x1400d5697
mov rax, qword [0x14025b310]
mov byte [0x14025b318], 1
jmp 0x1400d5697
mov rax, qword [0x14025b310]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x1400d561a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
mov dl, 0xe
in al, dx
invalid
Function at 0x1400d5e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14024e010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400d5ef5
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400d5ef5
call fcn.1400d53b0
mov ebx, eax
jmp 0x1400d6017
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400d5f16
call fcn.1400d53b0
jmp 0x1400d6006
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400d5f39
call fcn.1400d53b0
jmp 0x1400d6006
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400d5f5b
mov ebx, 0x8007000e
jmp 0x1400d6008
mov ecx, eax
test eax, eax
je 0x1400d5f90
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400d604f
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400d5f90
lea rcx, [rsp + 0x60]
call fcn.1400d8d20
jmp 0x1400d5f9a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x1400d5fad
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x1400d5fbe
mov ebx, 0x8007000e
jmp 0x1400d6008
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400d5fe3
call fcn.1400d53b0
jmp 0x1400d6006
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.1400d6db0
mov ebx, eax
test rdi, rdi
je 0x1400d6017
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400d602e
lea rcx, [rsp + 0x60]
call fcn.1400d8d10
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1401b0930
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1400b3000
int3
Function at 0x1400e3680
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rbp, r8d
mov rdi, r9
mov rsi, rdx
mov rbx, rcx
cmp dword [rsp + 0x50], ebp
jge 0x1400e36ad
xor al, al
jmp 0x1400e380d
mov qword [rsp + 0x30], r14
lea r9, [rcx + 0x11c]
xor r14d, r14d
mov r8d, r14d
nop
mov byte [r9 - 0x100], r8b
lea r9, [r9 + 1]
mov eax, r8d
inc r8d
cdq
idiv dword [rbx + 8]
mov rax, qword [rbx]
movsxd rcx, edx
movzx ecx, byte [rcx + rax]
mov byte [r9 - 1], cl
cmp r8d, 0x100
jl 0x1400e36c0
mov rcx, rbx
call sym.GM.exe_private:_void___cdecl_CRC4::RangeState_void____ptr64
mov edx, ebp
mov rcx, rbx
call sym.GM.exe_private:_void___cdecl_CRC4::KeyStream_int____ptr64
test ebp, ebp
jle 0x1400e37db
cmp ebp, 0x40
jb 0x1400e37db
lea rcx, [rbp - 1]
lea rax, [rcx + rsi]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x1400e3729
cmp rdx, rsi
jae 0x1400e37db
mov r9, qword [rbx + 0x10]
lea r8, [rbx + 0x10]
lea rax, [rcx + r9]
cmp rdi, rax
ja 0x1400e3743
cmp rdx, r9
jae 0x1400e37db
cmp rdi, r8
ja 0x1400e3751
cmp rdx, r8
jae 0x1400e37db
mov r10, rbp
lea rcx, [rdi + 0x10]
mov rdx, rsi
and r10, 0xffffffffffffffc0
sub rdx, rdi
mov r8, 0xfffffffffffffff0
sub r8, rdi
nop dword [rax]
movdqu xmm1, xmmword [rdx + rcx - 0x10]
lea rax, [r8 + rcx]
add r14d, 0x40
movdqu xmm0, xmmword [rax + r9]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + r9 + 0x10]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm1, xmmword [rdx + rcx - 0x30]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax + r9 + 0x20]
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm2, xmmword [rdx + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + r9 + 0x30]
lea rax, [r8 + rcx]
movdqu xmmword [rcx - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x20], xmm2
cmp rax, r10
jl 0x1400e3770
movsxd rax, r14d
mov r14, qword [rsp + 0x30]
cmp rax, rbp
jge 0x1400e380b
sub rsi, rdi
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r8, [rax + rdi]
movzx edx, byte [rsi + r8]
xor dl, byte [rax + rcx]
inc rax
mov byte [r8], dl
cmp rax, rbp
jl 0x1400e37f0
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140136460
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.1400fcd60
mov rbx, rax
test rax, rax
jne 0x14013649e
lea eax, [rbx + 7]
jmp 0x140136520
cmp byte [0x14024ed54], 0
je 0x1401364f2
mov rax, qword [0x14024eed8]
test rax, rax
je 0x1401364be
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1401364f2
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140100470]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.1401bea74
mov qword [rbx], rax
test rax, rax
jne 0x140136502
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 0x14013651b
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 0x140143c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov r15, rdx
mov rdi, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xad
jne 0x140143c2e
movzx eax, byte [r15 + 2]
cmp al, 0xae
jne 0x140143c38
mov rax, qword [r15 + 0x20]
jmp 0x140143c48
cmp al, 0x88
jne 0x140143dc7
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x140143dc7
mov dword [r8], 0
cmp dl, 0x88
jne 0x140143c72
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.140141a40
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x140143db2
mov qword [rsp + 0x80], rbx
lea rcx, [0x14013fe50]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r14
lea r13, [fcn.140140000]
xor r14d, r14d
mov qword [rsp + 0x98], rsi
lea edx, [r14 + 2]
cmp byte [rdi + 0x23], 0
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + r14 + 8]
je 0x140143d20
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x140143d10
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1401395a0
cmp word [rsp + 0x44], 0
je 0x140143d20
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1401453c0
jmp 0x140143d60
mov rsi, qword [rdi]
test rbx, rbx
je 0x140143d3c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14013eb20
mov rbx, rax
cmp byte [rsi + 0x61], 0
jne 0x140143d50
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.140145670
test rbx, rbx
je 0x140143d60
mov rdx, rbx
mov rcx, rsi
call fcn.14013e8f0
inc ebp
lea rcx, [0x14013fe50]
add r14, 0x20
mov edx, 2
sub r12, 1
jne 0x140143cd0
mov eax, dword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.140145540

Function at 0x140147550
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
mov r8, rdx
mov dword [rsp + 0x20], ebx
mov r9, rdx
mov rsi, rcx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
call fcn.14014f270
test ebx, ebx
jne 0x140147594
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.14014f270
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14014fc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14014fd79
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x1401f2760]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14014fcf1
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14014fd2c
test ecx, ecx
jne 0x14014fd3a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.140102770
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14014fd10
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14014fcb0
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14014fd3f
inc r8
jmp 0x14014fce0
test r10d, r10d
jne 0x14014fd09
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14014fd65
test edx, edx
je 0x14014fcf1
inc rax
jmp 0x14014fd50
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x14014fd09
inc rax
jmp 0x14014fd50
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140165ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1401661e8
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x140166052
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x140166062
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xd4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x14016608f
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.140123cf0
jmp 0x1401660bd
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], WSAAsyncSelect
mov r9, qword [r9 + 0x68]
call fcn.140165560
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1401660fc
mov rcx, rdi
call fcn.140123b60
test eax, eax
jne 0x1401661d4
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], gethostbyname
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x78
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5b
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x79
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], reloc.WS2_32.dll_WSACleanup
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x1401661c8
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1401661c8
mov dword [rbx + rax*4 + 0xd4], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140166030
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401ba8c4
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 0x1401ba757
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ba757
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ba757
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ba757
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ba757
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ba757
cmp dword [rcx + 0xf8], 0
je 0x1401ba757
mov ecx, ebx
call fcn.1401ba7f8
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.1401ba5e8
cmp dword [rbp + 0x20], 0
je 0x1401ba7a4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401ba7ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401ba6f0
Function at 0x140001d00
Capabilities:
Parse pe header

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