Function at 0x1804ea640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
cmp r8, 0xf
ja 0x1804ea6a4
movzx eax, byte [0x1807afe04]
mov ecx, 9
mov edx, 1
call fcn.1804caf90
test rax, rax
je 0x1804ea8d4
movabs rcx, 0x6c616d73206f6f54
mov qword [rax], rcx
mov byte [rax + 8], 0x6c
mov qword [rsi + 8], 5
mov qword [rsi + 0x10], 9
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], 9
jmp 0x1804ea804
cmp dword [rdx], 0x464c457f
jne 0x1804ea714
movzx eax, byte [rdx + 4]
mov byte [rsp + 0x27], al
cmp eax, 1
je 0x1804ea728
cmp eax, 2
jne 0x1804ea788
lea rcx, [rsp + 0x28]
xor r9d, r9d
call fcn.1804f3950
cmp qword [rsp + 0x28], 0
mov r10, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x40]
movzx eax, word [rsp + 0x42]
mov edx, dword [rsp + 0x44]
mov r8, qword [rsp + 0x48]
je 0x1804ea819
mov qword [rsi + 8], r10
mov qword [rsi + 0x10], r9
mov word [rsi + 0x18], cx
mov word [rsi + 0x1a], ax
mov dword [rsi + 0x1c], edx
mov qword [rsi + 0x20], r8
jmp 0x1804ea804
mov rax, qword [rdx]
mov qword [rsi + 8], 6
mov qword [rsi + 0x10], rax
jmp 0x1804ea804
lea rcx, [rsp + 0x28]
xor r9d, r9d
call fcn.1804ea8f0
cmp qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
je 0x1804ea863
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, r9
mov qword [rsi + 8], r8
mov dword [rsi + 0x10], r9d
shr r9, 0x20
shr r10, 0x30
mov r8d, dword [rsp + 0x40]
mov word [rsi + 0x14], r9w
mov word [rsi + 0x16], r10w
mov dword [rsi + 0x18], r8d
mov dword [rsi + 0x1c], eax
mov dword [rsi + 0x20], edx
mov dword [rsi + 0x24], ecx
jmp 0x1804ea804
lea rax, [rsp + 0x27]
mov qword [rsp + 0x78], rax
lea rax, [fcn.18068e960]
mov qword [rsp + 0x80], rax
lea rax, str.invalid_ELF_class
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x28]
call fcn.180686890
mov qword [rsi + 8], 5
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x98]
mov qword [rsi + 0x20], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
mov r11d, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x64]
mov ebx, dword [rsp + 0x6c]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsi + 8], r10
mov qword [rsi + 0x10], r9
mov qword [rsi + 0x18], r8
movups xmmword [rsi + 0x20], xmm0
mov dword [rsi + 0x30], edx
mov dword [rsi + 0x34], r11d
mov word [rsi + 0x38], cx
mov word [rsi + 0x3a], ax
mov qword [rsi + 0x3c], rdi
mov dword [rsi + 0x44], ebx
mov qword [rsi + 0x48], 0x40
mov qword [rsi], 0
jmp 0x1804ea80b
mov r8d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x34]
mov r10, qword [rsp + 0x3c]
mov r11, r10
mov dword [rsi + 8], r8d
mov qword [rsi + 0xc], r9
mov dword [rsi + 0x14], r10d
shr r10, 0x20
shr r11, 0x30
mov r8d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x60]
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], r8
mov dword [rsi + 0x30], eax
mov dword [rsi + 0x34], r9d
mov word [rsi + 0x38], r10w
mov word [rsi + 0x3a], r11w
mov qword [rsi + 0x3c], rdi
mov dword [rsi + 0x44], ebx
mov qword [rsi + 0x48], 0x34
mov qword [rsi], 0
jmp 0x1804ea80b
mov ecx, 1
mov edx, 9
call fcn.18063bc30
int3