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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, 0x5a4d
mov r8, rdx
cmp word [rdx], ax
jne 0x140005757
cmp ecx, 0x130
jb 0x140005757
movsxd r9, dword [rdx + 0x3c]
cmp ecx, dword [r9 + rdx + 0x54]
jb 0x140005757
lea rdx, [r9 + 0x108]
mov eax, ecx
cmp rax, rdx
jb 0x140005757
mov eax, 0x8664
cmp word [r9 + r8 + 4], ax
jne 0x140005757
mov eax, 0x2000
test word [r9 + r8 + 0x16], ax
je 0x140005757
mov edx, ecx
mov rcx, r8
call fcn.140008d00
mov rbp, rax
test rax, rax
jne 0x14000525c
lea eax, [rbp + 0x57]
jmp 0x14000575e
mov ecx, 0x78
call fcn.14000de0c
mov r14, rax
test rax, rax
je 0x140005750
xorps xmm0, xmm0
mov qword [rsp + 0x48], r15
movups xmmword [r14], xmm0
xor eax, eax
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x60], xmm0
mov qword [r14 + 0x70], rax
mov dword [r14], 0x78
mov dword [r14 + 0x10], 0x30
mov qword [r14 + 8], rbp
mov rax, qword [rbp]
cmp dword [rax + 0x8c], 0
je 0x140005383
mov rdi, qword [rbp + 8]
mov r11d, dword [rax + 0x88]
add r11, rdi
mov ebx, dword [r11 + 0x18]
test ebx, ebx
je 0x140005383
mov esi, dword [r11 + 0x14]
test esi, esi
je 0x140005383
lea r15, str.init
mov rax, r15
shr rax, 0x10
test ax, ax
jne 0x14000530f
mov ecx, dword [r11 + 0x10]
movzx eax, r15w
cmp eax, ecx
jb 0x140005383
sub eax, ecx
jmp 0x140005358
mov r8d, dword [r11 + 0x20]
xor r9d, r9d
mov r10d, dword [r11 + 0x24]
add r8, rdi
add r10, rdi
test ebx, ebx
je 0x140005383
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r8]
add rdx, rdi
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r15 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005373
cmp rcx, 5
jne 0x140005340
movzx eax, word [r10]
cmp eax, esi
ja 0x140005383
mov edx, dword [r11 + 0x1c]
lea ecx, [rax*4]
lea rax, [rdi + rdx]
mov eax, dword [rcx + rax]
add rax, rdi
jmp 0x140005390
inc r9d
add r8, 4
add r10, 2
cmp r9d, ebx
jb 0x140005330
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [r14 + 0x58], rax
mov edx, 8
mov rax, qword [rbp]
mov rcx, rbp
mov qword [rsp + 0x40], r12
cmp dword [rax + 0x8c], 0
lea r15, [rdx + rcx]
je 0x140005473
mov rbx, qword [r15]
mov r11d, dword [rax + 0x88]
add r11, rbx
mov edi, dword [r11 + 0x18]
test edi, edi
je 0x140005473
mov esi, dword [r11 + 0x14]
test esi, esi
je 0x140005473
lea r12, [0x140026828]
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x1400053fe
mov ecx, dword [r11 + 0x10]
movzx eax, r12w
cmp eax, ecx
jb 0x140005473
sub eax, ecx
jmp 0x140005448
mov r8d, dword [r11 + 0x20]
xor r9d, r9d
mov r10d, dword [r11 + 0x24]
add r8, rbx
add r10, rbx
test edi, edi
je 0x140005473
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8]
add rdx, rbx
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r12 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005463
cmp rcx, 4
jne 0x140005430
movzx eax, word [r10]
cmp eax, esi
ja 0x140005473
mov edx, dword [r11 + 0x1c]
lea ecx, [rax*4]
lea rax, [rbx + rdx]
mov eax, dword [rcx + rax]
add rax, rbx
jmp 0x140005480
inc r9d
add r8, 4
add r10, 2
cmp r9d, edi
jb 0x140005420
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [r14 + 0x60], rax
mov rax, qword [rbp]
cmp dword [rax + 0x8c], 0
je 0x140005553
mov rbx, qword [r15]
mov r11d, dword [rax + 0x88]
add r11, rbx
mov edi, dword [r11 + 0x18]
test edi, edi
je 0x140005553
mov esi, dword [r11 + 0x14]
test esi, esi
je 0x140005553
lea r12, str.getinfo
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x1400054dd
mov ecx, dword [r11 + 0x10]
movzx eax, r12w
cmp eax, ecx
jb 0x140005553
sub eax, ecx
jmp 0x140005528
mov r8d, dword [r11 + 0x20]
xor r9d, r9d
mov r10d, dword [r11 + 0x24]
add r8, rbx
add r10, rbx
test edi, edi
je 0x140005553
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8]
add rdx, rbx
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r12 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005543
cmp rcx, 8
jne 0x140005510
movzx eax, word [r10]
cmp eax, esi
ja 0x140005553
mov edx, dword [r11 + 0x1c]
lea ecx, [rax*4]
lea rax, [rbx + rdx]
mov eax, dword [rcx + rax]
add rax, rbx
jmp 0x140005560
inc r9d
add r8, 4
add r10, 2
cmp r9d, edi
jb 0x140005500
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov r12, qword [rsp + 0x40]
mov qword [r14 + 0x68], rax
mov rax, qword [rbp]
cmp dword [rax + 0x8c], 0
je 0x140005633
mov rbx, qword [r15]
mov r11d, dword [rax + 0x88]
add r11, rbx
mov edi, dword [r11 + 0x18]
test edi, edi
je 0x140005633
mov esi, dword [r11 + 0x14]
test esi, esi
je 0x140005633
lea r15, str.deinit
mov rax, r15
shr rax, 0x10
test ax, ax
jne 0x1400055c2
mov ecx, dword [r11 + 0x10]
movzx eax, r15w
cmp eax, ecx
jb 0x140005633
sub eax, ecx
jmp 0x140005608
mov r8d, dword [r11 + 0x20]
xor r9d, r9d
mov r10d, dword [r11 + 0x24]
add r8, rbx
add r10, rbx
test edi, edi
je 0x140005633
nop word [rax + rax]
mov edx, dword [r8]
add rdx, rbx
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r15 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005623
cmp rcx, 7
jne 0x1400055f0
movzx eax, word [r10]
cmp eax, esi
ja 0x140005633
mov edx, dword [r11 + 0x1c]
lea ecx, [rax*4]
lea rax, [rbx + rdx]
mov eax, dword [rcx + rax]
add rax, rbx
jmp 0x140005640
inc r9d
add r8, 4
add r10, 2
cmp r9d, edi
jb 0x1400055e0
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, 0x10
mov qword [r14 + 0x70], rax
call fcn.14000de0c
mov r15, qword [rsp + 0x48]
test rax, rax
je 0x140005748
mov rcx, qword [0x14002bd60]
mov qword [rax + 8], rcx
mov qword [rax], r14
mov qword [0x14002bd60], rax
call fcn.140005100
mov ebx, eax
mov ebp, eax
test eax, eax
je 0x14000575c
mov rax, qword [r14 + 0x20]
xor edi, edi
cmp rax, qword [0x14001e4b0]
jne 0x1400056ed
mov rax, qword [r14 + 0x28]
cmp rax, qword [0x14001e4b8]
jne 0x1400056ed
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1400056ed
cmp dword [rbx + 0x1c], edi
je 0x1400056c2
mov rax, qword [rbx]
xor r8d, r8d
mov rcx, qword [rbx + 8]
xor edx, edx
mov r9d, dword [rax + 0x28]
add r9, rcx
call r9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400056d9
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x14002bd60]
mov ebx, ebp
test rcx, rcx
je 0x14000573e
nop dword [rax + rax]
cmp qword [rcx], r14
je 0x14000571b
mov rdi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140005700
mov rcx, r14
call fcn.14000ddf8
jmp 0x14000575c
mov rax, qword [rcx + 8]
test rdi, rdi
jne 0x14000572d
mov qword [0x14002bd60], rax
jmp 0x140005731
mov qword [rdi + 8], rax
mov qword [rcx + 8], 0
call fcn.14000ddf8
mov rcx, r14
call fcn.14000ddf8
jmp 0x14000575c
mov rcx, r14
call fcn.14000ddf8
mov ebx, 0xe
jmp 0x14000575c
mov ebx, 0x57
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret