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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
mov rax, qword [0x1401b2788]
xor rax, rsp
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x380]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x380]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x380]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.1401557b0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x68
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x140105aca
xor eax, eax
jmp 0x140105f48
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x140105ae8
mov rax, qword [rsp + 0x48]
add rax, 0x38
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x140105f44
cmp dword [rsp + 0x24], 0
jne 0x140105f44
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
and eax, 0x200
test eax, eax
je 0x140105f3f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x1e8]
and rax, rcx
test rax, rax
je 0x140105f3f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x98]
mov rdi, rax
mov rsi, qword [rsp + 0x380]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
jmp 0x140105bbd
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x40], rax
jae 0x140105e4a
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x140105bf5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rax
jmp 0x140105c62
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
cmp dword [rax + 0x1c], ecx
jne 0x140105c5d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xd0], 0x2c
mov dword [rsp + 0xd4], 1
mov dword [rsp + 0xdc], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rax
jmp 0x140105c62
jmp 0x140105baf
xor eax, eax
mov word [rsp + 0x2e8], ax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3f]
cmp eax, 1
jne 0x140105ca1
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.140105480
mov dword [rsp + 0x24], eax
jmp 0x140105cba
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.1401041e0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140105ce2
mov r8, qword [rsp + 0x390]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x98]
call fcn.1401059f0
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0x2e8]
test eax, eax
jne 0x140105d02
xor eax, eax
mov word [rsp + 0x2b0], ax
jmp 0x140105e4a
cmp dword [rsp + 0x50], 0
je 0x140105d2b
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0x2b0]
call fcn.1400ff3e0
mov dword [rsp + 0x50], 0
jmp 0x140105e45
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x320]
call fcn.1400ff3e0
xor eax, eax
mov word [rsp + 0x2b0], ax
mov dword [rsp + 0x20], 0
jmp 0x140105d5e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0x320]
cmp dword [rsp + 0x20], eax
jge 0x140105e45
mov dword [rsp + 0x28], 0
jmp 0x140105d84
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x2e8]
cmp dword [rsp + 0x28], eax
jge 0x140105e40
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movzx edx, word [rsp + rax + 0x2fa]
movzx ecx, word [rsp + rcx + 0x332]
call fcn.14007d0c0
mov word [rsp + 0x38], ax
movsxd rcx, dword [rsp + 0x28]
imul rcx, rcx, 0x10
movsxd rdx, dword [rsp + 0x20]
imul rdx, rdx, 0x10
mov qword [rsp + 0x90], rdx
movzx edx, word [rsp + rcx + 0x2f8]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rsp + rcx + 0x330]
call fcn.14007d0c0
movsxd rcx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
movsxd rdx, dword [rsp + 0x28]
imul rdx, rdx, 0x10
mov rdx, qword [rsp + rdx + 0x2f0]
mov rcx, qword [rsp + rcx + 0x328]
or rcx, rdx
movzx edx, word [rsp + 0x38]
movzx r9d, dx
movzx r8d, ax
mov rdx, rcx
lea rcx, [rsp + 0x2b0]
call fcn.1400ff440
jmp 0x140105d7a
jmp 0x140105d54
jmp 0x140105baf
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x48]
mov qword [rax + rcx], rdx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x2000
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x11], 0
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov r8d, 0x20
xor edx, edx
mov rcx, rax
call fcn.1401557b0
mov dword [rsp + 0x20], 0
jmp 0x140105ec0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x140105f3f
movzx eax, word [rsp + 0x2b0]
cmp dword [rsp + 0x20], eax
jge 0x140105f3f
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
movsx eax, word [rsp + rax + 0x2c0]
inc eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
movzx eax, word [rsp + rax + 0x2c2]
mov word [rcx + 0x16], ax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + rax + 0x2b8]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x380]
call fcn.1401026d0
mov dword [rsp + 0x24], eax
jmp 0x140105eb6
jmp 0x140105ada
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.140154660
add rsp, 0x368
pop rdi
pop rsi
ret