Function at 0x140045670
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.140074ed0
mov dword [rsp + 0x20], eax
call fcn.1400bead0
mov dword [rsp + 0x68], eax
call fcn.1400bead0
mov dword [rsp + 0x4c], eax
call fcn.1400bafe0
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x41]
call fcn.140074ed0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
jne 0x1400456ee
mov eax, dword [rsp + 0x88]
jmp 0x140045981
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x140045738
mov rcx, qword [rsp + 0x80]
call fcn.1401f3600
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x42]
call fcn.140074ed0
mov dword [rsp + 0x54], eax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x43]
call fcn.140072de0
jmp 0x140045981
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1400458cc
call fcn.1400baf90
cmp dword [rsp + 0x20], eax
jne 0x140045795
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 0x140045793
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1400457a9
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 0x140045829
mov rcx, qword [rsp + 0x80]
call fcn.1401f3600
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x44]
call fcn.140074ed0
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 0x140045814
mov eax, dword [rsp + 0x2c]
jmp 0x140045981
mov eax, dword [rsp + 0x24]
inc eax
mov ecx, dword [rsp + 0x28]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1400457b9
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.140045670
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x14004586c
call fcn.1400baf90
xor edx, edx
div dword [rsp + 0x28]
cmp eax, dword [rsp + 0x30]
jae 0x14004586c
jmp 0x140045746
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 0x140045898
jmp 0x140045746
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jbe 0x1400458a7
jmp 0x140045746
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x46]
call fcn.140072de0
jmp 0x140045981
call fcn.1400baf90
cmp dword [rsp + 0x24], eax
jne 0x14004591b
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 0x140045919
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14004592f
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.1401f3600
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x47]
call fcn.140074ed0
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 0x14004597f
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.140072de0
jmp 0x140045981
jmp 0x14004592f
add rsp, 0x78
ret