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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
test byte [rdx + 0x8a], 1
mov rdi, rcx
mov rbx, rdx
mov ebp, r8d
mov r12d, r9d
jne 0x458898
cmp r8d, 2
jne 0x458843
mov byte [rcx + 0x1a1], 1
or byte [rdx + 0x8a], 1
cmp word [rdx + 0x88], 0
jne 0x458898
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x458859
movzx eax, byte [rax + 0x13]
shr al, 1
and eax, 3
cmp al, 1
ja 0x458898
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x4588b0
mov r9, qword [rbx + 8]
mov rcx, rdi
mov r8d, dword [rbx + 0x80]
call qword [rdi + 0x410]
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x80], 0xffffffff
call fcn.004a6450
mov qword [rbx + 0x10], 0
nop dword [rax]
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rbx + 0x8c], 3
jne 0x4589b0
cmp ebp, 4
jg 0x458c50
cmp ebp, 1
je 0x458c50
mov rax, qword [rdi + 0x490]
test rax, rax
je 0x4589b0
mov rdx, qword [rdi + 0x28]
mov r8d, r12d
mov rcx, rdi
mov r9, qword [rbx + 8]
call rax
test rax, rax
mov rsi, rax
je 0x4589b0
mov r9d, 1
mov r8d, 2
mov rcx, rdi
lea rdx, [0x004bfcc0]
call fcn.00451610
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdx, rsi
mov r9d, 1
mov rcx, rdi
mov byte [rsi + rax], 0xa
mov r8, rax
xor esi, esi
call fcn.00451610
mov rdx, qword [rax + 0x18]
mov qword [rax + 0x28], rdx
movzx eax, byte [rbx + 0x8c]
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x8c], al
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
nop dword [rax]
movzx eax, byte [rbx + 0x8c]
and eax, 3
cmp qword [rbx + 0x10], 0
je 0x458c90
cmp al, 1
je 0x45899e
mov dword [rsp + 0x20], esi
mov r8, qword [rbx + 8]
cmp ebp, 6
mov rcx, rdi
setne r9b
xor edx, edx
movzx r9d, r9b
call fcn.00450cf0
mov eax, 1
jmp 0x45889a
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
jne 0x4589d6
mov r8d, r12d
mov rdx, rbx
mov rcx, rdi
call fcn.00457840
test al, al
je 0x458898
mov rdx, qword [0x005a0770]
test rdx, rdx
je 0x458a95
cmp ebp, 2
je 0x458a50
cmp byte [rdx + 8], 0
je 0x458a95
mov rax, qword [rbx + 0x60]
xor r8d, r8d
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x48], r8w
lea rcx, [rsp + 0x30]
mov r9d, 0x20
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
lea rax, [0x00457910]
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll_bsearch
test rax, rax
je 0x458a95
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
jmp 0x458898
mov rax, qword [rbx + 0x60]
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov r9d, 0x20
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
mov eax, 0x100
mov word [rsp + 0x48], ax
lea rax, [0x00457910]
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll_bsearch
test rax, rax
jne 0x458898
cmp byte [rdi + 0x1a1], 0
je 0x458ab0
mov rsi, qword [rdi + 0x118]
test rsi, rsi
jne 0x458b91
nop
mov rax, qword [rdi]
test rax, rax
je 0x458c80
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x458c80
movzx r12d, byte [rdx + 0x14]
movzx eax, byte [rax + 0x69]
cmp r12b, al
cmovb r12d, eax
xor edx, edx
movzx esi, r12b
test esi, esi
setne dl
cmp dword [rdi + 0x518], edx
movzx eax, word [rbx + 0x88]
jle 0x458b08
test ax, ax
jne 0x458b08
mov rdx, qword [rbx + 8]
cmp byte [rdx], 0
jne 0x458cf0
nop dword [rax]
and byte [rbx + 0x8a], 0xfb
add eax, 1
xor r9d, r9d
mov word [rbx + 0x88], ax
cmp byte [rdi + 0x4d7], 0
je 0x458b35
movzx r9d, byte [rdi + 0x54d]
xor r9d, 1
movzx r9d, r9b
mov rdx, qword [rbx + 0x28]
mov rcx, rdi
mov r8, qword [rbx + 0x60]
call fcn.00451610
mov byte [rax + 0x69], r12b
mov rdx, qword [rbx + 0x30]
mov qword [rax + 0x50], rbx
mov qword [rax + 0x28], rdx
mov byte [rdi + 0x1b8], 1
mov qword [rdi + 0x1a8], 0
jmp 0x458968
mov ecx, dword [rsi + 0x84]
test ecx, ecx
jne 0x458b84
mov rax, qword [rbx + 0x70]
cmp qword [rsi + 0x70], rax
je 0x458bc0
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x458ab0
cmp rbx, rsi
je 0x458b84
cmp ebp, 2
je 0x458b70
test byte [rsi + 0x8a], 1
jne 0x458b70
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x458ab0
cmp rbx, rsi
jne 0x458b9b
jmp 0x458b84
mov r8, qword [rbx + 0x60]
cmp qword [rsi + 0x60], r8
jne 0x458b84
movzx eax, byte [rsi + 0x8a]
mov r13, rsi
mov r14, qword [rsi + 0x28]
shr al, 2
and eax, 1
test r14, r14
je 0x458df0
test al, al
je 0x458d60
mov rdx, qword [rbx + 0x28]
mov rcx, qword [r13 + 0x28]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x458d15
test r14, r14
je 0x458b84
test byte [rsi + 0x8a], 4
jne 0x458b84
mov rcx, qword [r13 + 0x30]
mov qword [r13 + 8], 0
call fcn.004a6450
mov rcx, qword [r13]
call fcn.004a6450
mov rcx, qword [r13 + 8]
call fcn.004a6450
mov rcx, r13
call fcn.004a6450
jmp 0x458b84
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
je 0x4589c0
mov rdx, qword [0x005a0770]
test rdx, rdx
jne 0x4589eb
jmp 0x458a95
xor r12d, r12d
xor edx, edx
xor esi, esi
jmp 0x458ae4
cmp ebp, 2
jg 0x45897d
mov r9, qword [rdi + 0x28]
mov edx, dword [r9 + 0x38]
cmp edx, 0x6fffffff
je 0x45897d
sub edx, 1
cmp al, 1
mov dword [r9 + 0x38], edx
jne 0x458981
mov eax, dword [r9 + 0xc]
xor r8d, r8d
mov edx, dword [r9 + 0x3c]
sub eax, 1
cdqe
shl rax, 5
add rax, qword [r9]
sub edx, dword [rax]
movzx ecx, byte [rax + 0xc]
mov eax, dword [rax + 0x18]
shr edx, cl
mov rcx, r9
lea edx, [rdx + rax - 1]
call fcn.004637a0
jmp 0x45899e
cmp qword [rdi + 0x120], rbx
je 0x458e00
mov rcx, qword [rdi + 0x308]
call fcn.0046b7f0
movzx eax, word [rbx + 0x88]
jmp 0x458b08
test r14, r14
je 0x458898
test byte [rsi + 0x8a], 4
jne 0x458898
mov rcx, qword [r13 + 0x30]
xor edx, edx
mov qword [r13 + 8], rdx
call fcn.004a6450
mov rcx, qword [r13]
call fcn.004a6450
mov rcx, qword [r13 + 8]
call fcn.004a6450
mov rcx, r13
call fcn.004a6450
jmp 0x458898
mov r14, qword [rsi]
mov edx, 0x90
mov ecx, 1
mov r15, qword [rsi + 0x40]
call fcn.0048c8a0
mov dword [rax + 0x80], 0xffffffff
mov r13, rax
mov rcx, r14
mov qword [rax + 0x40], r15
call fcn.0048c9a0
test byte [r13 + 0x8a], 4
movq xmm0, rax
movhps xmm0, qword [rsi + 8]
movups xmmword [r13], xmm0
jne 0x458db9
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
call fcn.00457840
test al, al
je 0x458dd8
mov r8, qword [r13 + 0x60]
mov rax, qword [rbx + 0x60]
mov r14, qword [rsi + 0x28]
cmp rax, r8
jne 0x458c04
jmp 0x458bef
cmp qword [rsi + 0x28], 0
jne 0x458c0d
jmp 0x458b84
test al, al
je 0x458da7
jmp 0x458bef
cmp byte [rdi + 0x51f], 0
jne 0x458b08
jmp 0x458cfd