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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140074e90
mov dword [rsp + 0x20], eax
call fcn.1400be9c0
mov dword [rsp + 0x68], eax
call fcn.1400be9c0
mov dword [rsp + 0x4c], eax
call fcn.1400baed0
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x41]
call fcn.140074e90
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
jne 0x1400456ce
mov eax, dword [rsp + 0x88]
jmp 0x140045961
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x140045718
mov rcx, qword [rsp + 0x80]
call fcn.1401f38b0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x42]
call fcn.140074e90
mov dword [rsp + 0x54], eax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x43]
call fcn.140072da0
jmp 0x140045961
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1400458ac
call fcn.1400bae80
cmp dword [rsp + 0x20], eax
jne 0x140045775
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x58], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x58]
div ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x5c], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x5c]
div ecx
mov eax, edx
cmp eax, dword [rsp + 0x24]
jne 0x140045773
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x140045789
mov eax, dword [rsp + 0x20]
inc eax
mov ecx, dword [rsp + 0x24]
inc ecx
xor edx, edx
div ecx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x28], eax
ja 0x140045809
mov rcx, qword [rsp + 0x80]
call fcn.1401f38b0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x44]
call fcn.140074e90
imul eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
sub edx, ecx
mov ecx, edx
inc ecx
cmp eax, ecx
jne 0x1400457f4
mov eax, dword [rsp + 0x2c]
jmp 0x140045961
mov eax, dword [rsp + 0x24]
inc eax
mov ecx, dword [rsp + 0x28]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140045799
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x28]
movzx r9d, byte [rsp + 0x45]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140045650
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x14004584c
call fcn.1400bae80
xor edx, edx
div dword [rsp + 0x28]
cmp eax, dword [rsp + 0x30]
jae 0x14004584c
jmp 0x140045726
mov eax, dword [rsp + 0x30]
imul eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jae 0x140045878
jmp 0x140045726
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jbe 0x140045887
jmp 0x140045726
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x46]
call fcn.140072da0
jmp 0x140045961
call fcn.1400bae80
cmp dword [rsp + 0x24], eax
jne 0x1400458fb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x60], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x60]
div ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x64], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x64]
div ecx
mov eax, edx
cmp eax, dword [rsp + 0x20]
jne 0x1400458f9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14004590f
mov eax, dword [rsp + 0x24]
inc eax
mov ecx, dword [rsp + 0x20]
inc ecx
xor edx, edx
div ecx
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x80]
call fcn.1401f38b0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x47]
call fcn.140074e90
mov dword [rsp + 0x3c], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
div dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
ja 0x14004595f
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.140072da0
jmp 0x140045961
jmp 0x14004590f
add rsp, 0x78
ret