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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, dword [rsp + 0x90]
shl rax, 3
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x24], 0
jmp 0x1400357e7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x24], eax
jae 0x140035a1e
mov rcx, qword [rsp + 0x80]
call fcn.1400352e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jb 0x14003585b
mov eax, dword [rsp + 0x20]
sub eax, 5
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140035210
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.14001b7a0
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x140035a19
cmp dword [rsp + 0x20], 1
jne 0x14003587c
mov rcx, qword [rsp + 0x80]
call fcn.140035650
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x140035a19
cmp dword [rsp + 0x20], 0
je 0x14003599f
cmp dword [rsp + 0x20], 4
jne 0x140035898
mov dword [rsp + 0x38], 0x10
jmp 0x1400358b9
cmp dword [rsp + 0x20], 2
jne 0x1400358a9
mov dword [rsp + 0x34], 0xb
jmp 0x1400358b1
mov dword [rsp + 0x34], 0xc
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x20], 4
jne 0x1400358d2
mov dword [rsp + 0x3c], 0x10
jmp 0x1400358da
mov dword [rsp + 0x3c], 8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1400347e0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400352e0
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400352e0
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
mov dword [rdx + rcx + 4], eax
cmp dword [rsp + 0x20], 4
jne 0x14003599d
mov rcx, qword [rsp + 0x80]
call fcn.1400352e0
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x48]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400352e0
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x48]
mov dword [rdx + rcx + 4], eax
jmp 0x140035a19
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x74]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x38]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + 0x28], rax
ja 0x1400359e2
mov edx, 0xbd1
mov rcx, qword [rsp + 0x80]
call fcn.140034e10
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
sub rax, 8
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
movabs rcx, 0x7fffffffffff
mov rax, qword [rax]
and rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x1400357cf
add rsp, 0x78
ret