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

Disassembly:
mov r11, rsp
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1800ea200]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe0]
lea r14, [r11 - 0x60]
mov qword [r11 + 0x18], rbp
xor r15d, r15d
mov qword [rsp + 0x48], rax
mov r12, r9
mov qword [r11 - 0x30], rsi
xor eax, eax
mov dword [rsp + 0x20], r8d
mov r13d, edx
mov rbx, rcx
mov qword [r11 - 0x38], rdi
cmp rax, 0xa
je 0x180054ece
inc rax
mov rsi, r14
mov qword [rsp + 0x30], rax
add r14, 3
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x180054a5a
movzx ebp, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054a81
cmp dword [rbx + 0x30], 0
je 0x180054a7e
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx ebp, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054a81
xor bpl, bpl
cmp rax, qword [rbx + 0xc8]
jae 0x180054a99
movzx edi, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054ac0
cmp dword [rbx + 0x30], 0
je 0x180054abd
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx edi, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054ac0
xor dil, dil
mov byte [rsi], dil
cmp rax, qword [rbx + 0xc8]
jae 0x180054adb
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054b01
cmp dword [rbx + 0x30], 0
je 0x180054aff
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054b01
xor cl, cl
mov byte [rsi + 1], cl
cmp rax, qword [rbx + 0xc8]
jae 0x180054b1c
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054b42
cmp dword [rbx + 0x30], 0
je 0x180054b40
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054b42
xor cl, cl
movzx eax, cl
or r15d, eax
mov byte [rsi + 2], cl
cmp qword [rbx + 0x10], 0
je 0x180054b6a
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call rax
test eax, eax
je 0x180054b7e
cmp dword [rbx + 0x30], 0
je 0x180054ec5
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
jae 0x180054ec5
cmp dil, 8
jne 0x180054ece
mov rax, qword [rsp + 0x30]
test bpl, bpl
jne 0x180054a22
test r15b, 0x10
mov eax, 0
setne al
xor ecx, ecx
add eax, 3
mov dword [rsp + 0x24], ecx
mov dword [r12], eax
cmp dword [rsp + 0x20], ecx
jle 0x180054ebe
mov rax, qword [rsp + 0x30]
lea r8d, [r13*4]
mov r9d, dword [rsp + 0x20]
xor edx, edx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x40], 0
test rax, rax
jle 0x180054ea8
movsxd rax, edx
lea r12, [rsp + 0x5a]
add rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
movzx ecx, byte [r12 - 1]
mov rdi, rax
test ecx, ecx
je 0x180054e3c
sub ecx, 1
je 0x180054d54
cmp ecx, 1
jne 0x180054ece
mov r15d, r13d
test r13d, r13d
jle 0x180054e6d
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x180054c4f
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054c75
cmp dword [rbx + 0x30], 0
je 0x180054c73
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054c75
xor cl, cl
cmp qword [rbx + 0x10], 0
movzx esi, cl
je 0x180054c97
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call rax
test eax, eax
je 0x180054cab
cmp dword [rbx + 0x30], 0
je 0x180054ec5
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
jae 0x180054ec5
cmp esi, 0x80
jb 0x180054d0c
jne 0x180054cc1
mov rcx, rbx
call fcn.18004ebe0
mov esi, eax
jmp 0x180054cc4
sub esi, 0x7f
cmp esi, r15d
jg 0x180054ec5
movzx ebp, byte [r12]
lea r8, [rsp + 0x38]
mov edx, ebp
mov rcx, rbx
call fcn.180057990
test rax, rax
je 0x180054eda
test esi, esi
jle 0x180054d43
mov r9d, esi
lea r8, [rsp + 0x38]
mov rdx, rdi
mov ecx, ebp
call fcn.18004ce20
add rdi, 4
sub r9, 1
jne 0x180054cf1
jmp 0x180054d43
inc esi
cmp esi, r15d
ja 0x180054ec5
xor ebp, ebp
test esi, esi
je 0x180054d43
movzx r14d, byte [r12]
mov r8, rdi
mov edx, r14d
mov rcx, rbx
call fcn.180057990
test rax, rax
je 0x180054eda
inc ebp
add rdi, 4
cmp ebp, esi
jl 0x180054d22
sub r15d, esi
test r15d, r15d
jg 0x180054c30
jmp 0x180054e6d
mov r14d, r13d
test r13d, r13d
jle 0x180054e6d
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x180054d7f
movzx esi, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054da6
cmp dword [rbx + 0x30], 0
je 0x180054da3
mov rcx, rbx
call fcn.180057a90
mov rax, qword [rbx + 0xc0]
movzx esi, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x180054da6
xor sil, sil
cmp qword [rbx + 0x10], 0
je 0x180054dc5
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call rax
test eax, eax
je 0x180054dd9
cmp dword [rbx + 0x30], 0
je 0x180054ec5
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
jae 0x180054ec5
movzx ecx, sil
lea r8, [rsp + 0x3c]
cmp ecx, r14d
movzx ebp, sil
movzx esi, byte [r12]
mov rcx, rbx
movzx eax, r14b
mov edx, esi
cmova ebp, eax
call fcn.180057990
test rax, rax
je 0x180054eda
test bpl, bpl
je 0x180054e2a
movzx r9d, bpl
lea r8, [rsp + 0x3c]
mov rdx, rdi
mov ecx, esi
call fcn.18004ce20
add rdi, 4
sub r9, 1
jne 0x180054e11
movzx eax, bpl
sub r14d, eax
test r14d, r14d
jg 0x180054d60
jmp 0x180054e6d
xor esi, esi
test r13d, r13d
jle 0x180054e6d
movzx ebp, byte [r12]
nop dword [rax + rax]
mov r8, rdi
mov edx, ebp
mov rcx, rbx
call fcn.180057990
test rax, rax
je 0x180054eda
inc esi
add rdi, 4
cmp esi, r13d
jl 0x180054e50
mov rax, qword [rsp + 0x40]
add r12, 3
inc rax
cmp rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
jl 0x180054bf5
mov rax, qword [rsp + 0x30]
lea r8d, [r13*4]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x20]
inc ecx
add edx, r8d
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
cmp ecx, r9d
jl 0x180054bd1
mov rax, qword [rsp + 0x48]
jmp 0x180054edc
lea rcx, str.bad_file
jmp 0x180054ed5
lea rcx, str.bad_format
call fcn.18004e9d0
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180059b00
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rbx
ret