Function at 0x180082920
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov r15, rdx
mov rbx, rcx
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180082dea
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x180082dea
mov ecx, dword [rax + rcx + 0x8c]
mov qword [rbp - 0x59], rcx
mov r13d, dword [rax + rbx + 0x88]
test rcx, rcx
je 0x180082c7a
test r13, r13
je 0x180082c7a
mov edi, dword [rbx + r13 + 0x20]
add rdi, rbx
mov eax, dword [rbx + r13 + 0x24]
add rax, rbx
mov qword [rbp + 0x27], rax
mov eax, dword [rbx + r13 + 0x1c]
add rax, rbx
mov qword [rbp + 0x2f], rax
mov r9d, dword [rbx + r13 + 0x18]
xor r14d, r14d
mov r10d, r14d
lea r12, vtable.el::base::Writer.0
lea rsi, str.C:Users_sillycatDocumentswepastin_shitSKYDOME.PW_SDK_mainSKYDOME.PW_SDK_mainSKYDOME.PWSKYDOME.PW_SDK_sdutilitiesmemory.cpp
lea rax, str.void___cdecl_MEM::GetExportAddress_const_void__const_char__
test r9, r9
je 0x180082b80
nop word [rax + rax]
mov r11, r9
sub r11, r10
shr r11, 1
add r11, r10
mov ecx, dword [rdi + r11*4]
add rcx, rbx
test r15, r15
jne 0x1800829fe
lea ecx, [r15 - 1]
jmp 0x180082a2a
test rcx, rcx
jne 0x180082a0a
mov ecx, 1
jmp 0x180082a2a
mov r8, r15
sub r8, rcx
movzx edx, byte [r8 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
je 0x180082a24
cmp dl, al
je 0x180082a10
mov ecx, edx
sub ecx, eax
je 0x180082a45
lea rax, [r11 + 1]
test ecx, ecx
cmovle rax, r10
mov r10, rax
cmovle r9, r11
cmp r9, rax
jne 0x1800829e0
jmp 0x180082b79
mov rax, qword [rbp + 0x27]
movzx eax, word [rax + r11*2]
mov rcx, qword [rbp + 0x2f]
mov esi, dword [rcx + rax*4]
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x41], 0x80
lea rax, str.C:Users_sillycatDocumentswepastin_shitSKYDOME.PW_SDK_mainSKYDOME.PW_SDK_mainSKYDOME.PWSKYDOME.PW_SDK_sdutilitiesmemory.cpp
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0xd4
lea rax, str.void___cdecl_MEM::GetExportAddress_const_void__const_char__
mov qword [rbp - 0x29], rax
mov word [rbp - 0x21], r14w
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x11], r14b
mov qword [rbp - 9], r14
lea rax, [0x18012d5d0]
mov qword [rbp - 1], rax
mov dword [rbp + 7], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
lea r8, str.default
mov edx, 1
lea rcx, [rbp - 0x51]
call fcn.180013640
mov rdi, rax
cmp byte [rax + 0x40], 0
je 0x180082b06
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.export_found:
call fcn.180006a50
mov rcx, qword [0x1801e13e8]
test dword [rcx + 0x28], 0x2000
jbe 0x180082b06
mov rcx, qword [rdi + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
cmp byte [rdi + 0x40], 0
je 0x180082b41
mov rcx, qword [rdi + 0x48]
add rcx, 0x50
mov rdx, r15
call fcn.180006a50
mov rax, qword [0x1801e13e8]
test dword [rax + 0x28], 0x2000
jbe 0x180082b41
mov rcx, qword [rdi + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
nop
mov qword [rbp - 0x51], r12
lea rcx, [rbp - 0x51]
call fcn.180013bd0
lea rcx, [rbp + 0xf]
call fcn.180006170
nop
cmp rsi, r13
jb 0x180082b69
mov rax, rsi
sub rax, r13
cmp rax, qword [rbp - 0x59]
jb 0x180082b72
lea rax, [rsi + rbx]
jmp 0x180082dec
lea rsi, str.C:Users_sillycatDocumentswepastin_shitSKYDOME.PW_SDK_mainSKYDOME.PW_SDK_mainSKYDOME.PWSKYDOME.PW_SDK_sdutilitiesmemory.cpp
lea rax, str.void___cdecl_MEM::GetExportAddress_const_void__const_char__
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x41], 0x10
mov qword [rbp - 0x39], rsi
mov dword [rbp - 0x31], 0xe7
mov qword [rbp - 0x29], rax
mov word [rbp - 0x21], r14w
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x11], 0
mov qword [rbp - 9], r14
lea rax, [0x18012d5d0]
mov qword [rbp - 1], rax
mov dword [rbp + 7], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
lea r8, str.default
mov edx, 1
lea rcx, [rbp - 0x51]
call fcn.180013640
mov rbx, rax
cmp byte [rax + 0x40], 0
je 0x180082c23
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.export_not_found:
call fcn.180006a50
mov rcx, qword [0x1801e13e8]
test dword [rcx + 0x28], 0x2000
jbe 0x180082c23
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
cmp byte [rbx + 0x40], 0
je 0x180082c5e
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
mov rdx, r15
call fcn.180006a50
mov rax, qword [0x1801e13e8]
test dword [rax + 0x28], 0x2000
jbe 0x180082c5e
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
nop
mov qword [rbp - 0x51], r12
lea rcx, [rbp - 0x51]
call fcn.180013bd0
lea rcx, [rbp + 0xf]
call fcn.180006170
nop
jmp 0x180082dea
lea r12, vtable.el::base::Writer.0
mov qword [rbp - 0x51], r12
xor r14d, r14d
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x41], 0x10
lea rax, str.C:Users_sillycatDocumentswepastin_shitSKYDOME.PW_SDK_mainSKYDOME.PW_SDK_mainSKYDOME.PWSKYDOME.PW_SDK_sdutilitiesmemory.cpp
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0xbc
lea rax, str.void___cdecl_MEM::GetExportAddress_const_void__const_char__
mov qword [rbp - 0x29], rax
mov word [rbp - 0x21], r14w
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x11], r14b
mov qword [rbp - 9], r14
lea rax, [0x18012d5d0]
mov qword [rbp - 1], rax
mov dword [rbp + 7], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
lea r8, str.default
lea edx, [r14 + 1]
lea rcx, [rbp - 0x51]
call fcn.180013640
mov rdi, rax
cmp byte [rax + 0x40], r14b
je 0x180082d34
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, str.module_has_no_exports:__
call fcn.180006a50
mov rcx, qword [0x1801e13e8]
test dword [rcx + 0x28], 0x2000
jbe 0x180082d34
mov rcx, qword [rdi + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
mov rsi, qword gs:[0x60]
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 0x180082d74
nop word [rax + rax]
cmp qword [rax + 0x20], rbx
je 0x180082d70
mov rax, qword [rax]
cmp rax, rcx
jne 0x180082d60
jmp 0x180082d74
mov r14, qword [rax + 0x50]
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x59], r14
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.180083600
mov rbx, rax
cmp byte [rax + 0x40], 0
je 0x180082dd3
mov rcx, qword [rax + 0x48]
add rcx, 0x50
lea rdx, [0x1801bb020]
call fcn.180006a50
mov rcx, qword [0x1801e13e8]
test dword [rcx + 0x28], 0x2000
jbe 0x180082dd3
mov rcx, qword [rbx + 0x48]
add rcx, 0x50
lea rdx, [0x18012d5e4]
call fcn.180006a50
nop
mov qword [rbp - 0x51], r12
lea rcx, [rbp - 0x51]
call fcn.180013bd0
lea rcx, [rbp + 0xf]
call fcn.180006170
nop
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret