Function at 0x140045680
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.140074ec0
mov dword [rsp + 0x20], eax
call fcn.1400beb10
mov dword [rsp + 0x68], eax
call fcn.1400beb10
mov dword [rsp + 0x4c], eax
call fcn.1400bb020
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x41]
call fcn.140074ec0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
jne 0x1400456fe
mov eax, dword [rsp + 0x88]
jmp 0x140045991
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x140045748
mov rcx, qword [rsp + 0x80]
call fcn.1401f3ed0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x42]
call fcn.140074ec0
mov dword [rsp + 0x54], eax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x43]
call fcn.140072dd0
jmp 0x140045991
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x1400458dc
call fcn.1400bafd0
cmp dword [rsp + 0x20], eax
jne 0x1400457a5
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 0x1400457a3
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1400457b9
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 0x140045839
mov rcx, qword [rsp + 0x80]
call fcn.1401f3ed0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x44]
call fcn.140074ec0
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 0x140045824
mov eax, dword [rsp + 0x2c]
jmp 0x140045991
mov eax, dword [rsp + 0x24]
inc eax
mov ecx, dword [rsp + 0x28]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1400457c9
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.140045680
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x14004587c
call fcn.1400bafd0
xor edx, edx
div dword [rsp + 0x28]
cmp eax, dword [rsp + 0x30]
jae 0x14004587c
jmp 0x140045756
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 0x1400458a8
jmp 0x140045756
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jbe 0x1400458b7
jmp 0x140045756
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x46]
call fcn.140072dd0
jmp 0x140045991
call fcn.1400bafd0
cmp dword [rsp + 0x24], eax
jne 0x14004592b
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 0x140045929
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14004593f
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.1401f3ed0
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x47]
call fcn.140074ec0
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 0x14004598f
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.140072dd0
jmp 0x140045991
jmp 0x14004593f
add rsp, 0x78
ret