joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c450
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400d73a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14003c48b
mov rdx, qword [rcx]
jmp 0x14003c48e
mov rdx, rcx
lea rcx, [rbp - 0x58]
call fcn.14003c380
nop
cmp qword [rbp - 0x48], 0
jne 0x14003c4b2
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140003d10
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003c4d4
test al, 0x10
je 0x14003c4d4
jmp 0x14003c5ca
xor ebx, ebx
nop word [rax + rax]
inc rbx
mov r8, qword [rbp - 0x48]
cmp rbx, r8
jae 0x14003c557
lea rdi, [rbp - 0x58]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x40]
cmp rcx, 0x10
cmovae rdi, rdx
add rdi, r8
lea rax, [rbp - 0x58]
cmp rcx, 0x10
cmovae rax, rdx
add rbx, rax
cmp rbx, rdi
jae 0x14003c557
nop word [rax + rax]
movsx edx, byte [rbx]
mov r8d, 2
lea rcx, [0x1400af898]
call fcn.140086a64
test rax, rax
jne 0x14003c544
inc rbx
cmp rbx, rdi
jb 0x14003c520
jmp 0x14003c557
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rax, qword [rbp - 0x58]
sub rbx, rax
jmp 0x14003c55b
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400373a0
cmp qword [rax + 0x18], 0x10
jb 0x14003c578
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
sete dil
cmp qword [rbp - 0x18], 0x10
jb 0x14003c599
mov rcx, qword [rbp - 0x30]
call fcn.140085df8
test dil, dil
je 0x14003c5ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003c5b6
cmp rbx, 0xffffffffffffffff
je 0x14003c5ca
jmp 0x14003c4e0
cmp qword [rbp - 0x40], 0x10
jb 0x14003c5c6
mov rcx, qword [rbp - 0x58]
call fcn.140085df8
xor al, al
jmp 0x14003c5dc
cmp qword [rbp - 0x40], 0x10
jb 0x14003c5da
mov rcx, qword [rbp - 0x58]
call fcn.140085df8
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140086bc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14003cb00
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400d8fd0], 0
jne 0x14003cb3b
lea rcx, [0x1400d8fd0]
xor edx, edx
mov r8d, 0x104
call fcn.140086940
lea rdx, [0x1400d8fd0]
lea rcx, str._SystemRoot__system32
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [0x1400d90e0], 0
jne 0x14003cb72
lea rcx, [0x1400d90e0]
xor edx, edx
mov r8d, 0x104
call fcn.140086940
lea rdx, [0x1400d90e0]
lea rcx, str._SystemRoot_SysWoW64
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add rsp, 0x28
ret
Function at 0x1400427c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400d73a8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
cmp qword [rdx + 0x18], 0x10
jb 0x140042816
mov rax, qword [rdx]
jmp 0x140042819
mov rax, rdx
cmp qword [rdx + 0x10], 2
jb 0x14004283b
movzx ecx, byte [rax + 1]
cmp cl, 0x3a
je 0x14004291e
cmp byte [rax], 0x5c
jne 0x14004283b
cmp cl, 0x5c
je 0x14004291e
mov byte [rbp - 0x50], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x4f]
call fcn.140086940
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], r12
mov byte [rsp + 0x38], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x50]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140003e20
nop
lea r8, [0x1400aeaa0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140007a00
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14002c1c0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140006070
nop
cmp qword [rbp - 0x60], 0x10
jb 0x1400428d7
mov rcx, qword [rbp - 0x78]
call fcn.140085df8
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], 0
cmp qword [rsp + 0x78], 0x10
jb 0x1400428f9
mov rcx, qword [rsp + 0x60]
call fcn.140085df8
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
cmp qword [rsp + 0x50], 0x10
jb 0x14004291e
mov rcx, qword [rsp + 0x38]
call fcn.140085df8
mov byte [rbp + 0xc0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xc1]
call fcn.140086940
cmp qword [rbx + 0x18], 0x10
jb 0x140042945
mov rdx, qword [rbx]
jmp 0x140042948
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeA]
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r12
mov byte [rsi], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xc0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.140003e20
nop
cmp qword [rbx + 0x18], 0x10
jb 0x140042999
mov rcx, qword [rbx]
call fcn.140085df8
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r12
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140086bc0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140043d30
Capabilities:
Enumerate process modules

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400d73a8]
xor rax, rsp
mov qword [rsp + 0x78], rax
test rcx, rcx
jne 0x140043d62
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140086bc0
add rsp, 0x88
ret
mov rax, qword [str.Could_not_enumerate_modules.]
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [0x1400b00f8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400b0100]
mov qword [rsp + 0x68], rax
mov eax, dword [0x1400b0108]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1400b010c]
mov word [rsp + 0x74], ax
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
jne 0x140043de6
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
call fcn.140085bc8
lea r11, vtable.std::runtime_error.0
lea rdx, [0x1400d3190]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r11
call fcn.14008689c
int3
mov eax, dword [rsp + 0x30]
shr rax, 3
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140086bc0
add rsp, 0x88
ret

Function at 0x140045840
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x140045885
mov rcx, qword [rcx]
test rcx, rcx
je 0x140045885
xor edx, edx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov rbx, qword [rsp + 0x30]
mov qword [rdi], 0
setne al
add rsp, 0x20
pop rdi
ret
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x140045890
Capabilities:
Create thread
Terminate thread

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [0x1400d93e0], 0
mov rbx, rcx
jne 0x1400458d9
lea rcx, [0x1400ae3a8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14004597e
lea rdx, str.RtlCreateProcessReflection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004597e
mov qword [0x1400d93e0], rax
xor eax, eax
lea r9, [rsp + 0x30]
lea r8, [0x140045760]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0x3e8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140045986
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessId]
lea rdx, str._____
lea rcx, [0x1400d6650]
mov ebx, eax
call fcn.1400042e0
mov edx, ebx
mov rcx, rax
call fcn.140004960
lea rdx, str.__Cannot_create_reflection:_timeout_passed__n
mov rcx, rax
call fcn.1400042e0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsp + 0x44], 0
je 0x1400459a6
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400459a6
cmp rax, 0xffffffffffffffff
jne 0x1400459a8
xor eax, eax
mov rdi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
Function at 0x140055250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x140055322
test rdx, rdx
je 0x140055322
test rbx, rbx
je 0x140055322
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x40000000
lea r8d, [r9 + 2]
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400552c6
xor al, al
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x50], 0
xor bpl, bpl
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
test eax, eax
movzx ebx, bpl
cmovne ebx, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movzx eax, bl
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140055470
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x40
xor r14d, r14d
mov r13, rdx
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov r12, rcx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400554ca
xor eax, eax
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
xor r9d, r9d
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 2]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
jne 0x140055503
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140055623
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x140055541
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14005561e
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rax, qword [r13]
test rax, rax
je 0x140055563
cmp rax, rbx
cmovbe rbx, rax
mov rdx, rbx
mov rcx, rbp
call fcn.14005cf30
test al, al
je 0x1400555d3
lea rdx, str.____Mapping_of
lea rcx, [0x1400d6650]
call fcn.1400042e0
mov rdx, r12
mov rcx, rax
call fcn.1400042e0
lea rdx, str._is_invalid_
mov rcx, rax
call fcn.1400042e0
mov dl, 0xa
mov rcx, rax
mov rbx, rax
call fcn.140004d20
mov rcx, rbx
call fcn.14003e8c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140055619
mov rcx, rbx
call fcn.140056980
mov r12, rax
test rax, rax
je 0x1400555f7
mov r8, rbx
mov rdx, rbp
mov rcx, rax
call fcn.140085e10
mov qword [r13], rbx
jmp 0x1400555fb
mov qword [r13], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r12
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
Function at 0x1400557e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14005580c
test rdx, rdx
je 0x140055819
mov r9d, 0x40
mov r8, rcx
call fcn.140056950
test al, al
jne 0x140055827
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x14005580c
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14005580c
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14005580c
mov qword [rsp + 0x30], rbx
lea rbx, [rdi + rax]
test rsi, rsi
je 0x140055874
mov r9d, 0xf8
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140056950
test al, al
jne 0x140055885
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 0xf8
mov rcx, rbx
call fcn.14005cf30
test al, al
jne 0x140055862
mov rsi, qword [rsp + 0x38]
xor eax, eax
cmp dword [rbx], 0x4550
cmovne rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400558b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140055922
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x140055922
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055922
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055922
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055922
cmp dword [rdi], 0x4550
jne 0x140055922
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055922
movzx eax, word [rdi + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140055950
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
movzx ebp, r8b
mov esi, edx
mov rbx, rcx
cmp edx, 0x10
jb 0x14005597f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x1400559f2
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x1400559f2
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400559f2
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x1400559f2
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x1400559f2
cmp dword [rdi], 0x4550
jne 0x1400559f2
mov rcx, rbx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
lea rax, [rdi + rsi*8 + 0x88]
je 0x1400559e8
lea rax, [rdi + rsi*8 + 0x78]
test bpl, bpl
jne 0x1400559f4
cmp dword [rax], 0
jne 0x1400559f4
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140055a10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
sete sil
test rbx, rbx
je 0x140055aa7
mov edx, 0x40
mov rcx, rbx
call fcn.14005cf30
test al, al
jne 0x140055aa7
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055aa7
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055aa7
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055aa7
cmp dword [rdi], 0x4550
jne 0x140055aa7
test sil, sil
je 0x140055a94
mov rax, qword [rdi + 0x30]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rdi + 0x34]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140055ac0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140055b30
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x140055b30
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055b30
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055b30
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055b30
cmp dword [rdi], 0x4550
jne 0x140055b30
mov rcx, rbx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
mov eax, dword [rdi + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140055b40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
call fcn.1400558b0
test rbx, rbx
je 0x140055bb6
mov edx, 0x40
mov rcx, rbx
call fcn.14005cf30
test al, al
jne 0x140055bb6
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055bb6
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055bb6
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055bb6
cmp dword [rdi], 0x4550
jne 0x140055bb6
mov dword [rdi + 0x28], esi
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x140055bd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
sete sil
test rbx, rbx
je 0x140055c4e
mov edx, 0x40
mov rcx, rbx
call fcn.14005cf30
test al, al
jne 0x140055c4e
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055c4e
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055c4e
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055c4e
cmp dword [rdi], 0x4550
jne 0x140055c4e
mov eax, dword [rdi + 0x54]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140055c60
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
sete bpl
test rdi, rdi
je 0x140055ce7
mov edx, 0x40
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055ce7
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x140055ce7
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x140055ce7
lea rbx, [rdi + rax]
mov edx, 0xf8
mov rcx, rbx
call fcn.14005cf30
test al, al
jne 0x140055ce7
cmp dword [rbx], 0x4550
jne 0x140055ce7
test bpl, bpl
je 0x140055ce0
mov qword [rbx + 0x30], rsi
mov al, 1
jmp 0x140055ce9
mov dword [rbx + 0x34], esi
mov al, 1
jmp 0x140055ce9
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140055d00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140055d16
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call fcn.1400558b0
mov ecx, 0x20b
mov edx, 0x40
cmp ax, cx
mov rcx, rbx
sete sil
call fcn.14005cf30
test al, al
jne 0x140055d88
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055d88
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055d88
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055d88
cmp dword [rdi], 0x4550
jne 0x140055d88
movzx eax, word [rdi + 0x5e]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140055da0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140055e26
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x140055e26
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140055e26
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140055e26
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140055e26
cmp dword [rdi], 0x4550
jne 0x140055e26
mov rcx, rbx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
jne 0x140055e0d
add rdi, 0xb0
jmp 0x140055e14
add rdi, 0xa0
cmp dword [rdi], 0
je 0x140055e26
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140055fe0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx esi, dl
mov rbx, rcx
test rcx, rcx
je 0x140056067
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x140056067
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140056067
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140056067
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x140056067
cmp dword [rdi], 0x4550
jne 0x140056067
test sil, sil
je 0x140056053
lea rax, [rdi + 0x3c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rax, [rdi + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140056080
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140056096
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov edx, 0x40
mov qword [rsp + 0x30], rdi
call fcn.14005cf30
test al, al
jne 0x1400560ff
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400560ff
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x1400560ff
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x1400560ff
cmp dword [rdi], 0x4550
jne 0x1400560ff
mov rcx, rbx
call fcn.1400558b0
xor ecx, ecx
mov edx, 0x20b
cmp ax, dx
cmovne rcx, rdi
mov rdi, qword [rsp + 0x30]
mov rax, rcx
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140056110
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140056126
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov edx, 0x40
mov qword [rsp + 0x30], rdi
call fcn.14005cf30
test al, al
jne 0x14005618f
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14005618f
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14005618f
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x14005618f
cmp dword [rdi], 0x4550
jne 0x14005618f
mov rcx, rbx
call fcn.1400558b0
xor ecx, ecx
mov edx, 0x20b
cmp ax, dx
cmove rcx, rdi
mov rdi, qword [rsp + 0x30]
mov rax, rcx
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1400561a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14005622d
mov edx, 0x40
call fcn.14005cf30
test al, al
jne 0x14005622d
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14005622d
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x14005622d
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.14005cf30
test al, al
jne 0x14005622d
cmp dword [rdi], 0x4550
jne 0x14005622d
mov rcx, rbx
call fcn.1400558b0
mov ecx, 0x20b
cmp ax, cx
mov rcx, rbx
jne 0x14005621a
call fcn.140056110
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140056080
mov eax, dword [rax + 0x50]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret