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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c8]
sub rsp, 0x3c8
lea r15, [rdx + 0x528]
xor edi, edi
movsxd r14, dword [r15 + 0x3c]
mov rsi, rcx
add r14, r15
mov qword [rsp + 0x60], rdi
xor ecx, ecx
mov qword [rbp - 0x78], r14
mov r13, rdx
mov qword [rbp + 0x328], rdi
mov qword [rsp + 0x50], rdi
mov qword [rbp - 0x80], r15
call qword [rsi + 0x40]
mov rcx, rax
movsxd rax, dword [rax + 0x3c]
movzx ecx, word [rax + rcx + 4]
cmp word [r14 + 4], cx
jne 0x1400539c2
mov eax, dword [r14 + 0x50]
mov qword [rbp - 0x68], rax
mov eax, dword [r14 + 0xb4]
mov dword [rbp + 0x320], eax
test eax, eax
jne 0x1400530d7
mov rax, qword [r14 + 0x30]
mov qword [rbp + 0x328], rax
mov ecx, 3
mov qword [rsp + 0x30], rdi
lea rbx, [rsi + 0x625]
lea eax, [rcx - 2]
lea r12d, [rcx - 1]
cmp byte [rbx], dil
jne 0x140053128
mov dword [rsp + 0x28], 0x8000000
lea r9, [rbp - 0x68]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
lea rcx, [rsp + 0x68]
call qword [rsi + 0x210]
test eax, eax
jne 0x1400539c2
jmp 0x1400531c3
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, eax
mov rcx, rbx
mov edx, 0x80000000
call qword [rsi + 0x90]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400539c2
xor ebx, ebx
lea rdx, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x58], rbx
call qword [rsi + 0x98]
test eax, eax
je 0x1400539c2
mov eax, dword [rsp + 0x58]
cmp dword [r14 + 0x50], eax
ja 0x1400539c2
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov edx, 0xf001f
call qword [rsi + 0x210]
mov rcx, rdi
mov ebx, eax
call qword [rsi + 0xf0]
xor edi, edi
test ebx, ebx
jne 0x1400539c2
lea rbx, [rsi + 0x625]
call qword [rsi + 0xb0]
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x328]
mov dword [rsp + 0x48], 4
mov rdx, rax
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], r12d
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [rsi + 0x218]
mov rcx, qword [rbp + 0x328]
movsxd r12, dword [r15 + 0x3c]
add r12, rcx
mov qword [rsp + 0x78], r12
test eax, eax
je 0x140053228
cmp eax, 0x40000003
jne 0x1400539c2
test rcx, rcx
je 0x1400539c2
cmp byte [rbx], dil
je 0x14005329b
mov rdx, qword [rsp + 0x50]
lea r9, [rbp + 0x310]
mov edi, 4
mov r8d, edi
call qword [rsi + 0x60]
lea rbx, [r14 + 0x54]
mov r9d, edi
mov edx, dword [rbx]
xor ecx, ecx
mov r8d, 0x3000
mov qword [rsp + 0x70], rbx
call qword [rsi + 0x48]
mov r8d, dword [rbx]
mov rcx, rax
mov rdx, qword [rbp + 0x328]
mov qword [rsp + 0x58], rax
call fcn.140054864
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rbp + 0x328]
call fcn.140054884
mov rcx, qword [rbp + 0x328]
xor edi, edi
jmp 0x1400532b0
mov rax, qword [rbp + 0x318]
lea rbx, [r14 + 0x54]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x58], rax
mov r8d, dword [rbx]
mov rdx, r15
call fcn.140054864
mov rax, qword [rbp + 0x328]
mov r15d, edi
mov qword [r12 + 0x30], rax
movzx eax, word [r12 + 0x14]
add rax, 0x18
add rax, r12
mov qword [rbp - 0x70], rax
cmp di, word [r12 + 6]
jae 0x140053335
mov r14, qword [rbp - 0x80]
mov r13, rax
mov eax, r15d
lea rdi, [rax + rax*4]
mov ebx, dword [r13 + rdi*8 + 0xc]
add rbx, qword [rbp + 0x328]
mov edx, dword [r13 + rdi*8 + 0x14]
mov rcx, rbx
mov r8d, dword [r13 + rdi*8 + 0x10]
add rdx, r14
call fcn.140054864
movzx eax, byte [rbx]
inc r15d
mov dword [r13 + rdi*8 + 8], eax
movzx eax, word [r12 + 6]
cmp r15d, eax
jb 0x1400532ea
mov r14, qword [rbp - 0x78]
xor edi, edi
mov r13, qword [rbp + 0x318]
mov r8, qword [rbp + 0x328]
mov eax, dword [rbp + 0x320]
mov r10, r8
sub r10, qword [r14 + 0x30]
test eax, eax
je 0x140053443
test r10, r10
je 0x140053443
mov ecx, dword [r12 + 0xb0]
lea rbx, [rcx + rax]
lea rax, [rbx + r8]
lea r9, [rcx + r8]
cmp r9, rax
jae 0x140053443
mov r15d, 0xfff
cmp dword [r9 + 4], edi
je 0x140053443
mov eax, dword [r9 + 4]
lea r11, [r9 + 8]
add rax, r9
cmp r11, rax
je 0x140053433
mov ecx, 2
movzx edx, word [r11]
mov eax, edx
and eax, r15d
add eax, dword [r9]
cmp eax, dword [r12 + 0x50]
jae 0x140053420
mov ecx, dword [r9]
mov eax, edx
and rax, r15
shr dx, 0xc
add rax, r8
add rcx, rax
cmp dx, 0xa
jne 0x1400533d0
add qword [rcx], r10
jmp 0x140053406
mov eax, 3
cmp dx, ax
jne 0x1400533df
mov eax, r10d
jmp 0x140053403
mov eax, 1
cmp dx, ax
jne 0x1400533f5
mov rax, r10
shr rax, 0x10
movzx eax, ax
jmp 0x140053403
mov eax, 2
cmp dx, ax
jne 0x140053414
movzx eax, r10w
add qword [rcx], rax
mov r8, qword [rbp + 0x328]
mov ecx, 2
jmp 0x140053420
test dx, dx
jne 0x140053955
mov rcx, rax
mov eax, dword [r9 + 4]
add r11, rcx
add rax, r9
cmp r11, rax
jne 0x1400533a0
lea rax, [rbx + r8]
mov r9, r11
cmp r11, rax
jb 0x14005337d
mov eax, dword [r12 + 0x90]
test eax, eax
je 0x140053509
lea rbx, [r8 + rax]
cmp dword [rbx + 0xc], edi
je 0x140053509
mov r14, qword [rbp + 0x318]
mov edx, dword [rbx + 0xc]
mov rcx, rsi
add rdx, r8
call fcn.140054054
mov r8, qword [rbp + 0x328]
mov r13, rax
mov edi, dword [rbx]
mov r15d, dword [rbx + 0x10]
add rdi, r8
add r15, r8
mov rcx, qword [rdi]
xor eax, eax
test rcx, rcx
je 0x1400534ea
jns 0x14005349f
mov r9d, ecx
xor r8d, r8d
jmp 0x1400534cb
lea r12, [rcx + r8]
cmp dword [r14 + 4], eax
je 0x1400534c3
lea rdx, [r12 + 2]
mov rcx, rsi
call fcn.1400524e8
test eax, eax
je 0x1400534c3
mov rax, qword [rsi + 0x1e0]
jmp 0x1400534d6
xor r9d, r9d
lea r8, [r12 + 2]
mov rdx, r13
mov rcx, rsi
call fcn.14005413c
mov qword [r15], rax
add rdi, 8
mov r8, qword [rbp + 0x328]
add r15, 8
jmp 0x14005348b
add rbx, 0x14
xor edi, edi
cmp dword [rbx + 0xc], edi
jne 0x140053467
mov r14, qword [rbp - 0x78]
mov r13, qword [rbp + 0x318]
mov r12, qword [rsp + 0x78]
mov eax, dword [r12 + 0xf0]
test eax, eax
je 0x14005359f
lea rdi, [rax + 4]
add rdi, r8
mov eax, dword [rdi]
test eax, eax
je 0x14005359d
mov edx, eax
mov rcx, rsi
add rdx, r8
call fcn.140054054
mov r8, qword [rbp + 0x328]
mov r12, rax
xor eax, eax
test r12, r12
je 0x14005358e
mov ebx, dword [rdi + 0xc]
mov r15d, dword [rdi + 8]
add rbx, r8
add r15, r8
jmp 0x140053586
jns 0x14005355d
mov r9d, dword [rbx]
mov r8, rax
jmp 0x140053567
add r8, 2
mov r9d, eax
add r8, rcx
mov rdx, r12
mov rcx, rsi
call fcn.14005413c
mov qword [r15], rax
add rbx, 8
mov r8, qword [rbp + 0x328]
add r15, 8
xor eax, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140053553
add rdi, 0x20
mov eax, dword [rdi]
test eax, eax
jne 0x140053526
mov r12, qword [rsp + 0x78]
xor edi, edi
mov r12d, dword [r12 + 0x28]
lea rcx, [rbp - 0x60]
mov eax, 2
add r12, r8
mov qword [rbp - 0x80], r12
lea edx, [rax + 0x7e]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [r14 + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [r14 + 0x70]
add r14, rdx
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x1400535b7
mov rax, qword [r14]
mov r8d, 0x3000
mov qword [rcx], rax
xor ecx, ecx
mov rax, qword [rbp - 0x60]
shr rax, 0x30
lea r9d, [rcx + 4]
lea rdx, [rax + rax*4]
shl rdx, 3
call qword [rsi + 0x48]
movzx r15d, word [rbp - 0x5a]
mov rcx, rax
mov rdx, qword [rbp - 0x70]
mov rbx, rax
mov qword [rsp + 0x60], rax
lea r8d, [r15 + r15*4]
shl r8d, 3
call fcn.140054864
mov eax, 1
cmp dword [rsi + 0x574], eax
jne 0x1400536b4
cmp byte [rsi + 0x625], dil
jne 0x14005368e
mov rbx, qword [rsp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x328]
mov r8d, dword [rbx]
call fcn.140054884
mov r8d, dword [rbx]
lea rcx, [r13 + 0x528]
xor edx, edx
call fcn.140054884
jmp 0x1400536af
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400536b4
mov rbx, qword [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rbp + 0x328]
mov r8d, dword [rbx]
call fcn.140054864
mov rbx, qword [rsp + 0x60]
cmp byte [rsi + 0x625], dil
jne 0x14005374b
call qword [rsi + 0xb0]
mov rdx, qword [rbp + 0x328]
mov rcx, rax
call qword [rsi + 0x220]
test eax, eax
jne 0x1400539c2
mov rax, qword [rbp + 0x328]
cmp dword [rbp + 0x320], edi
mov qword [rsp + 0x50], rdi
cmovne rax, rdi
mov qword [rbp + 0x328], rax
call qword [rsi + 0xb0]
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x328]
mov dword [rsp + 0x48], 0x80
mov rdx, rax
mov dword [rsp + 0x40], edi
mov eax, 2
mov dword [rsp + 0x38], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [rsi + 0x218]
test eax, eax
jne 0x1400539c2
mov rdx, qword [rsp + 0x50]
lea r9, [rbp + 0x310]
mov rcx, qword [rbp + 0x328]
mov r8d, 8
call qword [rsi + 0x60]
mov r14d, edi
test r15d, r15d
je 0x14005385e
mov r13, qword [rsp + 0x60]
lea rdi, [rbx + 0xc]
mov ebx, dword [rbp + 0x318]
xor r12d, r12d
lea r10d, [r12 + 1]
mov edx, dword [rdi + 0x18]
mov r8d, edx
mov ecx, edx
shr r8d, 0x1e
shr edx, 0x1d
and edx, r10d
shr ecx, 0x1f
test ecx, edx
jne 0x140053841
test r8d, edx
je 0x1400537b3
mov ebx, 0x20
jmp 0x1400537f9
mov r9d, edx
mov eax, ecx
xor r9d, r10d
and eax, r8d
test r9d, eax
je 0x1400537d5
mov al, byte [rsi + 0x625]
neg al
sbb ebx, ebx
and ebx, 0xfffffffc
add ebx, 8
jmp 0x1400537f9
xor ecx, r10d
mov eax, r8d
xor eax, r10d
and eax, ecx
test edx, eax
je 0x1400537eb
mov ebx, 0x10
jmp 0x1400537f9
and ecx, r8d
mov eax, 2
test r9d, ecx
cmovne ebx, eax
mov r8d, dword [rdi]
lea eax, [r15 - 1]
mov r10, qword [rbp + 0x328]
add r10, r8
cmp r14d, eax
jae 0x140053821
lea eax, [r14 + 1]
lea rax, [rax + rax*4]
mov edx, dword [r13 + rax*8 + 0xc]
sub rdx, r8
jmp 0x140053824
mov edx, dword [rdi + 4]
lea r9, [rbp + 0x310]
mov dword [rbp + 0x310], r12d
mov r8d, ebx
mov rcx, r10
call qword [rsi + 0x60]
mov r10d, 1
add r14d, r10d
add rdi, 0x28
cmp r14d, r15d
jb 0x14005378a
mov r12, qword [rbp - 0x80]
xor edi, edi
mov r13, qword [rbp + 0x318]
mov edx, dword [rbp - 0x34]
lea r9, [rbp + 0x310]
mov rcx, qword [rbp + 0x328]
mov r8d, 2
mov dword [rbp + 0x310], edi
call qword [rsi + 0x60]
mov rcx, qword [rsp + 0x78]
mov r14d, 1
mov eax, dword [rcx + 0xd0]
mov rcx, qword [rbp + 0x328]
test eax, eax
je 0x1400538c1
mov rbx, qword [rax + rcx + 0x18]
test rbx, rbx
je 0x1400538c1
jmp 0x1400538b9
xor r8d, r8d
mov edx, r14d
call rax
mov rcx, qword [rbp + 0x328]
lea rbx, [rbx + 8]
mov rax, qword [rbx]
test rax, rax
jne 0x1400538a6
mov eax, 3
cmp dword [r13], eax
jne 0x140053a42
mov eax, dword [rbp - 0x38]
xor r8d, r8d
add rax, rcx
mov edx, r14d
call rax
cmp byte [r13 + 0x30c], dil
je 0x140053ab5
mov eax, dword [rbp + 0x28]
mov r8, qword [rbp + 0x328]
lea rcx, [r8 + rax]
test eax, eax
je 0x140053ad0
mov ebx, dword [rcx + 0x18]
test ebx, ebx
je 0x140053ad0
mov edi, dword [rcx + 0x1c]
mov r15d, dword [rcx + 0x20]
add rdi, r8
mov r14d, dword [rcx + 0x24]
add r15, r8
add r14, r8
lea eax, [rbx - 1]
mov ecx, dword [r15 + rax*4]
lea rdx, [r13 + 0x30c]
add rcx, r8
mov r12d, eax
mov ebx, eax
call fcn.1400548a0
mov r8, qword [rbp + 0x328]
test eax, eax
je 0x1400539d6
test ebx, ebx
jne 0x140053920
mov r13, qword [rbp + 0x318]
test r8, r8
je 0x1400539ad
movzx eax, word [rbp - 0x5a]
mov edi, 0xc000
mov rcx, qword [rsp + 0x60]
mov r8d, edi
lea rdx, [rax + rax*4]
shl rdx, 3
call qword [rsi + 0x50]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14005398c
mov edx, dword [rbp - 0xc]
mov r8d, edi
mov rcx, rax
call qword [rsi + 0x50]
call qword [rsi + 0xb0]
mov rdx, qword [rbp + 0x328]
mov rcx, rax
call qword [rsi + 0x220]
mov rcx, qword [rsp + 0x68]
call qword [rsi + 0xf0]
mov r8d, dword [r13 + 0x524]
lea rcx, [r13 + 0x528]
xor edx, edx
call fcn.140054884
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx eax, word [r14 + r12*2]
mov ebx, dword [rdi + rax*4]
add rbx, r8
je 0x14005394e
mov r13, qword [rbp + 0x318]
xor r14d, r14d
lea rdi, [r13 + 0x40c]
cmp byte [rdi], r14b
je 0x140053a3e
cmp dword [r13 + 0x50c], r14d
je 0x140053a28
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
cmp dword [r13 + 0x50c], r14d
lea rcx, [rbp + 0xb0]
cmove rcx, rdi
call rbx
jmp 0x140053aac
call rbx
jmp 0x140053aac
lea r8, [r13 + 0x40c]
cmp byte [r8], dil
je 0x140053a7c
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.140053df8
cmp dword [r13 + 4], edi
je 0x140053abe
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov r8, r12
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x88]
test rax, rax
je 0x140053aac
or edx, 0xffffffff
mov rcx, rax
call qword [rsi + 0x80]
mov r8, qword [rbp + 0x328]
jmp 0x140053ad7
mov r13, qword [rbp + 0x318]
jmp 0x140053aac
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
call r12
jmp 0x140053aac
mov r13, qword [rbp + 0x318]
mov eax, 3
cmp dword [rsi + 0x230], eax
jne 0x140053955
or ecx, 0xffffffff
call qword [rsi + 0x68]
mov r8, qword [rbp + 0x328]
jmp 0x140053955