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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.140007f84
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.140024688
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1400355d8
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.140007f84
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call fcn.1400351f4
test eax, eax
jne 0x140035d71
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400332c8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.1400332c8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x140035668
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x24]
cmp eax, 2
jne 0x140035668
mov dword [rsp + 0x20], 5
jmp 0x140035670
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x1400356ab
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.140034a80
test eax, eax
jne 0x1400356ab
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400292dc
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x1400356da
cmp dword [rsp + 0x20], 0
jne 0x1400356da
mov rcx, qword [rsp + 0xf0]
call fcn.140034fe8
cmp eax, 7
jne 0x1400356da
mov dword [rsp + 0x20], 7
cmp dword [rsp + 0x20], 0
jne 0x140035744
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x140035744
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.1400292dc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035744
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0xf0]
add rax, 0x10
mov r8, rax
mov edx, 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140032f84
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400288d4
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.1400288d4
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.1400332c8
mov rcx, rax
call fcn.14001fb90
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x20], 0
jne 0x1400357ab
cmp dword [rsp + 0x4c], 5
jne 0x1400357ab
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
je 0x1400357ab
mov dword [rsp + 0x20], 8
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400276d4
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x40], 0
jmp 0x1400357d4
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0xf8], 0
jl 0x1400357ef
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x40], eax
jge 0x1400358cd
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x28]
cmp dword [rax + 0x18], ecx
ja 0x1400358cd
cmp dword [rsp + 0x20], 0
jne 0x1400358cd
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov eax, dword [0x1400bb944]
mov rcx, qword [rsp + 0xa8]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x44], eax
je 0x1400358b0
mov r9d, 2
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x90]
call fcn.14001dcc4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400358b0
mov rcx, qword [rsp + 0x80]
call fcn.140001404
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xf0]
call fcn.14003522c
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x80]
call fcn.14001e234
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x18], eax
jmp 0x1400357ca
cmp dword [rsp + 0x20], 0
jne 0x140035935
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x28]
inc eax
mov rcx, qword [rsp + 0xf0]
sub eax, dword [rcx + 0x18]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x28]
cmp dword [rax + 0x18], ecx
jbe 0x14003591a
mov dword [rsp + 0x20], 0x65
jmp 0x140035935
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x3c], 0
jne 0x140035935
mov rcx, qword [rsp + 0xf0]
call fcn.14003551c
cmp dword [rsp + 0x20], 0x65
jne 0x140035d23
cmp dword [rsp + 0x28], 0
jne 0x140035964
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140029294
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
cmp dword [rsp + 0x20], 0
je 0x140035972
cmp dword [rsp + 0x20], 0x65
jne 0x14003599c
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x10]
inc eax
mov r8d, eax
mov edx, 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140033010
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400359e2
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1400359c1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call fcn.1400639b4
cmp dword [rsp + 0x4c], 5
jne 0x1400359e2
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140034d00
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035d23
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x140035a58
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x48]
lea eax, [rax + rcx - 1]
cdq
idiv dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
xor edx, edx
mov eax, dword [0x1400bb944]
mov rcx, qword [rsp + 0xb8]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x30], eax
jne 0x140035a56
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x140035a6e
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x140035cd5
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x28]
imul rax, rcx
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x38]
call fcn.14001f71c
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.14001bf84
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x140035ac4
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x20], 0
jne 0x140035b53
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x34], eax
ja 0x140035b53
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
xor edx, edx
mov eax, dword [0x1400bb944]
mov rcx, qword [rsp + 0xc8]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x34], eax
je 0x140035b4e
xor r9d, r9d
lea r8, [rsp + 0x98]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
call fcn.14001dcc4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035b4e
mov rcx, qword [rsp + 0x98]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x98]
call fcn.14001e234
jmp 0x140035aba
cmp dword [rsp + 0x20], 0
jne 0x140035b70
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14001edd8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x1400bb944]
add ecx, eax
mov eax, ecx
cdqe
cmp rax, qword [rsp + 0x78]
jge 0x140035ba1
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x1400bb944]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x88], rax
jmp 0x140035bae
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x1400bb944]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x58], rax
jmp 0x140035bea
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x20], 0
jne 0x140035c9f
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x58], rax
jge 0x140035c9f
mov qword [rsp + 0x68], 0
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
cqo
mov rcx, qword [rsp + 0xc0]
idiv rcx
inc rax
mov dword [rsp + 0x70], eax
xor r9d, r9d
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call fcn.14001dcc4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035c90
mov rcx, qword [rsp + 0x68]
call fcn.140001404
mov qword [rsp + 0xd0], rax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400073a4
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x68]
call fcn.14001e234
jmp 0x140035bd5
cmp dword [rsp + 0x20], 0
jne 0x140035cbc
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
call fcn.1400354cc
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035cd3
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14001ecfc
mov dword [rsp + 0x20], eax
jmp 0x140035cf6
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.14001bfec
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14001edd8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035d23
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.14002a49c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140035d23
mov dword [rsp + 0x20], 0x65
cmp dword [rsp + 0x50], 0
je 0x140035d50
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.14002a328
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.14002a49c
cmp dword [rsp + 0x20], 0xc0a
jne 0x140035d62
mov dword [rsp + 0x20], 7
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x140035d93
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.140007fd8
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400247a0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.140007fd8
mov eax, dword [rsp + 0x20]
add rsp, 0xe8
ret