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

Disassembly:
lea r12, [rsp - 0x1e0]
cmp r12, qword [r14 + 0x10]
jbe 0x14005ad89
push rbp
mov rbp, rsp
sub rsp, 0x258
mov qword [rsp + 0x278], rcx
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
movups xmmword [rsp + 0x1f8], xmm15
movups xmmword [rsp + 0x200], xmm15
movups xmmword [rsp + 0x210], xmm15
lea rcx, [0x14005adc0]
mov qword [rsp + 0x1f8], rcx
lea rcx, [rsp + 0x278]
mov qword [rsp + 0x200], rcx
lea rcx, [rsp + 0x280]
mov qword [rsp + 0x208], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x210], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x218], rcx
mov rcx, qword [rax + 0x48]
mov edx, dword [0x14026d0f0]
mov rsi, qword [r14 + 0x30]
movzx r8d, byte [rsi + 0xf9]
test r8b, r8b
jne 0x14005a5f3
shr edx, 2
cmp dword [rsi + 0xc4], 2
mov esi, 2
cmovae edx, esi
mov r8d, edx
mov byte [rsp + 0x270], bl
mov qword [rsp + 0x1d0], rcx
mov qword [rsp + 0x268], rax
mov dword [rsp + 0x3c], r8d
lea rdi, [rsp + 0xb8]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.140067f74
mov rbp, qword [rbp]
jmp 0x14005a662
mov rax, qword [rsp + 0x268]
nop dword [rax]
call fcn.140058c80
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x1d0]
movzx ebx, byte [rsp + 0x270]
mov r8d, dword [rsp + 0x3c]
cmp qword [rax + 0x10], 0
je 0x14005a75d
mov qword [rsp + 0x70], 0
mov rcx, qword [rax + 8]
mov qword [rsp + 0xb0], rcx
mov rdx, qword [rax]
mov qword [rsp + 0xa8], rdx
call fcn.1400590c0
mov rdi, qword [rsp + 0x268]
lea rcx, [rdi + 0x60]
mov rbx, qword [rsp + 0xb0]
mov rdx, rax
mov rax, qword [rsp + 0xa8]
mov rsi, rcx
mov rcx, rdx
mov rdi, rsi
call fcn.1400539e0
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1e8], rcx
mov qword [rsp + 0x1f0], rdi
mov rax, qword [rsp + 0x268]
movzx ecx, byte [rsp + 0x270]
jmp 0x14005a7a4
lea rbx, [rsp + 0xb8]
mov ecx, 0x20
mov rdi, rcx
call fcn.140059140
test rax, rax
jle 0x14005a635
movups xmmword [rsp + 0x220], xmm15
movups xmmword [rsp + 0x228], xmm15
movups xmmword [rsp + 0x238], xmm15
movups xmmword [rsp + 0x248], xmm15
nop word [rax + rax]
nop
cmp rax, 0x20
ja 0x14005ad6e
mov qword [rsp + 0x80], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x14005ac00
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x68]
xor ebx, ebx
add rsp, 0x258
pop rbp
ret
lea rax, [rsp + 0x1d8]
mov rbx, rsi
mov ecx, r8d
call fcn.140053ae0
mov rdx, qword [rsp + 0x268]
movzx esi, byte [rsp + 0x270]
mov ecx, esi
mov rsi, rax
mov r8d, ebx
mov rax, rdx
test rsi, rsi
je 0x14005a6f4
test r8d, r8d
jge 0x14005a7e2
mov rdx, qword [rsp + 0x1d8]
test rdx, rdx
je 0x14005a7d5
mov r10, qword [rsp + 0x1e0]
mov r11d, dword [rdx + 4]
mov r12d, dword [rdx + 0x24]
movzx edx, byte [rdx + 0x28]
jmp 0x14005a81a
xor edx, edx
xor r12d, r12d
xor r11d, r11d
xor r10d, r10d
jmp 0x14005a81a
mov rdx, qword [rsp + 0x1f0]
test byte [rdx], al
movsxd r10, r8d
cmp r10, 0x100000
jae 0x14005ad7b
shl r10, 4
mov r13, qword [rsp + 0x1e0]
mov r11d, dword [rdx + r10 + 4]
mov r12d, dword [rdx + r10 + 0xc]
movzx edx, byte [rdx + r10]
mov r10, r13
mov dword [rsp + 0x34], r8d
mov qword [rsp + 0x58], rsi
movzx r9d, byte [rax + 0x58]
mov byte [rax + 0x58], dl
test cl, cl
je 0x14005a837
mov edx, 1
jmp 0x14005a88b
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x40], r10
cmp qword [rsp + 0x68], 0
sete r8b
mov rax, r10
mov ebx, r11d
mov ecx, r12d
mov edi, edx
mov rsi, qword [rsp + 0x1d0]
nop
call fcn.14005b500
movzx ecx, byte [rsp + 0x270]
mov rsi, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x34]
mov r10, qword [rsp + 0x40]
mov r11d, dword [rsp + 0x30]
mov edx, eax
mov rax, qword [rsp + 0x268]
test dl, dl
je 0x14005a776
cmp qword [rsp + 0x278], 0
jne 0x14005a8b2
cmp qword [rsp + 0x280], 0
jne 0x14005a8b2
mov edx, 1
xor ebx, ebx
jmp 0x14005a8e9
inc qword [rsp + 0x68]
inc qword [rsp + 0x70]
mov rdx, qword [rsp + 0x278]
test rdx, rdx
jle 0x14005a8da
dec rdx
mov qword [rsp + 0x278], rdx
xor edx, edx
xor ebx, ebx
jmp 0x14005a8e9
dec qword [rsp + 0x280]
xor edx, edx
mov ebx, 1
test dl, dl
jne 0x14005abe9
test bl, bl
je 0x14005a776
test r10, r10
jne 0x14005a904
xor ebx, ebx
xor edx, edx
jmp 0x14005a917
mov rax, r10
mov ebx, r11d
call fcn.140052740
mov rsi, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x1b8], rdx
mov r8, qword [rsp + 0x1e0]
mov rax, qword [rsp + 0x1d8]
nop
mov rcx, rsi
xor edi, edi
mov rbx, r8
nop dword [rax]
call fcn.140053480
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x38], ecx
mov rax, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x48]
call fcn.140059be0
call fcn.140039400
lea rax, [0x1403a8160]
mov ebx, 1
call fcn.140039c80
nop
call fcn.140039460
mov edx, dword [rsp + 0x34]
test edx, edx
jl 0x14005a9ac
call fcn.140039400
lea rax, [0x140323d89]
mov ebx, 3
nop
call fcn.140039c80
call fcn.140039460
jmp 0x14005a9e5
mov rax, qword [rsp + 0x268]
mov rcx, qword [rax + 0x40]
mov qword [rsp + 0x1c8], rcx
call fcn.1400590c0
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x1c8]
mov rdi, rax
mov rax, qword [rsp + 0xa8]
call fcn.1400595c0
call fcn.140039400
lea rax, [0x140323d14]
mov ebx, 2
call fcn.140039c80
nop dword [rax + rax]
call fcn.140039460
call fcn.140039400
lea rax, [0x1403a80c8]
mov ebx, 1
call fcn.140039c80
mov rax, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x78]
call fcn.140039c80
lea rax, [0x1403a8380]
mov ebx, 1
call fcn.140039c80
mov eax, dword [rsp + 0x38]
movsxd rax, eax
call fcn.140039aa0
call fcn.140039460
mov eax, dword [rsp + 0x34]
test eax, eax
jge 0x14005abcb
mov rcx, qword [rsp + 0xa8]
mov edx, dword [rcx + 4]
imul ebx, edx, 0xa6af714c
xor ebx, dword [rcx]
mov rax, qword [rsp + 0xb0]
call fcn.140052620
mov rcx, qword [rsp + 0x268]
cmp qword [rcx + 0x10], rax
jbe 0x14005aafa
mov rcx, qword [rsp + 0xa8]
mov edx, dword [rcx + 4]
imul ebx, edx, 0xa6af714c
xor ebx, dword [rcx]
mov rax, qword [rsp + 0xb0]
call fcn.140052620
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x268]
mov rdx, qword [rcx + 0x10]
mov qword [rsp + 0xa0], rdx
call fcn.140039400
lea rax, [0x140323d2c]
mov ebx, 2
call fcn.140039c80
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
call fcn.140039b00
call fcn.140039460
mov rcx, qword [rsp + 0x268]
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14005ab1d
cmp dword [rdx + 0xc4], 2
jb 0x14005ab1d
cmp qword [rdx + 0x90], rax
je 0x14005ab2a
mov edx, dword [rsp + 0x3c]
cmp edx, 2
jl 0x14005abcb
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x98], rdx
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x90], rbx
call fcn.140039400
lea rax, [0x140324083]
mov ebx, 4
nop
call fcn.140039c80
mov rax, qword [rsp + 0xa0]
call fcn.140039b00
lea rax, [0x140324077]
mov ebx, 4
nop
call fcn.140039c80
mov rax, qword [rsp + 0x98]
call fcn.140039b00
lea rax, [0x140324047]
mov ebx, 4
nop
call fcn.140039c80
mov rax, qword [rsp + 0x90]
call fcn.140039b00
call fcn.140039460
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x268]
mov edx, dword [rsp + 0x3c]
call fcn.140039400
call fcn.140039640
call fcn.140039460
mov rsi, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x34]
jmp 0x14005a776
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x258
pop rbp
ret
inc rcx
nop
cmp rax, rcx
jle 0x14005ad2d
mov qword [rsp + 0x88], rcx
mov rsi, qword [rsp + rcx*8 + 0xb8]
cmp qword [0x140607280], 0
jne 0x14005acee
cmp qword [rsp + 0x278], 0
jne 0x14005ac47
cmp qword [rsp + 0x280], 0
jne 0x14005ac47
mov edi, 1
xor r8d, r8d
jmp 0x14005ac80
inc qword [rsp + 0x68]
inc qword [rsp + 0x70]
mov rdi, qword [rsp + 0x278]
test rdi, rdi
jle 0x14005ac70
dec rdi
mov qword [rsp + 0x278], rdi
xor edi, edi
xor r8d, r8d
jmp 0x14005ac80
dec qword [rsp + 0x280]
xor edi, edi
mov r8d, 1
test dil, dil
jne 0x14005ad2d
test r8b, r8b
je 0x14005abfc
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x2d], bl
mov byte [rsp + 0x2e], dl
nop
call fcn.140039400
lea rax, [0x14032ae7f]
mov ebx, 0x16
call fcn.140039c80
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
call fcn.140039b00
call fcn.140039640
call fcn.140039460
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x2e]
movzx ebx, byte [rsp + 0x2d]
jmp 0x14005abfc
mov rax, rsi
lea rbx, [rsp + 0x1f8]
lea rcx, [rsp + 0x220]
call fcn.14005bfc0
test al, al
jne 0x14005ad26
mov rcx, qword [rsp + 0x88]
mov edx, 1
mov ebx, eax
mov rax, qword [rsp + 0x80]
jmp 0x14005abfc
mov edx, 1
mov ebx, eax
test dl, dl
je 0x14005ad53
mov byte [rsp + 0x2f], bl
mov qword [rsp + 0x220], 0
lea rax, [rsp + 0x220]
call fcn.14005c1c0
movzx ebx, byte [rsp + 0x2f]
test bl, bl
je 0x14005a635
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x258
pop rbp
ret
mov rcx, rax
mov edx, 0x20
call fcn.140067ce0
mov rax, r10
mov ecx, 0x100000
call fcn.140067ca0
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop dword [rax]
call fcn.1400659c0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005a520