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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rcx, str.schemasystem.dll
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18004a907
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18004a907
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x18004a907
mov r12d, dword [rax + rbx + 0x8c]
test r12, r12
je 0x18004a907
mov r14d, dword [rax + rbx + 0x88]
test r14, r14
je 0x18004a907
mov r15d, dword [r14 + rbx + 0x20]
mov r13d, dword [r14 + rbx + 0x24]
add r15, rbx
mov eax, dword [r14 + rbx + 0x1c]
add r13, rbx
mov edi, dword [r14 + rbx + 0x18]
add rax, rbx
mov qword [rsp + 0x80], rax
test rdi, rdi
je 0x18004a907
nop dword [rax]
nop word [rax + rax]
mov rbp, rdi
lea rcx, str.CreateInterface
sub rbp, rsi
shr rbp, 1
add rbp, rsi
mov edx, dword [r15 + rbp*4]
add rdx, rbx
call fcn.180052e10
test eax, eax
je 0x18004a921
lea rcx, [rbp + 1]
cmovle rdi, rbp
cmovle rcx, rsi
mov rsi, rcx
cmp rdi, rcx
jne 0x18004a8d0
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [r13 + rbp*2]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + rax*4]
cmp rcx, r14
jb 0x18004a941
mov eax, ecx
sub rax, r14
cmp rax, r12
jb 0x18004a907
lea rdi, [rcx + rbx]
test rdi, rdi
je 0x18004a907
mov eax, dword [rdi + 3]
mov rdi, qword [rax + rdi + 7]
test rdi, rdi
je 0x18004a907
nop word [rax + rax]
mov rdx, qword [rdi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18004a970
mov r8d, 0xf
lea rcx, str.SchemaSystem_00
call fcn.180052ac0
test eax, eax
jne 0x18004a9b6
cmp rbx, 0xf
je 0x18004aa9c
mov rcx, qword [rdi + 8]
xor edx, edx
add rcx, 0xf
mov r8d, 0xa
call fcn.180052470
test eax, eax
jg 0x18004aa9c
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x18004a960
xor eax, eax
test rax, rax
mov qword [0x1800e0b00], rax
lea rcx, str.engine2.dll
setne byte [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18004a907
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x18004a907
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x18004a907
mov r12d, dword [rax + rbx + 0x8c]
test r12, r12
je 0x18004a907
mov r14d, dword [rax + rbx + 0x88]
test r14, r14
je 0x18004a907
mov r15d, dword [r14 + rbx + 0x20]
xor esi, esi
mov r13d, dword [r14 + rbx + 0x24]
add r15, rbx
mov eax, dword [r14 + rbx + 0x1c]
add r13, rbx
mov edi, dword [r14 + rbx + 0x18]
add rax, rbx
mov qword [rsp + 0x88], rax
test rdi, rdi
je 0x18004a907
nop dword [rax]
mov rbp, rdi
lea rcx, str.CreateInterface
sub rbp, rsi
shr rbp, 1
add rbp, rsi
mov edx, dword [r15 + rbp*4]
add rdx, rbx
call fcn.180052e10
test eax, eax
je 0x18004aaa3
lea rcx, [rbp + 1]
cmovle rdi, rbp
cmovle rcx, rsi
mov rsi, rcx
cmp rdi, rcx
jne 0x18004aa60
jmp 0x18004a907
call qword [rdi]
jmp 0x18004a9c1
movzx eax, word [r13 + rbp*2]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + rax*4]
cmp rcx, r14
jb 0x18004aac7
mov eax, ecx
sub rax, r14
cmp rax, r12
jb 0x18004a907
lea rdi, [rcx + rbx]
test rdi, rdi
je 0x18004a907
mov eax, dword [rdi + 3]
mov rdi, qword [rax + rdi + 7]
test rdi, rdi
je 0x18004a907
mov rsi, rdi
nop dword [rax + rax]
mov rdx, qword [rdi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18004ab00
mov r8d, 0x1c
lea rcx, str.GameResourceServiceClientV00
call fcn.180052ac0
test eax, eax
jne 0x18004ab46
cmp rbx, 0x1c
je 0x18004acd3
mov rcx, qword [rdi + 8]
xor edx, edx
add rcx, 0x1c
mov r8d, 0xa
call fcn.180052470
test eax, eax
jg 0x18004acd3
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x18004aaf0
xor ebp, ebp
mov eax, ebp
test rax, rax
mov qword [0x1800e0a70], rax
setne dil
and dil, byte [rsp + 0x80]
nop dword [rax]
mov rdx, qword [rsi + 8]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18004ab80
mov r8d, 0x17
lea rcx, str.Source2EngineToClient00
call fcn.180052ac0
test eax, eax
jne 0x18004abc6
cmp rbx, 0x17
je 0x18004acdc
mov rcx, qword [rsi + 8]
xor edx, edx
add rcx, 0x17
mov r8d, 0xa
call fcn.180052470
test eax, eax
jg 0x18004acdc
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x18004ab70
mov rcx, rbp
test rcx, rcx
mov qword [0x1800e0a60], rcx
movzx eax, dil
lea rcx, str.client.dll
mov esi, ebp
cmovne esi, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18004acb5
movsxd rax, dword [rax + 0x3c]
lea rdx, str.4C_8B_3D_________24_C9_0C_49_66_0F_7F_45__
lea rcx, [rsp + 0x20]
mov edi, dword [rax + rbx + 0x50]
call fcn.1800046a0
mov r11, qword [rsp + 0x28]
mov r9, rbp
mov r10, qword [rsp + 0x20]
sub r11, r10
sar r11, 2
sub rdi, r11
nop
mov rax, rbp
test r11, r11
je 0x18004ac63
nop dword [rax + rax]
mov r8d, dword [r10 + rax*4]
cmp r8d, 0xffffffff
je 0x18004ac5b
lea rcx, [r9 + rbx]
movzx edx, byte [rcx + rax]
cmp r8d, edx
jne 0x18004ace6
inc rax
cmp rax, r11
jb 0x18004ac40
add rbx, r9
test r10, r10
je 0x18004acb2
mov rdx, qword [rsp + 0x30]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18004ac9c
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ad3f
mov rcx, r10
call fcn.18004c0ac
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
movdqu xmmword [rsp + 0x20], xmm0
mov rbp, rbx
movsxd rax, dword [rbp + 3]
mov rcx, qword [rax + rbp + 7]
test rcx, rcx
mov qword [0x1800e0a68], rcx
setne al
and al, sil
jmp 0x18004a909
call qword [rdi]
xor ebp, ebp
jmp 0x18004ab53
call qword [rsi]
mov rcx, rax
jmp 0x18004abd2
inc r9
cmp r9, rdi
jbe 0x18004ac30
test r10, r10
je 0x18004acb5
mov rdx, qword [rsp + 0x30]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18004ad24
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ad3f
mov rcx, r10
call fcn.18004c0ac
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
movdqu xmmword [rsp + 0x20], xmm0
jmp 0x18004acb5
call fcn.180052a30
int3