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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0xd8], rax
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.140048960
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.14006d0f0
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1400822da
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.140048960
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call fcn.140081ea0
test eax, eax
jne 0x140082a6e
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.14007fab0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.14007fab0
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 0x140082367
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x24]
cmp eax, 2
jne 0x140082367
mov dword [rsp + 0x20], 5
jmp 0x14008236f
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x1400823ad
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400815f0
test eax, eax
jne 0x1400823ad
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400732e0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x1400823dc
cmp dword [rsp + 0x20], 0
jne 0x1400823dc
mov rcx, qword [rsp + 0xf0]
call fcn.140081c90
cmp eax, 7
jne 0x1400823dc
mov dword [rsp + 0x20], 7
cmp dword [rsp + 0x20], 0
jne 0x140082430
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x140082430
mov rax, qword [rsp + 0xf0]
add rax, 0x10
mov r8, rax
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.1400732e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140082430
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.140072360
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140072360
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.14007fab0
mov rcx, rax
call fcn.140067100
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x20], 0
jne 0x1400824a5
cmp dword [rsp + 0x48], 5
je 0x140082493
mov rcx, qword [rsp + 0x38]
call fcn.140066760
test eax, eax
je 0x1400824a5
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
je 0x1400824a5
mov dword [rsp + 0x20], 8
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400710b0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x40], 0
jmp 0x1400824ce
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0xf8], 0
jl 0x1400824e9
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x40], eax
jge 0x1400825c4
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x28]
cmp dword [rax + 0x18], ecx
ja 0x1400825c4
cmp dword [rsp + 0x20], 0
jne 0x1400825c4
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 + 0x88], rax
xor edx, edx
mov eax, dword [0x1401d2cc8]
mov rcx, qword [rsp + 0x88]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x44], eax
je 0x1400825a7
mov r9d, 2
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x78]
call fcn.140065470
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400825a7
mov rcx, qword [rsp + 0xc0]
call fcn.1400021b0
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xf0]
call fcn.140081ee0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xc0]
call fcn.140065550
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x18], eax
jmp 0x1400824c4
cmp dword [rsp + 0x20], 0
jne 0x14008262c
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 0x140082611
mov dword [rsp + 0x20], 0x65
jmp 0x14008262c
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x3c], 0
jne 0x14008262c
mov rcx, qword [rsp + 0xf0]
call fcn.140082200
cmp dword [rsp + 0x20], 0x65
jne 0x140082a20
cmp dword [rsp + 0x28], 0
jne 0x14008265b
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140072de0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
cmp dword [rsp + 0x20], 0
je 0x140082669
cmp dword [rsp + 0x20], 0x65
jne 0x140082693
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.14007f820
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400826d9
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1400826b8
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call fcn.1400bffc0
cmp dword [rsp + 0x48], 5
jne 0x1400826d9
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140081930
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140082a20
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x14008274f
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x24]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x4c]
lea eax, [rax + rcx - 1]
cdq
idiv dword [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
xor edx, edx
mov eax, dword [0x1401d2cc8]
mov rcx, qword [rsp + 0x90]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x30], eax
jne 0x14008274d
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x140082765
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 0x1400829d2
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x28]
imul rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x38]
call fcn.140014050
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
call fcn.140062e80
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x1400827be
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x20], 0
jne 0x140082850
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x34], eax
ja 0x140082850
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
xor edx, edx
mov eax, dword [0x1401d2cc8]
mov rcx, qword [rsp + 0x98]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x34], eax
je 0x14008284b
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
call fcn.140065470
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14008284b
mov rcx, qword [rsp + 0xc8]
call fcn.140065e30
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xc8]
call fcn.140065550
jmp 0x1400827b4
cmp dword [rsp + 0x20], 0
jne 0x14008286d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400661c0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x1401d2cc8]
add ecx, eax
mov eax, ecx
cdqe
cmp rax, qword [rsp + 0x68]
jge 0x14008289b
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x1401d2cc8]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x70], rax
jmp 0x1400828a5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x1401d2cc8]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x58], rax
jmp 0x1400828de
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 0x14008299c
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x58], rax
jge 0x14008299c
mov qword [rsp + 0xb8], 0
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
cqo
mov rcx, qword [rsp + 0xa8]
idiv rcx
inc rax
mov dword [rsp + 0x60], eax
xor r9d, r9d
lea r8, [rsp + 0xb8]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
call fcn.140065470
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14008298a
mov rcx, qword [rsp + 0xb8]
call fcn.1400021b0
mov qword [rsp + 0xb0], rax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
call fcn.140047b30
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xb8]
call fcn.140065550
jmp 0x1400828c9
cmp dword [rsp + 0x20], 0
jne 0x1400829b9
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x80]
call fcn.140082190
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400829d0
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400660d0
mov dword [rsp + 0x20], eax
jmp 0x1400829f3
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140062ef0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400661c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140082a20
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.140074440
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140082a20
mov dword [rsp + 0x20], 0x65
cmp dword [rsp + 0x50], 0
je 0x140082a4d
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.1400742c0
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.140074440
cmp dword [rsp + 0x20], 0xc0a
jne 0x140082a5f
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 0x140082a90
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.1400489c0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.14006d210
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.1400489c0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14015c750
add rsp, 0xe8
ret