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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
add rax, 0x70
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x80
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140013710
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140013b10
jmp 0x140013e5d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x2c], 0
jne 0x140013b3d
jmp 0x140013e5d
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 4], 0
je 0x140013c44
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x88], 0
jmp 0x140013bad
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x88], eax
jge 0x140013c27
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
sar eax, 0xc
cmp eax, 0xa
jne 0x140013c22
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
and eax, 0xfff
mov rcx, qword [rsp + 0x58]
add eax, dword [rcx]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx], rax
jmp 0x140013b9d
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x140013b56
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x140013e0b
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140013cb0
jmp 0x140013e5d
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x140013df8
mov rax, qword [rsp + 0xa0]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x140013d67
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov word [rsp + 0xb0], ax
movzx eax, word [rsp + 0xb0]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140013d52
jmp 0x140013e5d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
jmp 0x140013ddf
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x140013dcc
jmp 0x140013e5d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0xa0], rax
jmp 0x140013cdb
mov rax, qword [rsp + 0x50]
add rax, 0x14
mov qword [rsp + 0x50], rax
jmp 0x140013c5c
mov rcx, qword [rsp + 0x30]
call fcn.1400132c0
test eax, eax
jne 0x140013e1d
jmp 0x140013e5d
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x140013e56
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x48]
cmp eax, 1
jne 0x140013e5d
mov rax, qword [rsp + 0x30]
jmp 0x140013e7a
cmp qword [rsp + 0x30], 0
je 0x140013e78
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0xe8
ret