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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180196010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [0x1801a80b8]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r14
mov r14d, 0x5a4d
cmp word [rsi], r14w
jne 0x18005d7a7
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x18005d7a7
mov edi, dword [rax + rsi + 0x88]
xor ebx, ebx
add rdi, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18005d7a7
nop dword [rax]
mov ecx, dword [rdi + 0x20]
lea r8, str.il2cpp_thread_attach
add rcx, rsi
mov edx, dword [rcx + rbx*4]
add rdx, rsi
call fcn.18005f9b0
test al, al
jne 0x18005d8c3
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x18005d780
xor eax, eax
mov rsi, qword [0x1801a80b8]
mov qword [0x1801a7370], rax
cmp word [rsi], r14w
mov r14, qword [rsp + 0x68]
jne 0x18005d807
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x18005d807
mov edi, dword [rax + rsi + 0x88]
xor ebx, ebx
add rdi, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18005d807
mov ecx, dword [rdi + 0x20]
lea r8, str.il2cpp_domain_get
add rcx, rsi
mov edx, dword [rcx + rbx*4]
add rdx, rsi
call fcn.18005f9b0
test al, al
jne 0x18005d8de
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x18005d7e0
xor eax, eax
mov ecx, dword [0x1801a7f88]
mov rbp, qword [rsp + 0x60]
mov qword [0x1801a7378], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801a8730], ecx
jle 0x18005d859
lea rcx, [0x1801a8730]
call fcn.1800601dc
cmp dword [0x1801a8730], 0xffffffff
jne 0x18005d859
lea rcx, [0x1801a8730]
call fcn.18006017c
mov rdi, qword [0x1801a80a8]
lea rdx, [rsp + 0x28]
mov esi, dword [0x1801a80b0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
call fcn.18005f8b0
mov r11, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
sub r11, r10
sub rsi, r11
je 0x18005d91b
mov r9, r10
mov rbx, rdi
sub r9, rdi
nop
mov dl, 1
test r11, r11
je 0x18005d950
mov rax, rbx
mov r8, r11
movzx ecx, byte [r9 + rax]
cmp cl, 0x3f
je 0x18005d8f9
cmp cl, byte [rax]
je 0x18005d8f9
xor cl, cl
jmp 0x18005d8fb
mov ecx, dword [rdi + 0x24]
add rcx, rsi
movzx edx, word [rcx + rbx*2]
mov ecx, dword [rdi + 0x1c]
add rcx, rsi
mov eax, dword [rcx + rdx*4]
add rax, rsi
jmp 0x18005d7a9
mov ecx, dword [rdi + 0x24]
add rcx, rsi
movzx edx, word [rcx + rbx*2]
mov ecx, dword [rdi + 0x1c]
add rcx, rsi
mov eax, dword [rcx + rdx*4]
add rax, rsi
jmp 0x18005d809
mov cl, 1
and dl, cl
inc rax
sub r8, 1
jne 0x18005d8b1
test dl, dl
jne 0x18005d950
inc rbx
dec r9
mov rax, rbx
sub rax, rdi
cmp rax, rsi
jb 0x18005d8a0
test r10, r10
je 0x18005d990
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x18005d988
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d988
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r10, r10
je 0x18005d992
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x18005d97e
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005d949
mov rcx, r10
call fcn.18006004c
jmp 0x18005d992
mov rcx, r10
call fcn.18006004c
xor ebx, ebx
mov qword [0x1801a7380], rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18005feb0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret