Function at 0x18004ffe0
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 [0x180186010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [0x180186ea8]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r14
mov r14d, 0x5a4d
cmp word [rsi], r14w
jne 0x180050067
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x180050067
mov edi, dword [rax + rsi + 0x88]
xor ebx, ebx
add rdi, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x180050067
nop dword [rax]
mov ecx, dword [rdi + 0x20]
lea r8, [0x18017b210]
add rcx, rsi
mov edx, dword [rcx + rbx*4]
add rdx, rsi
call fcn.1800521b0
test al, al
jne 0x180050183
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180050040
xor eax, eax
mov rsi, qword [0x180186ea8]
mov qword [0x180186290], rax
cmp word [rsi], r14w
mov r14, qword [rsp + 0x68]
jne 0x1800500c7
movsxd rax, dword [rsi + 0x3c]
cmp dword [rax + rsi], 0x4550
jne 0x1800500c7
mov edi, dword [rax + rsi + 0x88]
xor ebx, ebx
add rdi, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x1800500c7
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.1800521b0
test al, al
jne 0x18005019e
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x1800500a0
xor eax, eax
mov ecx, dword [0x180186db8]
mov rbp, qword [rsp + 0x60]
mov qword [0x180186298], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801874b0], ecx
jle 0x180050119
lea rcx, [0x1801874b0]
call fcn.18005344c
cmp dword [0x1801874b0], 0xffffffff
jne 0x180050119
lea rcx, [0x1801874b0]
call fcn.1800533ec
mov rdi, qword [0x180186e98]
lea rdx, [rsp + 0x28]
mov esi, dword [0x180186ea0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
call fcn.1800520b0
mov r11, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
sub r11, r10
sub rsi, r11
je 0x1800501db
mov r9, r10
mov rbx, rdi
sub r9, rdi
nop
mov dl, 1
test r11, r11
je 0x180050210
mov rax, rbx
mov r8, r11
movzx ecx, byte [r9 + rax]
cmp cl, 0x3f
je 0x1800501b9
cmp cl, byte [rax]
je 0x1800501b9
xor cl, cl
jmp 0x1800501bb
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 0x180050069
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 0x1800500c9
mov cl, 1
and dl, cl
inc rax
sub r8, 1
jne 0x180050171
test dl, dl
jne 0x180050210
inc rbx
dec r9
mov rax, rbx
sub rax, rdi
cmp rax, rsi
jb 0x180050160
test r10, r10
je 0x180050250
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x180050248
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r10, r10
je 0x180050252
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
cmp rdx, 0x1000
jb 0x18005023e
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050209
mov rcx, r10
call fcn.1800532bc
jmp 0x180050252
mov rcx, r10
call fcn.1800532bc
xor ebx, ebx
mov qword [0x1801862a0], rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180053120
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret