Function at 0x18007dea0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov eax, 0x5a4d
mov rdi, rdx
mov rbx, rcx
cmp word [rcx], ax
jne 0x18007e2d2
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x18007e2d2
mov qword [rsp + 0x68], r12
mov r12d, dword [rax + rcx + 0x8c]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r12, r12
je 0x18007e0d3
mov esi, dword [rax + rcx + 0x88]
test rsi, rsi
je 0x18007e0d3
mov ebp, dword [rsi + rcx + 0x20]
xor r10d, r10d
mov eax, dword [rsi + rcx + 0x1c]
add rbp, rcx
mov r9d, dword [rsi + rcx + 0x18]
add rax, rcx
mov qword [rsp + 0x30], r13
movabs r15, 0x519c8454f5c8214b
mov r13d, dword [rsi + rcx + 0x24]
movabs r14, 0x83a3939509c7d4c4
add r13, rcx
mov qword [rsp + 0x50], rax
test r9, r9
je 0x18007dfc4
nop word [rax + rax]
mov r11, r9
sub r11, r10
shr r11, 1
add r11, r10
mov ecx, dword [rbp + r11*4]
add rcx, rbx
test rdi, rdi
jne 0x18007df70
mov ecx, 0xffffffff
jmp 0x18007dfae
test rcx, rcx
jne 0x18007df7c
mov ecx, 1
jmp 0x18007dfae
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
je 0x18007dfa4
cmp dl, al
je 0x18007df90
mov ecx, edx
sub ecx, eax
je 0x18007e06d
test ecx, ecx
lea rax, [r11 + 1]
cmovle rax, r10
cmovle r9, r11
mov r10, rax
cmp r9, rax
jne 0x18007df50
movabs rax, 0x3fbcf0269ab8592e
movabs rdi, 0x6c283c27f776c3f6
mov qword [rsp + 0x50], rax
movabs rbp, 0x69bfeb569747bcc5
mov rax, qword [rsp + 0x50]
movabs rax, 0xe7cde6fa6fe7a0ab
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0x69bfeb5697479cff
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
xor eax, eax
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
add rsp, 0x38
pop rdi
pop rbx
ret
movzx eax, word [r13 + r11*2]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + rax*4]
movabs rax, 0x37bcf0269ab8592e
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0x83a3b3af6da9a1ab
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
cmp rcx, rsi
jb 0x18007e0ca
mov eax, ecx
sub rax, rsi
cmp rax, r12
jb 0x18007dfc4
lea rax, [rcx + rbx]
jmp 0x18007e048
movabs rax, 0x39bce13880ac4e26
movabs rdi, 0x6c283c27f776c3f6
mov qword [rsp + 0x50], rax
movabs r15, 0x519c8454f5c8214b
mov rax, qword [rsp + 0x50]
movabs r14, 0x83a3939509c7d4c4
movabs rax, 0xfbc6b3fa67e7a7a5
movabs rbp, 0x69bfeb569747bcc5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0x4b9fd125e335d3b5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov rsi, qword gs:[0x60]
test rsi, rsi
jne 0x18007e1ea
movabs rax, 0x25bce03199a1402d
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0xedcaf2e16ba8f4ab
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0x69bfeb14d217cce5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
jmp 0x18007e299
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x18]
add rcx, 0x20
mov rax, qword [rcx]
cmp rax, rcx
je 0x18007e21e
cmp qword [rax + 0x20], rbx
je 0x18007e217
mov rax, qword [rax]
cmp rax, rcx
jne 0x18007e207
jmp 0x18007e21e
cmp qword [rax + 0x50], 0
jne 0x18007e28c
movabs rax, 0x25bce03199a1402d
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0xee83f7fb60a1f4ab
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movabs rax, 0x69bfeb33fb32d8aa
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movabs rax, 0x519c8454f5c82169
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [rsp + 0x50]
xor eax, eax
jmp 0x18007e04d
xor eax, eax
add rsp, 0x38
pop rdi
pop rbx
ret